Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#22296 closed defect (fixed)

NPE on plugin update to beta.17

Reported by: anonymous Owned by: taylor.smock
Priority: normal Milestone:
Component: Plugin mapillary Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

What is the expected result?

What happens instead?

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

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2022-05-29 21:53:52 +0200 (Sun, 29 May 2022)
Revision:18463
Build-Date:2022-05-30 01:30:57
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18463 en) Linux Freedesktop.org 21.08.15 (Flatpak runtime)
Memory Usage: 3514 MB / 3988 MB (1720 MB allocated, but free)
Java version: 17.0.1+12, Flathub, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 3840×2160 (scaling 2.00×2.00) :0.1 1920×1080 (scaling 2.00×2.00)
Maximum Screen Size: 3840×2160
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: en_US.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: GNOME
VM arguments: [--module-path=/app/share/openjfx/lib, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, -Djosm.restart=true, -Djava.net.useSystemProxies=true, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED]
Dataset consistency test: No problems found

Plugins:
+ Mapillary (2.0.0-beta.15)
+ apache-commons (36003)
+ apache-http (35924)
+ auto_tools (81)
+ buildings_tools (35997)
+ imagery_offset_db (35893)
+ jna (36005)
+ mapwithai (1.9.16)
+ utilsplugin2 (35970)

Tagging presets:
+ https://raw.githubusercontent.com/osmlab/name-suggestion-index/main/dist/presets/nsi-josm-presets.min.xml

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Surface&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/MapillaryDetections&zip=1

Last errors/warnings:
- 00027.747 W: Not a single layer for the name 'http://localhost:8080/geoserver/ows?: Mesa County GIS Valleywide 2022 ()': []
- 00027.748 W: Not a single layer for the name 'Mesa County GIS Valleywide 2022 (local)': []
- 00034.230 E: Failed to locate image 'MapWithAI'
- 00090.708 E: Exception raised in EDT: java.lang.reflect.InvocationTargetException. Cause: java.lang.IllegalMonitorStateException: current thread is not owner
- 01535.151 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke "Object.getClass()" because the return value of "javax.swing.JMenuItem.getAction()" is null
- 01556.485 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke "Object.getClass()" because the return value of "javax.swing.JMenuItem.getAction()" is null



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (20) of main
java.lang.NullPointerException: Cannot invoke "Object.getClass()" because the return value of "javax.swing.JMenuItem.getAction()" is null
	at org.openstreetmap.josm.plugins.mapillary.MapillaryPlugin.clearMenues(MapillaryPlugin.java:212)
	at org.openstreetmap.josm.plugins.mapillary.MapillaryPlugin.destroy(MapillaryPlugin.java:194)
	at org.openstreetmap.josm.plugins.PluginHandler.installDownloadedPlugins(PluginHandler.java:1370)
	at org.openstreetmap.josm.plugins.PluginDownloadTask.realRun(PluginDownloadTask.java:184)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:94)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:142)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)

Attachments (0)

Change History (2)

comment:1 by taylor.smock, 3 years ago

Resolution: fixed
Status: newclosed

comment:2 by taylor.smock, 3 years ago

Ticket #22459 has been marked as a duplicate of this ticket.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain taylor.smock.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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