2018-10-30 08:34:49.306 java[2498:19668] WARNING: NSWindow drag regions should only be invalidated on the Main Thread! This will throw an exception in the future. Called from (
0 AppKit 0x00007fff46f922e3 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 386
1 AppKit 0x00007fff46f8f68c -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1488
2 AppKit 0x00007fff46f8f0b6 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 45
3 libnativewindow_macosx.jnilib 0x00000001281213fe Java_jogamp_nativewindow_macosx_OSXUtil_CreateNSWindow0 + 398
4 ??? 0x000000010d21d9d4 0x0 + 4515289556
)
2018-10-30 08:34:50.642 java[2498:19668] pid(2498)/euid(501) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!!
The following post appears to describe the problem. Is this a known problem with JaamSim ?
https://discourse.libsdl.org/t/crash-on-macos-10-14-mojave-with-sdl-showmessagebox/25100
I forgot to mention that I also did the following, to try and eliminate other possible culprits:
- Installed the latest Java "1.8.0_191"
- Installed the latest Eclipse SimRel 2018-09
Thanks for looking into it.
Scott
Hello Harry,
Has there been any update around this issue?
Thanks,
JV
Hi there
Nobody did contact me AFAIK, however,
since I prepare for next releases I saw this
_upcoming_ issue for the next OSX release
and added a bug report:
https://jogamp.org/bugzilla/show_bug.cgi?id=1370
Yes, the WARNING appears on OSX 10.14 but it will become
a hard issue only thereafter as they stated in their message.
JogAmp [Roadmap] Update
=========================
Feature Overview
https://jogamp.org/wiki/index.php/SW_Tracking_Report_Feature_Objectives_Overview
TBD (To Be Determined)
https://jogamp.org/wiki/index.php/SW_Tracking_Report_Objectives_undetermined_release
2.4.0
https://jogamp.org/wiki/index.php/SW_Tracking_Report_Objectives_for_the_release_2.4.0
2.5.0
https://jogamp.org/wiki/index.php/SW_Tracking_Report_Objectives_for_the_release_2.5.0
3.0.0
https://jogamp.org/wiki/index.php/SW_Tracking_Report_Objectives_for_the_release_3.0.0
```
2020-10-13 12:58:23.425 java[20124:1221854] Apple AWT Internal Exception: NSWindow drag regions should only be invalidated on the Main Thread!
2020-10-13 12:58:23.425 java[20124:1221854] *** 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 0x00007fff338dbb57 __exceptionPreprocess + 250
1 libobjc.A.dylib 0x00007fff6c7245bf objc_exception_throw + 48
2 CoreFoundation 0x00007fff3390434c -[NSException raise] + 9
3 AppKit 0x00007fff30afe5ec -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 310
4 AppKit 0x00007fff30ae6052 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1416
5 AppKit 0x00007fff30ae5ac3 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42
6 libnativewindow_macosx.jnilib 0x0000000160074f9e Java_jogamp_nativewindow_macosx_OSXUtil_CreateNSWindow0 + 398
7 ??? 0x00000001193b9407 0x0 + 4718302215
)
libc++abi.dylib: terminating with uncaught exception of type NSException
```
I cant seem to din a solution for this anywhere else! Any information would really help. Thank you.