Modify

Opened 4 years ago

Closed 4 years ago

#21374 closed defect (duplicate)

NPE at org.openstreetmap.josm.plugins.buildings_tools.DrawBuildingAction.lambda$setCursor$1

Reported by: anonymous Owned by: Upliner
Priority: major Milestone:
Component: Plugin buildings_tools Version:
Keywords: template_report Cc: GerdP

Description

What steps will reproduce the problem?

What is the expected result? fix the building plugin

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: 2021-06-02 22:03:39 +0200 (Wed, 02 Jun 2021)
Build-Date:2021-06-02 20:11:30
Revision:17919
Relative:URL: ^/trunk

Identification: JOSM/1.5 (17919 en) Windows 10 64-Bit
OS Build number: Windows 10 Pro 2009 (19043)
Memory Usage: 563 MB / 1820 MB (205 MB allocated, but free)
Java version: 1.8.0_301-b09, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920×1200 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1200
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1252
System property sun.jnu.encoding: Cp1252
Locale info: en_PH
Numbers with default locale: 1234567890 -> 1234567890

Plugins:
+ BuildingGeneralization (36)
+ apache-commons (35524)
+ buildings_tools (35818)
+ ejml (35458)
+ geotools (35458)
+ imagery_offset_db (35640)
+ jaxb (35543)
+ jts (35458)
+ opendata (35803)
+ turnrestrictions (35640)
+ utilsplugin2 (35792)

Last errors/warnings:
- 00005.485 W: Unable to request certificate of https://roottest-g3.pkioverheid.nl
- 00005.769 W: Unable to request certificate of https://roottest-g3.pkioverheid.nl
- 01537.159 E: java.lang.IllegalStateException: JOSM expected to find primitive [way -104522] in dataset but it is not there. Please report this at https://josm.openstreetmap.de. This is not a critical error, it should be safe to continue in your work.
- 03330.036 E: Failed to locate image '[[Image(pond.png)]]'
- 03330.045 E: Failed to locate image '[[Image(oil-palm.png)]]'
- 03783.958 E: Handled by bug report queue: java.lang.NullPointerException
- 04481.432 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.plugins.buildings_tools.DrawBuildingAction.lambda$setCursor$1(DrawBuildingAction.java:114)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)

Attachments (0)

Change History (3)

comment:1 by skyper, 4 years ago

Cc: GerdP added
Component: CorePlugin buildings_tools
Owner: changed from team to Upliner
Summary: building pluginNPE at org.openstreetmap.josm.plugins.buildings_tools.DrawBuildingAction.lambda$setCursor$1

regression of r35818/osm ?

comment:2 by GerdP, 4 years ago

I don't see how my changes could cause this or make it more likely to happen.
Without any hint how to reproduce we have to wait if this happens more often...

comment:3 by skyper, 4 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #20856.
Right it happened before your change.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Upliner.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.