Modify

Opened 17 months ago

Last modified 17 months ago

#19502 reopened defect

Missing “cancel.png” image. Plugins don’t run

Reported by: anonymous Owned by: JeroenHoek
Priority: normal Milestone:
Component: Plugin Gridify Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Try to perform some plugins like Gridify

What is the expected result?

What happens instead?

Error popup message

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

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-06-30 19:13:42 +0200 (Tue, 30 Jun 2020)
Build-Date:2020-07-01 01:30:51
Revision:16731
Relative:URL: ^/trunk

Identification: JOSM/1.5 (16731 es) Mac OS X 10.11.6
OS Build number: Mac OS X 10.11.6 (15G22010)
Memory Usage: 1027 MB / 1820 MB (404 MB allocated, but free)
Java version: 1.8.0_251-b08, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: com.apple.laf.AquaLookAndFeel
Screen: Display 69532532 1680x1050 (scaling 1.0x1.0)
Maximum Screen Size: 1680x1050
Best cursor sizes: 16x16 -> 16x16, 32x32 -> 32x32
VM arguments: [-Djava.security.policy=file:<java.home>/lib/security/javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>/bin, -Djava.security.manager, -Djnlpx.origFilenameArg=${HOME}/Library/Application Support/Oracle/Java/Deployment/cache/6.0/56/1ee8cfb8-2325ed68, -Djnlpx.remove=false, -Dsun.awt.warmup=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.heapsize=NULL,2048m, -Dmacosx.jnlpx.dock.name=JOSM, -Dmacosx.jnlpx.dock.icon=${HOME}/Library/Application Support/Oracle/Java/Deployment/cache/6.0/25/4c122699-32401de7.icns, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp , -Djnlpx.jvm="<java.home>/bin/java"]
Dataset consistency test: No problems found

Plugins:
+ ElevationProfile (35444)
+ FastDraw (35499)
+ ImportImagePlugin (35248)
+ ImproveWay (29)
+ Mapillary (1.5.23)
+ PicLayer (35405)
+ apache-commons (35362)
+ apache-http (35092)
+ buildings_tools (35500)
+ contourmerge (v0.1.6)
+ editgpx (35248)
+ ejml (35313)
+ geotools (35169)
+ gridify (1588746833)
+ javafx-osx (35458)
+ jaxb (35092)
+ jna (35092)
+ jogl (1.2.3)
+ jts (35122)
+ log4j (35092)
+ mbtiles (v2.6.1)
+ opendata (35405)
+ pointInfo (35248)
+ reverter (35499)
+ todo (30306)
+ utilsplugin2 (35487)

Last errors/warnings:
- E: Handled by bug report queue: org.openstreetmap.josm.tools.JosmRuntimeException: Fatal: Fallo al localizar la imagen "cancel.png". Este es un problema serio de configuración. JOSM dejará de trabajar.
- W: Atención - <html>JOSM no ha podido encontrar información sobre los complementos siguientes:<ul><li>ImproveWay</li><li>apache-commons</li><li>geotools</li><li>mbtiles</li><li>opendata</li><li>jaxb</li><li>editgpx</li><li>utilsplugin2</li><li>gridify</li><li>jogl</li><li>jna</li><li>PicLayer</li><li>contourmerge</li><li>log4j</li><li>pointInfo</li><li>javafx-osx</li><li>ElevationProfile</li><li>jts</li><li>Mapillary</li><li>ejml</li><li>reverter</li><li>FastDraw</li><li>todo</li><li>ImportImagePlugin</li><li>buildings_tools</li><li>apache-http</li></ul>Los complementos no serán cargados.</html>
- E: Handled by bug report queue: org.openstreetmap.josm.tools.JosmRuntimeException: Fatal: Fallo al localizar la imagen "cancel.png". Este es un problema serio de configuración. JOSM dejará de trabajar.
- E: Handled by bug report queue: org.openstreetmap.josm.tools.JosmRuntimeException: Fatal: Fallo al localizar la imagen "cancel.png". Este es un problema serio de configuración. JOSM dejará de trabajar.
- W: Atención - <html>JOSM no ha podido encontrar información sobre los complementos siguientes:<ul><li>ImproveWay</li><li>apache-commons</li><li>geotools</li><li>mbtiles</li><li>opendata</li><li>jaxb</li><li>editgpx</li><li>utilsplugin2</li><li>gridify</li><li>jogl</li><li>jna</li><li>PicLayer</li><li>contourmerge</li><li>log4j</li><li>pointInfo</li><li>javafx-osx</li><li>ElevationProfile</li><li>jts</li><li>Mapillary</li><li>ejml</li><li>reverter</li><li>FastDraw</li><li>todo</li><li>ImportImagePlugin</li><li>buildings_tools</li><li>apache-http</li></ul>Los complementos no serán cargados.</html>
- E: Handled by bug report queue: org.openstreetmap.josm.tools.JosmRuntimeException: Fatal: Fallo al localizar la imagen "cancel.png". Este es un problema serio de configuración. JOSM dejará de trabajar.
- W: Atención - <html>JOSM no ha podido encontrar información sobre los complementos siguientes:<ul><li>ImproveWay</li><li>apache-commons</li><li>geotools</li><li>mbtiles</li><li>opendata</li><li>jaxb</li><li>editgpx</li><li>utilsplugin2</li><li>gridify</li><li>jogl</li><li>jna</li><li>PicLayer</li><li>contourmerge</li><li>log4j</li><li>pointInfo</li><li>javafx-osx</li><li>ElevationProfile</li><li>jts</li><li>Mapillary</li><li>ejml</li><li>reverter</li><li>FastDraw</li><li>todo</li><li>ImportImagePlugin</li><li>buildings_tools</li><li>apache-http</li></ul>Los complementos no serán cargados.</html>


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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-2 (53) of javawsApplicationThreadGroup
org.openstreetmap.josm.tools.JosmRuntimeException: Fatal: Fallo al localizar la imagen "cancel.png". Este es un problema serio de configuración. JOSM dejará de trabajar.
	at org.openstreetmap.josm.tools.ImageProvider.getResource(ImageProvider.java:706)
	at org.openstreetmap.josm.tools.ImageProvider.get(ImageProvider.java:666)
	at org.openstreetmap.josm.tools.ImageProvider.get(ImageProvider.java:812)
	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(AbstractButton.java:2022)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
	at com.apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:125)
	at java.awt.MenuItem.processActionEvent(MenuItem.java:669)
	at java.awt.MenuItem.processEvent(MenuItem.java:628)
	at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:357)
	at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:345)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:763)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
	at java.awt.EventQueue$4.run(EventQueue.java:733)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Attachments (2)

Captura de pantalla 2020-07-07 a las 21.01.55.png (64.6 KB) - added by anonymous 17 months ago.
Captura de pantalla 2020-07-08 a las 19.07.00.png (152.8 KB) - added by anonymous 17 months ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 17 months ago by skyper

Component: CorePlugin Gridify
Owner: changed from team to JeroenHoek
Resolution: duplicate
Status: newclosed

Closed as duplicate of #19487.
Please, update your plugins.

comment:2 Changed 17 months ago by JeroenHoek

Already done when I first encountered this issue myself by chance.

Please, update your plugins.

Please notify plugin authors in advance. don-vip did this neatly with the removal of OsmPrimitive.getFilteredList. This helps prevent nasty crashes for users.

comment:3 Changed 17 months ago by stoecker

Please notify plugin authors in advance.

PNG to SVG transition is going for serveral years now. Using extensions in image access is deprecated much longer.

comment:4 in reply to:  2 Changed 17 months ago by stoecker

Replying to JeroenHoek:

don-vip did this neatly with the removal of OsmPrimitive.getFilteredList.

Plugins stored in main SVN are modified and released by JOSM core members in case it is required. If you want to benefit from this store your plugin there. If not, follow josm-latest yourself. Vincent did (and probably does again) a lot of additional work which I'm not willing to do.

comment:5 in reply to:  2 Changed 17 months ago by Klumbumbus

Replying to JeroenHoek:

Already done when I first encountered this issue myself by chance.

Please, update your plugins.

The comment of skyper was meant towards the anonym reporter of this ticket, not you.

comment:6 Changed 17 months ago by anonymous

All my plugins are updated. Error still persists.

comment:7 Changed 17 months ago by anonymous

Resolution: duplicate
Status: closedreopened

comment:8 in reply to:  6 Changed 17 months ago by stoecker

Replying to anonym:

All my plugins are updated. Error still persists.

EXACTLY the SAME error? Other plugins may have the same issue. This line of code seems to be reused a lot.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as reopened The owner will remain JeroenHoek.
as The resolution will be set.
to The owner will be changed from JeroenHoek to the specified user.
The owner will change to anonymous
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.