Modify

Opened 4 years ago

Last modified 4 years ago

#21273 new defect

kendzi3d: 'NSWindow drag regions should only be invalidated on the Main Thread!'

Reported by: jcbecker17@… Owned by: kendzi
Priority: normal Milestone:
Component: Plugin kendzi3d Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Open JOSM
  2. Load .osm or .pbf file
  3. Click on kendzi3d

What is the expected result?

I expect the kendzi3d window to open, and for a 3D rendering of the OSM data to be visible.

What happens instead?

JOSM immediately quits.

Please provide any additional information below. Attach a screenshot if possible.

Revision:18118
Build-Date:2021-08-02 19:18:35

Identification: JOSM/1.5 (18118 en) Mac OS X 10.15.7
OS Build number: Mac OS X 10.15.7 (19H1323)
Memory Usage: 226 MB / 2048 MB (43 MB allocated, but free)
Java version: 16.0.2+7, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.apple.laf.AquaLookAndFeel
Screen: Display 722474445 1600×900 (scaling 1.00×1.00) Display 69677248 1280×800 (scaling 1.00×1.00)
Maximum Screen Size: 1600×900
Best cursor sizes: 16×16→16×16, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=18118, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=/Applications/JOSM.app/Contents/MacOS/JOSM]

Plugins:
+ CADTools (1008)
+ ColorPlugin (1537115529)
+ EasyPresets (1623509627)
+ MakeParallel (v1.1.0)
+ PicLayer (1.0.1)
+ QuickLabel (18)
+ auto_tools (81)
+ buildings_tools (35756)
+ centernode (v1.0.4)
+ gridify (1606242219)
+ jaxb (35543)
+ jna (35662)
+ jogl (1.2.3)
+ kendzi3d (1.0.205)
+ kendzi3d-resources (0.0.2)
+ log4j (35458)
+ pbf (35720)
+ shrinkwrap (v1.0.4)
+ tagging-preset-tester (35640)
+ todo (30306)
+ utilsplugin2 (35792)

Tagging presets:
+ https://github.com/kendzi/Simple3dBuildingsPreset/releases/download/0.9_2018-05-08/s3db-preset.zip
+ https://josm.openstreetmap.de/josmfile?page=Presets/BuildingPreset&zip=1
+ <josm.userdata>/EasyPresets.xml
+ ${HOME}/Documents/Work/Geopipe/Presets/custom_building_part.xml

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/SimpleBuildingTags&zip=1
+ ${HOME}/Documents/Work/Geopipe/JOSM Customizations/Geopipe_style.mapcss

Last errors/warnings:
- 00018.918 E: java.nio.file.NoSuchFileException: ${HOME}/Documents/Work/Geopipe/Presets/custom_building_part.xml
- 00018.920 E: ${HOME}/Documents/Work/Geopipe/Presets/custom_building_part.xml

Attachments (0)

Change History (2)

comment:1 by taylor.smock, 4 years ago

Component: CorePlugin kendzi3d
Owner: changed from team to kendzi

comment:2 by taylor.smock, 4 years ago

Summary: kendzi3d crashes JOSMkendzi3d: 'NSWindow drag regions should only be invalidated on the Main Thread!'

I was able to reproduce.

2021-08-31 11:29:40.139 INFO: Reassigning macOS shortcut 'core_multikey:hidingFilter' from Meta to Ctrl because of conflict with ⌘+⌥+H
2021-08-31 11:29:40.139 INFO: Silent shortcut conflict: 'core_multikey:hidingFilter' moved by 'system:hideothers' to '⌃+⌥+H'.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by jogamp.opengl.awt.Java2D$2 (file:/Users/tsmock/Library/JOSM/plugins/jogl/lib/jogl-2.3.2/jogl-all-2.3.2.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-08-31 11:29:56.186 java[85897:2360901] *** 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                      0x00007fff2062a83b __exceptionPreprocess + 242
	1   libobjc.A.dylib                     0x00007fff20362d92 objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff20652f36 -[NSException raise] + 9
	3   AppKit                              0x00007fff22de0eb2 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 321
	4   AppKit                              0x00007fff22dcbaa2 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1296
	5   AppKit                              0x00007fff22dcb58b -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42
	6   libnativewindow_macosx.jnilib       0x00000001665fb3fe Java_jogamp_nativewindow_macosx_OSXUtil_CreateNSWindow0 + 398
	7   ???                                 0x0000000111716a10 0x0 + 4587612688
)
libc++abi: terminating with uncaught exception of type NSException
[1]    85897 abort      java -jar dist/josm-custom.jar

Looks like someone already reported it on GitHub.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain kendzi.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from kendzi to the specified user.
Next status will be 'needinfo'. The owner will be changed from kendzi to jcbecker17@….
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from kendzi to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.