Modify

Opened 13 years ago

Closed 13 years ago

#4587 closed defect (irreproducible)

Crash while adding a rather long way (71 nodes so far)

Reported by: boris59 Owned by: boris59
Priority: normal Milestone:
Component: Core Version: latest
Keywords: Cc:

Description

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2010-02-20 02:31:54
Last Changed Author: jttt
Revision: 3026
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2010-02-19 22:20:02 +0100 (Fri, 19 Feb 2010)
Last Changed Rev: 3026

Memory Usage: 89 MB / 989 MB (43 MB allocated, but free)
Java version: 1.6.0_18, Sun Microsystems Inc., Java HotSpot(TM) Client VM
Operating system: Windows Vista

Dataset consistency test:
[DELETED REFERENCED] {Way id=-3 version=0 MVD nodes=[{Node id=-1 version=0 MVD lat=9.969414675847504E-7,lon=1.788052905828984E-6}, {Node id=-2 version=0 MVD lat=1.6873432399162628E-6,lon=-0.00999239692301373}, {Node id=-4 version=0 MVD lat=3.951522457398316E-6,lon=-0.09999593523235531}]} refers to deleted primitive {Node id=-1 version=0 MVD lat=9.969414675847504E-7,lon=1.788052905828984E-6}
[DELETED REFERENCED] {Way id=-3 version=0 MVD nodes=[{Node id=-1 version=0 MVD lat=9.969414675847504E-7,lon=1.788052905828984E-6}, {Node id=-2 version=0 MVD lat=1.6873432399162628E-6,lon=-0.00999239692301373}, {Node id=-4 version=0 MVD lat=3.951522457398316E-6,lon=-0.09999593523235531}]} refers to deleted primitive {Node id=-2 version=0 MVD lat=1.6873432399162628E-6,lon=-0.00999239692301373}
[DELETED REFERENCED] {Way id=-3 version=0 MVD nodes=[{Node id=-1 version=0 MVD lat=9.969414675847504E-7,lon=1.788052905828984E-6}, {Node id=-2 version=0 MVD lat=1.6873432399162628E-6,lon=-0.00999239692301373}, {Node id=-4 version=0 MVD lat=3.951522457398316E-6,lon=-0.09999593523235531}]} refers to deleted primitive {Node id=-4 version=0 MVD lat=3.951522457398316E-6,lon=-0.09999593523235531}
[DELETED REFERENCED] {Way id=-8 version=0 MVD nodes=[{Node id=-6 version=0 MVD lat=1.2560617365890104E-6,lon=1.8530893885159936E-6}, {Node id=-7 version=0 MVD lat=2.419889522130115E-6,lon=-9.999995648386928}]} refers to deleted primitive {Node id=-6 version=0 MVD lat=1.2560617365890104E-6,lon=1.8530893885159936E-6}
[DELETED REFERENCED] {Way id=-8 version=0 MVD nodes=[{Node id=-6 version=0 MVD lat=1.2560617365890104E-6,lon=1.8530893885159936E-6}, {Node id=-7 version=0 MVD lat=2.419889522130115E-6,lon=-9.999995648386928}]} refers to deleted primitive {Node id=-7 version=0 MVD lat=2.419889522130115E-6,lon=-9.999995648386928}
[DELETED REFERENCED] {Way id=-376 version=0 MVD nodes=[{Node id=-373 version=0 MVD lat=0.061193303576718996,lon=-0.13360590167703257}, {Node id=-522 version=0 MVD lat=0.06120057747184039,lon=-0.1334824206641961}]} refers to deleted primitive {Node id=-373 version=0 MVD lat=0.061193303576718996,lon=-0.13360590167703257}
[DELETED REFERENCED] {Way id=-376 version=0 MVD nodes=[{Node id=-373 version=0 MVD lat=0.061193303576718996,lon=-0.13360590167703257}, {Node id=-522 version=0 MVD lat=0.06120057747184039,lon=-0.1334824206641961}]} refers to deleted primitive {Node id=-522 version=0 MVD lat=0.06120057747184039,lon=-0.1334824206641961}
[DELETED REFERENCED] {Way id=-523 version=0 MVD nodes=[{Node id=-365 version=0 MVD lat=0.06115874210950438,lon=-0.13361910169823116}, {Node id=-522 version=0 MVD lat=0.06120057747184039,lon=-0.1334824206641961}]} refers to deleted primitive {Node id=-365 version=0 MVD lat=0.06115874210950438,lon=-0.13361910169823116}
[DELETED REFERENCED] {Way id=-523 version=0 MVD nodes=[{Node id=-365 version=0 MVD lat=0.06115874210950438,lon=-0.13361910169823116}, {Node id=-522 version=0 MVD lat=0.06120057747184039,lon=-0.1334824206641961}]} refers to deleted primitive {Node id=-522 version=0 MVD lat=0.06120057747184039,lon=-0.1334824206641961}
[DELETED REFERENCED] {Way id=-366 version=0 MVD nodes=[{Node id=-357 version=0 V lat=0.061051462475367496,lon=-0.13379151549400575}, {Node id=-365 version=0 MVD lat=0.06115874210950438,lon=-0.13361910169823116}, {Node id=-373 version=0 MVD lat=0.061193303576718996,lon=-0.13360590167703257}, {Node id=-369 version=0 MVD lat=0.061262190327937754,lon=-0.1336152702805473}, {Node id=-371 version=0 MVD lat=0.06131199872933338,lon=-0.13367274154580547}]} refers to deleted primitive {Node id=-365 version=0 MVD lat=0.06115874210950438,lon=-0.13361910169823116}
[DELETED REFERENCED] {Way id=-366 version=0 MVD nodes=[{Node id=-357 version=0 V lat=0.061051462475367496,lon=-0.13379151549400575}, {Node id=-365 version=0 MVD lat=0.06115874210950438,lon=-0.13361910169823116}, {Node id=-373 version=0 MVD lat=0.061193303576718996,lon=-0.13360590167703257}, {Node id=-369 version=0 MVD lat=0.061262190327937754,lon=-0.1336152702805473}, {Node id=-371 version=0 MVD lat=0.06131199872933338,lon=-0.13367274154580547}]} refers to deleted primitive {Node id=-373 version=0 MVD lat=0.061193303576718996,lon=-0.13360590167703257}
[DELETED REFERENCED] {Way id=-366 version=0 MVD nodes=[{Node id=-357 version=0 V lat=0.061051462475367496,lon=-0.13379151549400575}, {Node id=-365 version=0 MVD lat=0.06115874210950438,lon=-0.13361910169823116}, {Node id=-373 version=0 MVD lat=0.061193303576718996,lon=-0.13360590167703257}, {Node id=-369 version=0 MVD lat=0.061262190327937754,lon=-0.1336152702805473}, {Node id=-371 version=0 MVD lat=0.06131199872933338,lon=-0.13367274154580547}]} refers to deleted primitive {Node id=-369 version=0 MVD lat=0.061262190327937754,lon=-0.1336152702805473}
[DELETED REFERENCED] {Way id=-366 version=0 MVD nodes=[{Node id=-357 version=0 V lat=0.061051462475367496,lon=-0.13379151549400575}, {Node id=-365 version=0 MVD lat=0.06115874210950438,lon=-0.13361910169823116}, {Node id=-373 version=0 MVD lat=0.061193303576718996,lon=-0.13360590167703257}, {Node id=-369 version=0 MVD lat=0.061262190327937754,lon=-0.1336152702805473}, {Node id=-371 version=0 MVD lat=0.06131199872933338,lon=-0.13367274154580547}]} refers to deleted primitive {Node id=-371 version=0 MVD lat=0.06131199872933338,lon=-0.13367274154580547}
[DELETED REFERENCED] {Way id=-18 version=0 MVD nodes=[{Node id=-17 version=0 MVD lat=8.923587150272955E-7,lon=-0.028106610170318038}, {Node id=-19 version=0 MVD lat=0.03211668166071994,lon=-0.028107998554427284}]} refers to deleted primitive {Node id=-17 version=0 MVD lat=8.923587150272955E-7,lon=-0.028106610170318038}
[DELETED REFERENCED] {Way id=-18 version=0 MVD nodes=[{Node id=-17 version=0 MVD lat=8.923587150272955E-7,lon=-0.028106610170318038}, {Node id=-19 version=0 MVD lat=0.03211668166071994,lon=-0.028107998554427284}]} refers to deleted primitive {Node id=-19 version=0 MVD lat=0.03211668166071994,lon=-0.028107998554427284}

Plugins: PicLayer,lakewalker,measurement,osmarender,wmsplugin
Plugin wmsplugin Version: 19992
Plugin PicLayer Version: 19467
Plugin lakewalker Version: 19624
Plugin osmarender Version: 19419
Plugin measurement Version: 19681

java.lang.NullPointerException

at org.openstreetmap.josm.actions.mapmode.DrawAction.computeHelperLine(DrawAction.java:743)
at org.openstreetmap.josm.actions.mapmode.DrawAction.selectionChanged(DrawAction.java:264)
at org.openstreetmap.josm.data.osm.DataSet.fireSelectionChanged(DataSet.java:296)
at org.openstreetmap.josm.data.osm.DataSet.addSelected(DataSet.java:456)
at org.openstreetmap.josm.data.osm.DataSet.setSelected(DataSet.java:401)
at org.openstreetmap.josm.data.osm.DataSet.setSelected(DataSet.java:414)
at org.openstreetmap.josm.actions.mapmode.DrawAction.mouseReleased(DrawAction.java:555)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Attachments (0)

Change History (4)

comment:1 Changed 13 years ago by boris59

Sorry, forgot to write how this happened. I was entering a rather long way when JOSM suddenly reported an error and offered to report the message above.

comment:2 Changed 13 years ago by boris59

I just switched back to JOSM and closed the message box, expecting my way to be lost. However JOSM continues to work just fine, even the way I was editing is still there. Good work, people! =)

comment:3 Changed 13 years ago by stoecker

Owner: changed from team to boris59
Status: newneedinfo

Could you reproduce this?

comment:4 Changed 13 years ago by boris59

Resolution: irreproducible
Status: needinfoclosed

No. I just updated to version 3329 and cannot reproduce the error there. Seems to be fixed.

Modify Ticket

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