Modify

Opened 10 months ago

Closed 7 weeks ago

#17309 closed defect (fixed)

NPE at IndoorHelperController.unsetSpecificKeyFilter

Reported by: anonymous Owned by: rebsc
Priority: normal Milestone:
Component: Plugin ​indoorhelper Version:
Keywords: template_report Cc:

Description (last modified by Don-vip)

What steps will reproduce the problem?

  1. Crash at upload to OSM

What is the expected result?

What happens instead?

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

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2019-02-02 21:01:18 +0100 (Sat, 02 Feb 2019)
Build-Date:2019-02-04 21:50:11
Revision:14760
Relative:URL: ^/trunk

Identification: JOSM/1.5 (14760 fr) Mac OS X 10.14.3
OS Build number: Mac OS X 10.14.3 (18D109)
Memory Usage: 487 MB / 1820 MB (151 MB allocated, but free)
Java version: 1.8.0_201-b09, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: Display 459110631 3360x1772
Maximum Screen Size: 3360x1772
VM arguments: [-Djava.security.policy=file:<java.home>/lib/security/javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>/bin, -Djava.security.manager, -Djnlpx.origFilenameArg=${HOME}/Library/Application Support/Oracle/Java/Deployment/cache/6.0/56/1ee8cfb8-432cec6d, -Djnlpx.remove=false, -Dsun.awt.warmup=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.heapsize=NULL,2048m, -Dmacosx.jnlpx.dock.name=JOSM, -Dmacosx.jnlpx.dock.icon=${HOME}/Library/Application Support/Oracle/Java/Deployment/cache/6.0/25/4c122699-1862d110.icns, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp , -Djnlpx.jvm="<java.home>/bin/java"]
Dataset consistency test: No problems found

Plugins:
+ Mapillary (v1.5.17)
+ PicLayer (34867)
+ apache-commons (34506)
+ apache-http (34632)
+ buildings_tools (34867)
+ geojson (116)
+ imagery_offset_db (34867)
+ indoorhelper (34867)
+ jaxb (34678)
+ jna (34867)
+ jogl (1.2.2)
+ kendzi3d-resources (0.0.2)
+ log4j (34527)
+ utilsplugin2 (34867)

Map paint styles:
+ <josm.userdata>/styles/sit.mapcss

Last errors/warnings:
- W: java.io.IOException: Attribution is not loaded yet
- W: java.io.IOException: Attribution is not loaded yet
- W: java.io.IOException: Attribution is not loaded yet
- W: java.io.IOException: Attribution is not loaded yet
- W: java.io.IOException: Attribution is not loaded yet
- W: java.io.IOException: Attribution is not loaded yet
- W: Region [WMTS_BLOCK_v2] Resetting cache
- W: Trying to unset readOnly flag on a non-readOnly dataset 
- E: Thread main-worker-0 raised java.lang.NullPointerException
- E: Handled by bug report queue: java.lang.NullPointerException


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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: main-worker-0 (81)
java.lang.NullPointerException
	at controller.IndoorHelperController.unsetSpecificKeyFilter(IndoorHelperController.java:573)
	at org.openstreetmap.josm.plugins.indoorhelper.IndoorHelperPlugin.paintableInvalidated(IndoorHelperPlugin.java:128)
	at org.openstreetmap.josm.gui.layer.AbstractMapViewPaintable.invalidate(AbstractMapViewPaintable.java:89)
	at org.openstreetmap.josm.gui.layer.OsmDataLayer.processDatasetEvent(OsmDataLayer.java:1086)
	at org.openstreetmap.josm.data.osm.event.DataSetListenerAdapter.otherDatasetChange(DataSetListenerAdapter.java:71)
	at org.openstreetmap.josm.data.osm.event.ChangesetIdChangedEvent.fire(ChangesetIdChangedEvent.java:34)
	at org.openstreetmap.josm.data.osm.DataSet.fireEventToListeners(DataSet.java:932)
	at org.openstreetmap.josm.data.osm.DataSet.endUpdate(DataSet.java:912)
	at org.openstreetmap.josm.io.DiffResultProcessor.postProcess(DiffResultProcessor.java:159)
	at org.openstreetmap.josm.io.OsmApi.uploadDiff(OsmApi.java:582)
	at org.openstreetmap.josm.io.OsmServerWriter.uploadChangesAsDiffUpload(OsmServerWriter.java:135)
	at org.openstreetmap.josm.io.OsmServerWriter.uploadOsm(OsmServerWriter.java:211)
	at org.openstreetmap.josm.gui.io.UploadPrimitivesTask.realRun(UploadPrimitivesTask.java:261)
	at org.openstreetmap.josm.gui.io.AsynchronousUploadPrimitivesTask.realRun(AsynchronousUploadPrimitivesTask.java:129)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:95)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:143)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

Attachments (0)

Change History (3)

comment:1 Changed 10 months ago by Don-vip

Component: CorePlugin ​indoorhelper
Description: modified (diff)
Owner: changed from team to rebsc
Summary: Crash at upload to OSMNPE at IndoorHelperController.unsetSpecificKeyFilter

comment:2 Changed 4 months ago by rebsc

Is anyone able to reproduce the problem? I would like to fix and test it but can't reproduce the error.

comment:3 Changed 7 weeks ago by Don-vip

Resolution: fixed
Status: newclosed

Fixed in [o35200:35201].

Modify Ticket

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