-
-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NSWindow warning: adding an unknown subview #273
Labels
Comments
I have the same problem |
Thanks for the report. This is definitely not an issue in Tauri, but in WRY. Am transferring. |
Duplicate issue of #297 |
I have the same problem- with an additional crash reported in the logs after the warning: Crash Log*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[15]'
*** First throw call stack:
(
0 CoreFoundation 0x00007ff803259f0b __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007ff802fbab9d objc_exception_throw + 48
2 CoreFoundation 0x00007ff803315434 _CFThrowFormattedException + 202
3 CoreFoundation 0x00007ff80331fca1 -[__NSPlaceholderDictionary initWithCapacity:].cold.1 + 0
4 CoreFoundation 0x00007ff803168f12 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 251
5 CoreFoundation 0x00007ff803168dfd +[NSDictionary dictionaryWithObjects:forKeys:count:] + 49
6 VisionKitCore 0x00007ffb129bea31 -[VKAnalyticsAnalyzerEvent coreAnalyticsDictionary] + 1292
7 VisionKitCore 0x00007ffb12981fec -[VKAnalyticsProcessor processAndSendEvent:] + 96
8 VisionKitCore 0x00007ffb12978426 __69-[VKImageAnalyzer _processRequest:progressHandler:completionHandler:]_block_invoke_2 + 1254
9 libdispatch.dylib 0x00007ff802f5fad8 _dispatch_call_block_and_release + 12
10 libdispatch.dylib 0x00007ff802f60cc9 _dispatch_client_callout + 8
11 libdispatch.dylib 0x00007ff802f66cee _dispatch_lane_serial_drain + 696
12 libdispatch.dylib 0x00007ff802f677c8 _dispatch_lane_invoke + 366
13 libdispatch.dylib 0x00007ff802f717e1 _dispatch_workloop_worker_thread + 758
14 libsystem_pthread.dylib 0x00007ff803114074 _pthread_wqthread + 326
15 libsystem_pthread.dylib 0x00007ff803112ffb start_wqthread + 15
)
libc++abi: terminating with uncaught exception of type NSException |
Still hitting this on MacOS Monterey 12.4 |
spwilson2
pushed a commit
to spwilson2/wry
that referenced
this issue
Aug 6, 2022
Previously, we would just inject the webview into the contentView of the NSWindow. When devtools would inject the subView into this top-level content view, a warning would be displayed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Getting this error when opening devtools on macOS. The app doesn't crash. When resizing, the screen goes white.
To Reproduce
I only opened the devtools, not sure what else would contribute to this.
Platform and Versions (please complete the following information):
Error log
The text was updated successfully, but these errors were encountered: