Trying to run the nC binary on Big Sur, nC crashes when attempting to display or edit cells. To reproduce, simply open nC, create new project, add example cells, and attempt to view morphology.
I'm not a java expert, so I don't know what's going on, but this seems to be the relevant bit (I copy the entire output below):
'NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!'
** First throw call stack:
(
0 CoreFoundation 0x00007fff204f26af __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007fff2022a3c9 objc_exception_throw + 48
2 CoreFoundation 0x00007fff2051aa9a -[NSException raise] + 9
3 AppKit 0x00007fff22cbe8a0 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 321
4 AppKit 0x00007fff22ca9561 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1375
5 AppKit 0x00007fff22ca8ffb -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42
6 libnativewindow_macosx.jnilib 0x000000016ab3c77e Java_jogamp_nativewindow_macosx_OSXUtil_CreateNSWindow0 + 382
7 ??? 0x0000000118bed3f0 0x0 + 4710126576
)
libc++abi.dylib: terminating with uncaught exception of type NSException
nC.sh: line 24: 8383 Abort trap: 6 java -Xmx$NC_MAX_MEMORY -classpath $CLASSPATH -Djava.library.path=$JAVA_LIBRARY_PATH ucl.physiol.neuroconstruct.gui.MainApplication $
Running neuroConstruct from: /Users/m/Sync/Projects/Code/neuroConstruct with max Java heap size of 450M
neuroConstruct v1.7.1 starting...
To start application with extra memory, see nC.sh in the neuroConstruct home directory.
2021-01-28 11:33:40.921 java[8383:77354] JavaNativeFoundation: GetGlobalVM: Failed to locate @rpath/libjvm.dylib for JNI_GetCreatedJavaVMs(). A JVM must be loaded before calling this function.
2021-01-28 11:33:40.925 java[8383:77354] JavaNativeFoundation: GetGlobalVM: Failed to locate @rpath/libjvm.dylib for JNI_GetCreatedJavaVMs(). A JVM must be loaded before calling this function.
2021-01-28 11:34:53.715 java[8383:77354] JavaNativeFoundation: GetGlobalVM: Failed to locate @rpath/libjvm.dylib for JNI_GetCreatedJavaVMs(). A JVM must be loaded before calling this function.
2021-01-28 11:34:53.721 java[8383:77354] JavaNativeFoundation: GetGlobalVM: Failed to locate @rpath/libjvm.dylib for JNI_GetCreatedJavaVMs(). A JVM must be loaded before calling this function.
2021-01-28 11:34:56.054 java[8383:77354] JavaNativeFoundation: GetGlobalVM: Failed to locate @rpath/libjvm.dylib for JNI_GetCreatedJavaVMs(). A JVM must be loaded before calling this function.
2021-01-28 11:34:56.060 java[8383:77354] JavaNativeFoundation: GetGlobalVM: Failed to locate @rpath/libjvm.dylib for JNI_GetCreatedJavaVMs(). A JVM must be loaded before calling this function.
11:35:01.033> Project : >>>>> Saving the project...
11:35:01.034> Project : >>>>> Saved backup file to: /Users/m/Sync/Projects/Experiments/Olive/model/IONML/IO_cells/IO_cells.ncx.bak
11:35:01.201> Project : <<<<< Finished saving the project to: /Users/m/Sync/Projects/Experiments/Olive/model/IONML/IO_cells/IO_cells.ncx...
2021-01-28 11:35:11.537 java[8383:77354] JavaNativeFoundation: GetGlobalVM: Failed to locate @rpath/libjvm.dylib for JNI_GetCreatedJavaVMs(). A JVM must be loaded before calling this function.
3D [dev] 1.6.0-pre9-daily-experimental daily
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by jogamp.opengl.awt.Java2D$2 (file:/Users/m/Sync/Projects/Code/neuroConstruct/lib/j3d/jogl-all.jar) to field sun.java2d.opengl.OGLUtilities.UNDEFINED
WARNING: Please consider reporting this to the maintainers of jogamp.opengl.awt.Java2D$2
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2021-01-28 11:35:12.101 java[8383:77409] Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!'
First throw call stack:
(
0 CoreFoundation 0x00007fff204f26af __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007fff2022a3c9 objc_exception_throw + 48
2 CoreFoundation 0x00007fff2051aa9a -[NSException raise] + 9
3 AppKit 0x00007fff22cbe8a0 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 321
4 AppKit 0x00007fff22ca9561 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1375
5 AppKit 0x00007fff22ca8ffb -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42
6 libnativewindow_macosx.jnilib 0x000000016ab3c77e Java_jogamp_nativewindow_macosx_OSXUtil_CreateNSWindow0 + 382
7 ??? 0x0000000118bed3f0 0x0 + 4710126576
)
libc++abi.dylib: terminating with uncaught exception of type NSException
nC.sh: line 24: 8383 Abort trap: 6 java -Xmx$NC_MAX_MEMORY -classpath $CLASSPATH -Djava.library.path=$JAVA_LIBRARY_PATH ucl.physiol.neuroconstruct.gui.MainApplication $*
Trying to run the nC binary on Big Sur, nC crashes when attempting to display or edit cells. To reproduce, simply open nC, create new project, add example cells, and attempt to view morphology.
I'm not a java expert, so I don't know what's going on, but this seems to be the relevant bit (I copy the entire output below):
'NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!' ** First throw call stack: ( 0 CoreFoundation 0x00007fff204f26af __exceptionPreprocess + 242 1 libobjc.A.dylib 0x00007fff2022a3c9 objc_exception_throw + 48 2 CoreFoundation 0x00007fff2051aa9a -[NSException raise] + 9 3 AppKit 0x00007fff22cbe8a0 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 321 4 AppKit 0x00007fff22ca9561 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1375 5 AppKit 0x00007fff22ca8ffb -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42 6 libnativewindow_macosx.jnilib 0x000000016ab3c77e Java_jogamp_nativewindow_macosx_OSXUtil_CreateNSWindow0 + 382 7 ??? 0x0000000118bed3f0 0x0 + 4710126576 ) libc++abi.dylib: terminating with uncaught exception of type NSException nC.sh: line 24: 8383 Abort trap: 6 java -Xmx$NC_MAX_MEMORY -classpath $CLASSPATH -Djava.library.path=$JAVA_LIBRARY_PATH ucl.physiol.neuroconstruct.gui.MainApplication $
Running neuroConstruct from: /Users/m/Sync/Projects/Code/neuroConstruct with max Java heap size of 450M
neuroConstruct v1.7.1 starting... To start application with extra memory, see nC.sh in the neuroConstruct home directory.
2021-01-28 11:33:40.921 java[8383:77354] JavaNativeFoundation: GetGlobalVM: Failed to locate @rpath/libjvm.dylib for JNI_GetCreatedJavaVMs(). A JVM must be loaded before calling this function. 2021-01-28 11:33:40.925 java[8383:77354] JavaNativeFoundation: GetGlobalVM: Failed to locate @rpath/libjvm.dylib for JNI_GetCreatedJavaVMs(). A JVM must be loaded before calling this function. 2021-01-28 11:34:53.715 java[8383:77354] JavaNativeFoundation: GetGlobalVM: Failed to locate @rpath/libjvm.dylib for JNI_GetCreatedJavaVMs(). A JVM must be loaded before calling this function. 2021-01-28 11:34:53.721 java[8383:77354] JavaNativeFoundation: GetGlobalVM: Failed to locate @rpath/libjvm.dylib for JNI_GetCreatedJavaVMs(). A JVM must be loaded before calling this function. 2021-01-28 11:34:56.054 java[8383:77354] JavaNativeFoundation: GetGlobalVM: Failed to locate @rpath/libjvm.dylib for JNI_GetCreatedJavaVMs(). A JVM must be loaded before calling this function. 2021-01-28 11:34:56.060 java[8383:77354] JavaNativeFoundation: GetGlobalVM: Failed to locate @rpath/libjvm.dylib for JNI_GetCreatedJavaVMs(). A JVM must be loaded before calling this function. 11:35:01.033> Project : >>>>> Saving the project... 11:35:01.034> Project : >>>>> Saved backup file to: /Users/m/Sync/Projects/Experiments/Olive/model/IONML/IO_cells/IO_cells.ncx.bak 11:35:01.201> Project : <<<<< Finished saving the project to: /Users/m/Sync/Projects/Experiments/Olive/model/IONML/IO_cells/IO_cells.ncx... 2021-01-28 11:35:11.537 java[8383:77354] JavaNativeFoundation: GetGlobalVM: Failed to locate @rpath/libjvm.dylib for JNI_GetCreatedJavaVMs(). A JVM must be loaded before calling this function. 3D [dev] 1.6.0-pre9-daily-experimental daily
WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by jogamp.opengl.awt.Java2D$2 (file:/Users/m/Sync/Projects/Code/neuroConstruct/lib/j3d/jogl-all.jar) to field sun.java2d.opengl.OGLUtilities.UNDEFINED WARNING: Please consider reporting this to the maintainers of jogamp.opengl.awt.Java2D$2 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 2021-01-28 11:35:12.101 java[8383:77409] Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!' First throw call stack: ( 0 CoreFoundation 0x00007fff204f26af __exceptionPreprocess + 242 1 libobjc.A.dylib 0x00007fff2022a3c9 objc_exception_throw + 48 2 CoreFoundation 0x00007fff2051aa9a -[NSException raise] + 9 3 AppKit 0x00007fff22cbe8a0 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 321 4 AppKit 0x00007fff22ca9561 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1375 5 AppKit 0x00007fff22ca8ffb -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42 6 libnativewindow_macosx.jnilib 0x000000016ab3c77e Java_jogamp_nativewindow_macosx_OSXUtil_CreateNSWindow0 + 382 7 ??? 0x0000000118bed3f0 0x0 + 4710126576 ) libc++abi.dylib: terminating with uncaught exception of type NSException nC.sh: line 24: 8383 Abort trap: 6 java -Xmx$NC_MAX_MEMORY -classpath $CLASSPATH -Djava.library.path=$JAVA_LIBRARY_PATH ucl.physiol.neuroconstruct.gui.MainApplication $*