gtsh commented on issue #6647: URL: https://github.com/apache/netbeans/issues/6647#issuecomment-2153116366
@neilcsmith-net Sure can do. In the meantime, you might take a look at the log snippets I attached. Some context: I experienced this first with Sonoma 14.4.1, Netbeans 21 and JDK Temurin-22.0.0, but like Philip moved on to Sonoma 14.5, Netbenas 22, Temurin-22.0.1+8. In an attempt to get closer to the source of the problem, I placed the following additional parameters into the etc/netbeans.conf: ``` netbeans_default_options=" -J-XshowSettings:all -J-XX:ErrorFile=/Users/<redacted>/Netbeans -J-XX:HeapDumpPath=/Users/<redacted>/Netbeans/HeapDump -J-Duser.language=en -J-Duser.country=US. <remaining default options> ``` in the hopes to have a potential heap dump in a place where I know that I have write permissions. I also called the shell script 'netbeans' directly from a wrapper, redirecting the output into a file sysout.txt. From this I got the only hint so far: In the majority of cases, I have something like this: at the end ``` 2024-06-05 00:43:09.471 java[22544:404143] *** WARNING: References to Carbon menus are disallowed with AppKit menu system on macOS 14 and newer. Use instances of NSMenu and NSMenuItem directly instead. See https://developer.apple.com/documentation/macos-release-notes/appkit-release-notes-for-macos-14#Menus 2024-06-06 02:06:45.780 java[22544:404143] +[NSXPCSharedListener endpointForReply:withListenerName:replyErrorCode:]: an error occurred while attempting to obtain endpoint for listener 'ClientCallsAuxiliary': Connection interrupted 2024-06-06 02:06:45.783 java[22544:404143] HIToolbox: received notification of WindowServer event port death. 2024-06-06 02:06:45.783 java[22544:404143] port matched the WindowServer port created in BindCGSToRunLoop [logdump_2024-06-05-00-30.zip](https://github.com/user-attachments/files/15672201/logdump_2024-06-05-00-30.zip) [logdump_2024-06-05-00-36.zip](https://github.com/user-attachments/files/15672207/logdump_2024-06-05-00-36.zip) [logdump_2024-06-05-00-43.zip](https://github.com/user-attachments/files/15672208/logdump_2024-06-05-00-43.zip) ``` P.S: Maybe we should move this to a separate, new Issue. As it seems to be different problem P.P.S: that -jdkhome althought not set at all, gets passed on '' doesn't look right, but the JDK still gets picked all right, because Jenv was configured to set it as MacOS default. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
