Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#22459 closed defect (duplicate)

NPE on plugin update to beta.17

Reported by: VLD195 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.

Revision:18543
Build-Date:2022-08-30 13:39:31

Identification: JOSM/1.5 (18543 en) Mac OS X 12.6
OS Build number: macOS 12.6 (21G115)
Memory Usage: 406 MB / 2048 MB (65 MB allocated, but free)
Java version: 17.0.4+8-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.apple.laf.AquaLookAndFeel
Screen: Display 1 1440×900 (scaling 2.00×2.00) Display 2 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
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=18543, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --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=/private/var/folders/f5/s9b0bf1s3kv47p77lbcy8ctw0000gn/T/AppTranslocation/41584288-AC29-485B-8E0E-04633DE56424/d/JOSM.app/Contents/MacOS/JOSM]

Plugins:
+ ImportImagePlugin (36013)
+ Mapillary (2.0.0-beta.17)
+ apache-commons (36003)
+ apache-http (35924)
+ auto_tools (81)
+ buildings_tools (36011)
+ changessum (v0.1.1)
+ ejml (35924)
+ flatlaf (35862)
+ geotools (36015)
+ graphview (36011)
+ jackson (36006)
+ jaxb (35952)
+ jna (36005)
+ jts (36004)
+ log4j (36007)
+ mapwithai (1.9.17)
+ mapwithai (1665506803)
+ markseen (14)
+ measurement (35978)
+ opendata (36011)
+ osm-obj-info (66)
+ reverter (36011)
+ undelete (36011)
+ utilsplugin2 (36011)

Tagging presets:
+ ${HOME}/Downloads/FB_presets.max.xml

Map paint styles:
- ${HOME}/Downloads/FB_style-3.mapcss
+ ${HOME}/Downloads/FB_style.mapcss
+ ${HOME}/Downloads/rainbow_roads.mapcss
+ ${HOME}/Downloads/SneffelsGEM_D.mapcss
+ https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1

Validator rules:
+ ${HOME}/Downloads/FB_rules5.14.validator.mapcss
+ ${HOME}/Downloads/FB_rules5.14.validator.mapcss

Last errors/warnings:
- 00015.667 W: Mappaint style "standard" (Sneffles GEM) icon "" not found.
- 00018.077 E: Skipping to the next rule, because of an error:
- 00018.082 E: org.openstreetmap.josm.gui.mappaint.mapcss.parsergen.ParseException: Encountered " "{" "{ "" at line 18, column 130.
- 00018.163 E: Skipping to the next rule, because of an error:
- 00018.163 E: org.openstreetmap.josm.gui.mappaint.mapcss.parsergen.ParseException: Encountered " "{" "{ "" at line 18, column 130.
- 00024.529 E: Failed to locate image 'MapWithAI'
- 00079.352 E: Failed to locate image 'MapWithAI'
- 00079.500 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke "Object.getClass()" because the return value of "javax.swing.JMenuItem.getAction()" is null
- 00112.175 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke "Object.getClass()" because the return value of "javax.swing.JMenuItem.getAction()" is null
- 00128.549 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 (24) 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:216)
	at org.openstreetmap.josm.plugins.mapillary.MapillaryPlugin.destroy(MapillaryPlugin.java:198)
	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(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

Attachments (1)

Screen Shot 2022-10-20 at 10.07.57 AM.png (50.5 KB ) - added by allyson@… 3 years ago.

Download all attachments as: .zip

Change History (4)

by allyson@…, 3 years ago

comment:1 by Klumbumbus, 3 years ago

Component: CorePlugin mapillary
Owner: changed from team to taylor.smock

comment:2 by taylor.smock, 3 years ago

Resolution: duplicate
Status: newclosed
Summary: mapillary bugNullPointerException:

Closed as duplicate of #22296.
Fixed in e13b8806d8ce8ba6a71e8a774fb12281659fe356. Rather unfortunately, everyone doing an update will hit this issue.

comment:3 by taylor.smock, 3 years ago

Summary: NullPointerException:NPE on plugin update to beta.17

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.