Modify

Opened 6 years ago

Closed 6 years ago

#17180 closed defect (fixed)

NPE when unglueing a node

Reported by: anonymous Owned by: team
Priority: normal Milestone: 19.01
Component: Core Version: latest
Keywords: template_report unglue Cc: simon04

Description (last modified by Don-vip)

What steps will reproduce the problem?

  1. Detach the node.
  2. Cuando despego un nodo de una vía ocurre un error.

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-01-07 03:08:44 +0100 (Mon, 07 Jan 2019)
Build-Date:2019-01-07 02:34:04
Revision:14659
Relative:URL: ^/trunk

Identification: JOSM/1.5 (14659 es) Windows 10 64-Bit
OS Build number: Windows 10 Home 1803 (17134)
Memory Usage: 1167 MB / 1820 MB (773 MB allocated, but free)
Java version: 1.8.0_191-b12, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1600x900
Maximum Screen Size: 1600x900
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:<java.home>\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=%UserProfile%\Downloads\josm-latest.jnlp, -Djnlpx.remove=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.heapsize=NULL,2048m, -Djnlpx.splashport=53758, -Djnlpx.jvm=<java.home>\bin\javaw.exe]
Dataset consistency test: No problems found

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
- W: Region [WMS_BLOCK_v2] Resetting cache
- W: Atención - Imposible fusionar nodos: Habría que eliminar la vía <ul><li>‎Carretera de San Román‎ (2 nodos)</li></ul> que sigue estando usada por <ul><li>route ("Circular 9", 180 miembros, incompleto)</li></ul>
- W: Atención - Imposible fusionar nodos: Habría que eliminar la vía <ul><li>‎Carretera de San Román‎ (2 nodos)</li></ul> que sigue estando usada por <ul><li>route ("Circular 9", 178 miembros, incompleto)</li></ul>
- 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-2 (57) of javawsApplicationThreadGroup
java.lang.NullPointerException
	at org.openstreetmap.josm.gui.dialogs.PropertiesMembershipChoiceDialog.getMemberships(PropertiesMembershipChoiceDialog.java:126)
	at org.openstreetmap.josm.actions.UnGlueAction.unglueOneNodeAtMostOneWay(UnGlueAction.java:221)
	at org.openstreetmap.josm.actions.UnGlueAction.unglue(UnGlueAction.java:112)
	at org.openstreetmap.josm.actions.UnGlueAction.actionPerformed(UnGlueAction.java:79)
	at javax.swing.SwingUtilities.notifyAction(Unknown Source)
	at javax.swing.JComponent.processKeyBinding(Unknown Source)
	at javax.swing.KeyboardManager.fireBinding(Unknown Source)
	at javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source)
	at javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source)
	at javax.swing.JComponent.processKeyBindings(Unknown Source)
	at javax.swing.JComponent.processKeyEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
	at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
	at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
	at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(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.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.awt.EventQueue$4.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 (1)

sample.osm (893 bytes ) - added by GerdP 6 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by Nowaaru, 6 years ago

Summary: When I detach a node on a track happens this error.Cuando despego un nodo de una vía ocurre un error.
Version: latest

by GerdP, 6 years ago

Attachment: sample.osm added

comment:2 by GerdP, 6 years ago

I've attached a simple file to reproduce the problem.

comment:3 by Don-vip, 6 years ago

Description: modified (diff)
Keywords: unglue added
Milestone: 19.01
Summary: Cuando despego un nodo de una vía ocurre un error.NPE when unglueing a node

comment:4 by Don-vip, 6 years ago

Cc: simon04 added

Regression from r14653?

comment:5 by simon04, 6 years ago

Resolution: fixed
Status: newclosed

In 14662/josm:

see #16874 fix #17180 - NPE in UnGlueAction

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. 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.