Login  Register

Re: HelloJava3D Run-Error

Posted by therealcalle on Nov 14, 2019; 1:44pm
URL: https://forum.jogamp.org/HelloJava3D-Run-Error-tp4040142p4040144.html

I've tried with you example using PyramidExample but I had a crash and this error:





Process:               java [1686]
Path:                  /Library/Java/JavaVirtualMachines/jdk-13.0.1.jdk/Contents/Home/bin/java
Identifier:            net.java.openjdk.cmd
Version:               1.0 (1.0)
Code Type:             X86-64 (Native)
Parent Process:        eclipse [1124]
Responsible:           eclipse [1124]
User ID:               501

Date/Time:             2019-11-14 14:38:47.819 +0100
OS Version:            Mac OS X 10.15.1 (19B88)
Report Version:        12
Bridge OS Version:     4.1 (17P1081)
Anonymous UUID:        3E7C03B3-C12E-788C-373C-E2DB7623BAEC

Sleep/Wake UUID:       53838450-A037-4342-BC2F-C8835C94E15E

Time Awake Since Boot: 11000 seconds
Time Since Wake:       2000 seconds

System Integrity Protection: enabled

Crashed Thread:        2

Exception Type:        EXC_BAD_ACCESS (SIGABRT)
Exception Codes:       KERN_PROTECTION_FAILURE at 0x00000001043d5008
Exception Note:        EXC_CORPSE_NOTIFY

VM Regions Near 0x1043d5008:
    shared memory          00000001043d4000-00000001043d5000 [    4K] r--/r-- SM=SHM  
--> VM_ALLOCATE            00000001043d5000-00000001043d6000 [    4K] ---/rwx SM=NUL  
    VM_ALLOCATE            00000001043d6000-00000001043d7000 [    4K] r--/rwx SM=PRV  

Application Specific Information:
abort() called
terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!'






Also Eclipse return:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by javax.media.j3d.JoglPipeline (file:/Users/albicallegari/eclipse-workspace/piram/src/j3d/j3dcore.jar) to method sun.awt.AppContext.getAppContext()
WARNING: Please consider reporting this to the maintainers of javax.media.j3d.JoglPipeline
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
2019-11-14 14:38:47.816 java[1686:93417] *** 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                      0x00007fff33d0bf53 __exceptionPreprocess + 250
        1   libobjc.A.dylib                     0x00007fff69dd1835 objc_exception_throw + 48
        2   CoreFoundation                      0x00007fff33d2652c -[NSException raise] + 9
        3   AppKit                              0x00007fff30eda6b2 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 310
        4   AppKit                              0x00007fff30ed7bc1 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1416
        5   AppKit                              0x00007fff30ed7633 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42
        6   libnativewindow_macosx.jnilib       0x000000010c5c43fe Java_jogamp_nativewindow_macosx_OSXUtil_CreateNSWindow0 + 398
        7   ???                                 0x0000000115352c90 0x0 + 4650773648
)
libc++abi.dylib: terminating with uncaught exception of type NSException