Modify

Opened 9 days ago

Closed 8 days ago

#19612 closed defect (fixed)

NPE when running RenderingCLI

Reported by: simon04 Owned by: simon04
Priority: normal Milestone: 20.08
Component: Core Version:
Keywords: cli regression Cc:

Description

$ java -jar /usr/share/java/josm/josm.jar render
Exception in thread "main" java.lang.NullPointerException
	at org.openstreetmap.josm.tools.HttpClient.create(HttpClient.java:539)
	at org.openstreetmap.josm.tools.HttpClient.create(HttpClient.java:528)
	at org.openstreetmap.josm.io.CachedFile.checkLocal(CachedFile.java:491)
	at org.openstreetmap.josm.io.CachedFile.getFile(CachedFile.java:284)
	at org.openstreetmap.josm.io.CachedFile.getInputStream(CachedFile.java:227)
	at org.openstreetmap.josm.tools.Territories.initializeExternalData(Territories.java:196)
	at org.openstreetmap.josm.tools.Territories.initializeExternalData(Territories.java:190)
	at org.openstreetmap.josm.tools.Territories.initialize(Territories.java:124)
	at org.openstreetmap.josm.gui.mappaint.RenderingCLI.initialize(RenderingCLI.java:441)
	at org.openstreetmap.josm.gui.mappaint.RenderingCLI.processArguments(RenderingCLI.java:158)
	at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:707)

Likely a regression of r15229 in combination with r15876.

Attachments (0)

Change History (1)

comment:1 Changed 8 days ago by simon04

Resolution: fixed
Status: assignedclosed

In 16814/josm:

fix #19612 - NPE when running RenderingCLI

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain simon04.
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.