Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#3735 closed defect (duplicate)

JOSM crashes when deleting a node (not in general)

Reported by: public@… Owned by: team
Priority: normal Milestone:
Component: unspecified Version: latest
Keywords: Cc:

Description

JOSM crashed while deleting a node in a building. To be exact, I split the building, created the path between the two nodes and forgot to attach the path to the building. While trying to delete an unneeded node (building was a rectangle), JOSM crashed. I use Linux Ubuntu 9.10 (Karmic) beta, with (I believe at least) very latest JOSM (r2293).

Here's the output:

Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 2293
Node Kind: directory
Last Changed Author: jttt
Last Changed Rev: 2293
Last Changed Date: 2009-10-17 00:56:08 +0200 (Sat, 17 Oct 2009)

Memory Usage: 270 MB / 851 MB (14 MB allocated, but free)
Java version: 1.6.0_0

Plugins: czechaddressosmarender
Plugin czechaddress Version: 17857
Plugin osmarender Version: 18108

java.lang.NullPointerException

at org.openstreetmap.josm.data.osm.visitor.MapPaintVisitor.visit(MapPaintVisitor.java:189)
at org.openstreetmap.josm.data.osm.Way.visit(Way.java:129)
at org.openstreetmap.josm.data.osm.visitor.MapPaintVisitor.visitAll(MapPaintVisitor.java:1443)
at org.openstreetmap.josm.gui.layer.OsmDataLayer.paint(OsmDataLayer.java:249)
at org.openstreetmap.josm.gui.MapView.paint(MapView.java:362)
at javax.swing.JComponent.paintChildren(JComponent.java:875)
at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1042)
at javax.swing.JComponent.paint(JComponent.java:1047)
at javax.swing.JComponent.paintChildren(JComponent.java:875)
at javax.swing.JComponent.paint(JComponent.java:1047)
at javax.swing.JComponent.paintChildren(JComponent.java:875)
at javax.swing.JComponent.paint(JComponent.java:1047)
at javax.swing.JComponent.paintChildren(JComponent.java:875)
at javax.swing.JComponent.paint(JComponent.java:1047)
at javax.swing.JComponent.paintChildren(JComponent.java:875)
at javax.swing.JComponent.paint(JComponent.java:1047)
at javax.swing.JLayeredPane.paint(JLayeredPane.java:581)
at javax.swing.JComponent.paintChildren(JComponent.java:875)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5154)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1411)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1342)
at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:318)
at javax.swing.RepaintManager.paint(RepaintManager.java:1145)
at javax.swing.JComponent.paint(JComponent.java:1024)
at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39)
at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:78)
at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:115)
at java.awt.Container.paint(Container.java:1844)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:751)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:696)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:676)
at javax.swing.RepaintManager.access$700(RepaintManager.java:57)
at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1550)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:602)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

Attachments (0)

Change History (4)

comment:1 by jttt, 15 years ago

Resolution: duplicate
Status: newclosed

It's probably duplicate of #3728, but I'm not completely sure. Please retest with version > 2299

comment:2 by anonymous, 15 years ago

Closed as duplicate of #3728.

comment:3 by Stanislaw Gackowski <public@…>, 15 years ago

I'm not sure it's a duplicate, as JOSM crashed when deleting a node not undoing it. In r2300 it doesn't crash, but simply deletes the paths connected to the node (as it should be).

comment:4 by jttt, 15 years ago

It's related - josm crashed when undoing addition of node - so basically when deleting.

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.