Opened 5 years ago

Last modified 5 years ago

#20150 closed defect

JOSM tries to load unavailable resource in gridify plugin — at Initial Version

Reported by: wyskoj Owned by: JeroenHoek
Priority: normal Milestone:
Component: Plugin Gridify Version: latest
Keywords: resource gridify github Cc:

Description

What steps will reproduce the problem?

  1. Enable and update gridify plugin.
  2. Select a closed rectangle in a data layer (e.g., a building)
  3. Select More Tools, Gridify

What is the expected result?

The proper gridify dialog opens.

What happens instead?

JOSM throws an exception.

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

https://i.imgur.com/GD6Zj1u.png

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-11-21 14:56:29 +0100 (Sat, 21 Nov 2020)
Build-Date:2020-11-22 02:30:52
Revision:17329
Relative:URL: ^/trunk

Identification: JOSM/1.5 (17329 en) Windows 10 64-Bit
OS Build number: Windows 10 Home 2004 (19041)
Memory Usage: 409 MB / 989 MB (42 MB allocated, but free)
Java version: 1.8.0_261-b12, Oracle Corporation, Java HotSpot(TM) Client VM
Look and Feel: javax.swing.plaf.nimbus.NimbusLookAndFeel
Screen: \Display0 1920x1080 (scaling 1.0x1.0)
Maximum Screen Size: 1920x1080
Best cursor sizes: 16x16 -> 32x32, 32x32 -> 32x32
Dataset consistency test: No problems found

Plugins:
+ AddrInterpolation (35640)
+ BuildingGeneralization (23)
+ CADTools (1008)
+ ColorPlugin (1537115529)
+ Create_grid_of_ways (35640)
+ EasyPresets (1595741614)
+ ElevationProfile (35640)
+ FastDraw (35640)
+ FixAddresses (35640)
+ HouseNumberTaggingTool (35640)
+ ImageWayPoint (35640)
+ ImportImagePlugin (35567)
+ ImproveOsm (202)
+ ImproveWay (29)
+ Mapillary (1.5.27)
+ OpeningHoursEditor (35640)
+ PicLayer (2a9aa7a)
+ PolygonCutOut (v0.7)
+ RelationDissolve (0.2.0)
+ TombPlugin (58)
+ alignways (35640)
+ apache-commons (35524)
+ apache-http (35589)
+ areaselector (368)
+ austriaaddresshelper (1597341117)
+ auto_tools (73)
+ buildings_tools (35640)
+ centernode (v1.0.4)
+ changeset-viewer (22)
+ contourmerge (v0.1.6)
+ damn (0.2.0)
+ editgpx (35562)
+ ejml (35458)
+ geotools (35458)
+ gpsblam (35458)
+ graphview (35640)
+ gridify (1588746833)
+ highwayNameModification (0.0.9)
+ imagery_offset_db (35640)
+ importvec (35567)
+ intersection (0.0.7)
+ javafx-windows (35458)
+ jaxb (35543)
+ jna (35458)
+ jts (35458)
+ log4j (35458)
+ measurement (35640)
+ merge-overlap (35640)
+ michigan_left (35640)
+ opendata (35640)
+ reltoolbox (35640)
+ routing (35640)
+ shrinkwrap (v1.0.4)
+ splinex (35562)
+ tageditor (35640)
+ terracer (35640)
+ todo (30306)
+ turnlanes-tagging (288)
+ turnrestrictions (35640)
+ utilsplugin2 (35640)
+ wikipedia (1.1.4)

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1

Last errors/warnings:
- 00024.331 W: Could not load Mapillary brand image!
- 00120.054 E: Handled by bug report queue: org.openstreetmap.josm.tools.JosmRuntimeException: Fatal: failed to locate image 'ok.png'. This is a serious configuration problem. JOSM will stop working.
- 00124.831 W: Warning - <html>JOSM could not find information about the following plugins:<ul><li>tageditor</li><li>opendata</li><li>alignways</li><li>editgpx</li><li>turnlanes-tagging</li><li>utilsplugin2</li><li>CADTools</li><li>EasyPresets</li><li>intersection</li><li>AddrInterpolation</li><li>centernode</li><li>terracer</li><li>jna</li><li>shrinkwrap</li><li>PicLayer</li><li>contourmerge</li><li>BuildingGeneralization</li><li>ElevationProfile</li><li>ImproveOsm</li><li>Mapillary</li><li>ejml</li><li>ColorPlugin</li><li>ImageWayPoint</li><li>highwayNameModification</li><li>TombPlugin</li><li>RelationDissolve</li><li>ImproveWay</li><li>apache-commons</li><li>reltoolbox</li><li>HouseNumberTaggingTool</li><li>geotools</li><li>javafx-windows</li><li>FixAddresses</li><li>measurement</li><li>jaxb</li><li>routing</li><li>gridify</li><li>PolygonCutOut</li><li>turnrestrictions</li><li>wikipedia</li><li>importvec</li><li>log4j</li><li>auto_tools</li><li>imagery_offset_db</li><li>gpsblam</li><li>Create_grid_of_ways</li><li>jts</li><li>graphview</li><li>splinex</li><li>changeset-viewer</li><li>michigan_left</li><li>FastDraw</li><li>damn</li><li>todo</li><li>ImportImagePlugin</li><li>OpeningHoursEditor</li><li>areaselector</li><li>buildings_tools</li><li>austriaaddresshelper</li><li>apache-http</li><li>merge-overlap</li></ul>The plugins are not going to be loaded.</html>


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (15) of main
org.openstreetmap.josm.tools.JosmRuntimeException: Fatal: failed to locate image 'ok.png'. This is a serious configuration problem. JOSM will stop working.
	at org.openstreetmap.josm.tools.ImageProvider.getResource(ImageProvider.java:717)
	at org.openstreetmap.josm.tools.ImageProvider.get(ImageProvider.java:655)
	at org.openstreetmap.josm.tools.ImageProvider.get(ImageProvider.java:823)
	at org.openstreetmap.josm.gui.ExtendedDialog.setButtonIcons(ExtendedDialog.java:187)
	at nl.jeroenhoek.josm.gridify.ui.GridifySettingsDialog.<init>(GridifySettingsDialog.java:106)
	at nl.jeroenhoek.josm.gridify.GridifyAction.performGridifyAction(GridifyAction.java:106)
	at nl.jeroenhoek.josm.gridify.GridifyAction.actionPerformed(GridifyAction.java:66)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.AbstractButton.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(Unknown Source)
	at javax.swing.JMenuItem.fireMenuDragMouseReleased(Unknown Source)
	at javax.swing.JMenuItem.processMenuDragMouseEvent(Unknown Source)
	at javax.swing.JMenuItem.processMouseEvent(Unknown Source)
	at javax.swing.MenuSelectionManager.processMouseEvent(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
	at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)

Change History (0)

Note: See TracTickets for help on using tickets.