Modify

Opened 7 weeks ago

Closed 7 weeks ago

Last modified 7 weeks ago

#16339 closed defect (fixed)

NPE at DrawAction.addHighlighting (while removing 5 map layers)

Reported by: mpasha Owned by: team
Priority: normal Milestone: 18.06
Component: Core Version: latest
Keywords: template_report Cc:

Description

Error removing 5 map layers, 4 substrates left

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

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2018-05-31 00:51:20 +0200 (Thu, 31 May 2018)
Revision:13878
Build-Date:2018-05-30 22:58:01
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (13878 ru) Windows 10 64-Bit
OS Build number: Windows 10 Enterprise 2016 LTSB 1607 (14393)
Memory Usage: 247 MB / 1024 MB (41 MB allocated, but free)
Java version: 10.0.1+10, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1366x768
Maximum Screen Size: 1366x768
VM arguments: [-Djosm.home=<josm.pref>]
Program arguments: [D:\Programs\JOSM_Portable\Session\default1.jos]

Plugins:
+ BuildingGeneralization (23)
+ DirectDownload (34109)
+ DirectUpload (34109)
+ FastDraw (34109)
+ HouseNumberTaggingTool (34109)
+ Mapillary (v1.5.14+post13733)
+ OpeningHoursEditor (34095)
+ apache-commons (34109)
+ apache-http (34109)
+ buildings_tools (34212)
+ continuosDownload (68)
+ contourmerge (1032)
+ ejml (34126)
+ eventbus (34109)
+ geotools (34125)
+ gson (34038)
+ imagery_offset_db (34209)
+ jogl (1.1.0)
+ jts (34038)
+ kendzi3d-resources (0.0.1)
+ livegps (34038)
+ log4j (34038)
+ merge-overlap (34109)
+ namemanager (34109)
+ osm-obj-info (1509723997)
+ photoadjust (34109)
+ reltoolbox (34212)
+ surveyor (34109)
+ tag2link (34109)
+ tageditor (34109)
+ utilsplugin2 (34221)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/NewTags&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Towers&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Quick-stops&zip=1
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/UA.zip
+ https://josm.openstreetmap.de/josmfile?page=Presets/Manholes&zip=1

Map paint styles:
- https://github.com/GlassOceanos/indoor-JOSM-style/archive/master.zip
- D:\GitHub\-= JOSM =-\Map Styles\Test\potlatch2.mapcss
+ https://pasharm.github.io/New_basic_style_for_JOSM/New_basic_style.mapcss
- D:\GitHub\-= JOSM =-\Map Styles\Test\elemstyles standart JOSM.mapcss
- D:\GitHub\New_basic_style_for_JOSM\New_basic_style.mapcss
- D:\GitHub\Ones test style JOSM\Ones test.mapcss

Validator rules:
- <josm.pref>\validator\indoorhelper.validator.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
- E: Handled by bug report queue: java.lang.NullPointerException
- E: Handled by bug report queue: java.lang.NullPointerException
- E: Handled by bug report queue: java.lang.NullPointerException
- E: Handled by bug report queue: java.lang.NullPointerException
- E: Handled by bug report queue: 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: AWT-EventQueue-0 (20) of main
java.lang.NullPointerException
	at org.openstreetmap.josm.actions.mapmode.DrawAction.addHighlighting(DrawAction.java:1184)
	at org.openstreetmap.josm.actions.mapmode.DrawAction.lambda$selectionChanged$4(DrawAction.java:398)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue.access$600(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

Attachments (0)

Change History (3)

comment:1 Changed 7 weeks ago by Don-vip

Summary: Error removing 5 map layersNPE at DrawAction.addHighlighting (while removing 5 map layers)

comment:2 Changed 7 weeks ago by Don-vip

Resolution: fixed
Status: newclosed

In 13882/josm:

fix #16339 - fix NPE

comment:3 Changed 7 weeks ago by Don-vip

Milestone: 18.06

Modify Ticket

Change Properties
Set your email in Preferences
Action
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.