Modify

Opened 15 years ago

Closed 15 years ago

#4064 closed defect (fixed)

Exception when double-clicking node

Reported by: Nakor Owned by: team
Priority: normal Milestone:
Component: Core Version: tested
Keywords: Cc:

Description

If you are in "Draw nodes"mode and you double click a node, an excpetion occurs:

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2009-11-30 13:18:06
Last Changed Author: stoecker
Revision: 2554
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2009-11-30 13:48:36 +0100 (Mon, 30 Nov 2009)
Last Changed Rev: 2554

Memory Usage: 698 MB / 1333 MB (361 MB allocated, but free)
Java version: 1.6.0_16

Dataset consistency test:
{Node id=544433468 version=1 V lat=44.7747834,lon=-68.7829575} not found using Dataset.searchNodes()
{Node id=102036948 version=2 V lat=44.799946,lon=-68.585026} not found using Dataset.searchNodes()
{Way id=11491269 version=1 MVDd nodes=[]} not found using Dataset.searchWays()
{Way id=11493973 version=1 MVDd nodes=[]} not found using Dataset.searchWays()
{Way id=11493977 version=1 MVDd nodes=[]} not found using Dataset.searchWays()
{Way id=11493981 version=1 MVDd nodes=[]} not found using Dataset.searchWays()
{Way id=11493976 version=1 MVDd nodes=[]} not found using Dataset.searchWays()
{Way id=11466935 version=1 MVDd nodes=[]} not found using Dataset.searchWays()
{Way id=11470695 version=1 MVDd nodes=[]} not found using Dataset.searchWays()
{Way id=11480949 version=1 MVDd nodes=[]} not found using Dataset.searchWays()
{Way id=11467925 version=1 MVDd nodes=[]} not found using Dataset.searchWays()
{Way id=11466307 version=1 MVDd nodes=[]} not found using Dataset.searchWays()
{Way id=11469852 version=1 MVDd nodes=[]} not found using Dataset.searchWays()
{Way id=11472492 version=2 MVDd nodes=[]} not found using Dataset.searchWays()
{Way id=11466476 version=1 MVDd nodes=[]} not found using Dataset.searchWays()

Plugins: DirectUpload,PicLayer,editgpx,graphview,measurement,michigan_left,openstreetbugs,remotecontrol,routing,tageditor,utilsplugin,validator,waydownloader,wmsplugin
Plugin DirectUpload Version: 17532
Plugin PicLayer Version: 18597
Plugin editgpx Version: 18595
Plugin graphview Version: 18593
Plugin measurement Version: 18595
Plugin michigan_left Version: 18084
Plugin openstreetbugs Version: 18595
Plugin remotecontrol Version: 18678
Plugin routing Version: 18597
Plugin tageditor Version: 18700
Plugin utilsplugin Version: 18621
Plugin validator Version: 18848
Plugin waydownloader Version: 18617
Plugin wmsplugin Version: 18762

java.lang.NullPointerException

at org.openstreetmap.josm.data.osm.DataSet$IdHash.getHashCode(DataSet.java:37)
at org.openstreetmap.josm.data.osm.DataSet$IdHash.getHashCode(DataSet.java:34)
at org.openstreetmap.josm.data.osm.Storage.getBucket(Storage.java:219)
at org.openstreetmap.josm.data.osm.Storage.access$100(Storage.java:88)
at org.openstreetmap.josm.data.osm.Storage$FMap.get(Storage.java:332)
at org.openstreetmap.josm.data.osm.DataSet.getPrimitiveById(DataSet.java:601)
at org.openstreetmap.josm.data.osm.DataSet.getPrimitiveById(DataSet.java:597)
at org.openstreetmap.josm.data.osm.DataSet.getPrimitiveByIdChecked(DataSet.java:621)
at org.openstreetmap.josm.data.osm.DataSet.addSelected(DataSet.java:413)
at org.openstreetmap.josm.data.osm.DataSet.setSelected(DataSet.java:364)
at org.openstreetmap.josm.data.osm.DataSet.setSelected(DataSet.java:377)
at org.openstreetmap.josm.actions.mapmode.DrawAction.mouseClicked(DrawAction.java:315)
at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(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.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(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.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 (2)

comment:1 by mjulius, 15 years ago

This only seems to happen when double-clicking on the last inserted node.

comment:2 by mjulius, 15 years ago

Resolution: fixed
Status: newclosed

It actually seems like this was also fixed by r2558.

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.