Opened 3 years ago

Closed 3 years ago

#17481 closed defect (fixed)

NPE at AbstractTileSourceLayer.getVisibleTileSet

Reported by: anonymous Owned by: team
Priority: normal Milestone: 19.03
Component: Core imagery Version: latest
Keywords: template_report Cc:


What steps will reproduce the problem?

  1. Open OpenStreetCam layer (opens automatically on my setup)
  2. Open Bing imagery
  3. Close OSC and then Bing imagery

What is the expected result?

Bing imagery goes away and JOSM returns to welcome screen

What happens instead?

Exception. Probably only sporadically.

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

Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2019-03-03 00:16:03 +0100 (Sun, 03 Mar 2019)
Build-Date:2019-03-02 23:16:53
Relative:URL: ^/trunk

Identification: JOSM/1.5 (14824 en) Linux Ubuntu 18.10
Memory Usage: 892 MB / 1820 MB (122 MB allocated, but free)
Java version: 1.8.0_201-b09, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: :0.0 1680x1050
Maximum Screen Size: 1680x1050
VM arguments: [${JAVA_HOME}/jre/lib/security/javaws.policy, -DtrustProxy=true, -Djnlpx.home=${JAVA_HOME}/jre/bin,, -Djnlpx.origFilenameArg=${HOME}/.java/deployment/cache/6.0/56/1ee8cfb8-2f914bf0, -Djnlpx.remove=false, -Dsun.awt.warmup=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.heapsize=NULL,2048m, -Djnlpx.splashport=40317, -Djnlp.application.href=, -Djnlpx.jvm=${JAVA_HOME}/jre/bin/java]

+ OpenStreetCam (184)
+ buildings_tools (34904)
+ utilsplugin2 (34867)

Map paint styles:

Last errors/warnings:
- W: Attribution is not loaded yet
- W: Attribution is not loaded yet
- W: Attribution is not loaded yet
- W: Attribution is not loaded yet
- W: Attribution is not loaded yet
- W: Attribution is not loaded yet
- W: Attribution is not loaded yet
- W: Attribution is not loaded yet
- W: Attribution is not loaded yet
- E: Handled by bug report queue: java.lang.NullPointerException

No data collected.

Warning issued by: BugReportExceptionHandler#handleException

Thread: AWT-EventQueue-2 (56) of javawsApplicationThreadGroup
	at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.getVisibleTileSet(
	at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.loadAllErrorTiles(
	at org.openstreetmap.josm.gui.layer.TMSLayer.lambda$getTileSource$0(
	at java.awt.event.InvocationEvent.dispatch(
	at java.awt.EventQueue.dispatchEventImpl(
	at java.awt.EventQueue.access$500(
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue.dispatchEvent(
	at java.awt.EventDispatchThread.pumpOneEventForFilters(
	at java.awt.EventDispatchThread.pumpEventsForFilter(
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(
	at java.awt.EventDispatchThread.pumpEvents(
	at java.awt.EventDispatchThread.pumpEvents(

Attachments (0)

Change History (2)

comment:1 Changed 3 years ago by Don-vip

Component: CoreCore imagery
Milestone: 19.03
Priority: minornormal
Summary: JOSM Exception when deleting Bing imagery layerNPE at AbstractTileSourceLayer.getVisibleTileSet

comment:2 Changed 3 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 14902/josm:

fix #17481 - NPE

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.