Opened 3 years ago

Closed 3 years ago

#15898 closed defect (fixed)

NPE at RestartAction.getCommands

Reported by: Zian Owned by: team
Priority: normal Milestone: 18.02
Component: Core Version:
Keywords: template_report Cc:


What steps will reproduce the problem?

  1. Launch JOSM from the Start menu

What is the expected result?

JOSM should start and show the main window.

What happens instead?

I got the Report a Bug dialog.

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

Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2018-01-28 23:08:56 +0100 (Sun, 28 Jan 2018)
Build-Date:2018-01-28 22:25:44
Relative:URL: ^/trunk

Identification: JOSM/1.5 (13367 en) Windows 7 64-Bit
OS Build number: Windows 7 Ultimate (7601)
Memory Usage: 590 MB / 1751 MB (296 MB allocated, but free)
Java version: 1.8.0_162-b12, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1600x900, \Display1 1080x1920
Maximum Screen Size: 1600x1920
VM arguments: [, -Djnlp.application.href=, -Djava.util.Arrays.useLegacyMergeSort=true, --add-modules=java.activation,, --add-exports=java.base/, --add-exports=java.base/, --add-exports=java.desktop/, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED,, --add-exports=jdk.deploy/com.sun.deploy.config=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=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, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.home=C:\Program Files\Java\jre-9.0.4, -Djnlpx.remove=false, -Djnlpx.offline=false, -Djnlpx.relaunch=true,\AppData\Local\Temp\session15958746287723477156, -Djnlpx.heapsize=NULL,NULL, -DtrustProxy=true, -Djnlpx.origFilenameArg=%UserProfile%\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\56\1ee8cfb8-36f47514, exit]

+ ElevationProfile (33815)
+ InfoMode (33722)
+ Mapillary (v1.5.10)
+ OpeningHoursEditor (33876)
+ apache-commons (33668)
+ apache-http (32699)
+ buildings_tools (34040)
+ imagery_offset_db (33774)
+ measurement (33760)
+ scoutsigns (116)
+ utilsplugin2 (33991)

Map paint styles:

Last errors/warnings:
- E: Handled by bug report queue: java.lang.NullPointerException
- W: The requested URL was not found
- W: Failed to load Mappaint styles from ''. Exception was: The requested URL was not found
- E: The requested URL was not found
- W: Initializing map style completed in 192 ms (1 errors, 0 warnings)
- W: No configuration settings found.  Using hardcoded default values for all pools.

No data collected.

Warning issued by: BugReportExceptionHandler#handleException

Thread: IPv6-checker (39)
	at org.openstreetmap.josm.actions.RestartAction.getCommands(
	at org.openstreetmap.josm.actions.RestartAction.restartJOSM(
	at org.openstreetmap.josm.gui.MainApplication.lambda$checkIPv6$20(
	at Source)

Attachments (1)

JOSM Screenshot.png (95.3 KB) - added by Zian 3 years ago.
Screenshot of the JOSM Report a Bug dialog

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by Zian

Attachment: JOSM Screenshot.png added

Screenshot of the JOSM Report a Bug dialog

comment:1 Changed 3 years ago by Don-vip

Milestone: 18.02
Summary: JOSM Crashes on StartupNPE at RestartAction.getCommands

comment:2 Changed 3 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 13393/josm:

fix #15898 - robustness when property cannot be retrieved

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.