tcMenu: [macOS 14 JDK issue] Cannot open any project
Hi @davetcc just noticed that on Mac M1 OS 14.1.1 I can no longer open any project. It’s like any window other than the main is blocked.
To reproduce, just open TC Menu Designer v 4.1.2 go to File->Open and then nothing happens. Same with File->Save Project As and so forth.
I had a look on the Console and this is what I see:
error 16:15:57.589430+0000 tcMenuDesigner Java Exception
error 16:15:57.590523+0000 tcMenuDesigner (
0 CoreFoundation 0x00007ff810841aae __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007ff8103385ff objc_exception_throw + 48
2 CoreFoundation 0x00007ff81084194e +[NSException raise:format:] + 206
3 CoreFoundation 0x00007ff8107c4ef6 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 137
4 CoreFoundation 0x00007ff810854cac ___CFXRegistrationPost_block_invoke + 86
5 CoreFoundation 0x00007ff810854bfd _CFXRegistrationPost + 530
6 CoreFoundation 0x00007ff810794e49 _CFXNotificationPost + 826
7 Foundation 0x00007ff81167622e -[NSNotificationCenter postNotificationName:object:userInfo:] + 82
8 AppKit 0x00007ff813ed464b -[NSApplication _handleDeactivateEvent:] + 925
9 AppKit 0x00007ff814631d9d -[NSApplication(NSEventRouting) sendEvent:] + 2305
10 AppKit 0x00007ff8141f20df -[NSApplication _handleEvent:] + 65
11 AppKit 0x00007ff813d30e1f -[NSApplication run] + 640
12 libglass.dylib 0x0000000135241037 -[GlassApplication runLoop:] + 1895
13 Foundation 0x00007ff8116e9ca5 __NSThreadPerformPerform + 178
14 CoreFoundation 0x00007ff8107cfa16 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
15 CoreFoundation 0x00007ff8107cf9b9 __CFRunLoopDoSource0 + 157
16 CoreFoundation 0x00007ff8107cf788 __CFRunLoopDoSources0 + 215
17 CoreFoundation 0x00007ff8107ce3f8 __CFRunLoopRun + 919
18 CoreFoundation 0x00007ff8107cda99 CFRunLoopRunSpecific + 557
19 libjli.dylib 0x000000010901dba2 CreateExecutionEnvironment + 402
20 libjli.dylib 0x00000001090196a7 JLI_Launch + 1543
21 tcMenuDesigner 0x0000000100a8257a jvmLauncherStartJvm + 298
22 tcMenuDesigner 0x0000000100a80b22 _ZN3Jvm6launchEv + 850
23 tcMenuDesigner 0x0000000100a840f1 _ZN12_GLOBAL__N_115initJvmLauncherEv + 2337
24 tcMenuDesigner 0x0000000100a87c51 _ZN3app6launchERKSt9nothrow_tPFvvEP11LogAppender + 257
25 dyld 0x0000000200c003a6 start + 1942
)
error 16:15:57.649899+0000 ContextStoreAgent Simulating crash. Reason: <private>
error 16:15:57.650868+0000 ContextStoreAgent Simulating crash. Reason: <private>
error 16:15:57.660726+0000 WindowServer Clearing datagram buffer for cid 0x7a793. Client state: Data count: 16384 connectionIsUnresponsive: 0 clientMayIgnoreEvents: 1 clientIsSuspended: 0
Can you reproduce at all? Hopefully Apple didn’t break it with the last update!
About this issue
- Original URL
- State: closed
- Created 8 months ago
- Comments: 18 (13 by maintainers)
For CLI see https://www.thecoderscorner.com/products/arduino-libraries/tc-menu/tcmenu-cli-workflow/.
Basically, first setup terminal to path in the tcmenu command as in the link above, then use
tcmenu guiin the directory with the emf, it will start with that project loaded.I think there is already a JDK 21 critical patch, but I don’t think it includes a fix for this, I need to check and work out if it is fixed yet.
Open menus from the CLI until it is fixed. See the documentation on the CLI.