Modify

Opened 14 years ago

Closed 14 years ago

#6394 closed defect (needinfo)

Replace geometry breaks relations

Reported by: Nakor Owned by: Nakor
Priority: normal Milestone:
Component: Plugin utilsplugin2 Version: latest
Keywords: Cc:

Description

Try to replace geometry with the existing way being in a relation.
Open the relation and try to sort it.

Build-Date: 2011-05-22 10:55:14
Revision: 4092
Is-Local-Build: true

Identification: JOSM/1.5 (4092 SVN en)
Memory Usage: 90 MB / 2666 MB (33 MB allocated, but free)
Java version: 1.6.0_22, Sun Microsystems Inc., Java HotSpot(TM) 64-Bit Server VM
Operating system: Linux

Dataset consistency test:
[DELETED REFERENCED] {Relation id=393693 version=1 MVT [way 27573491, way -46162, way -46129, way 27573830, way -46281, way 27573910, way 27573281, way 27573227, way 27573052, way 27573920]} refers to deleted primitive {Way id=-46129 version=0 MVDT nodes=[]}

Plugin: ElevationProfile (25192)
Plugin: dataimport (25192)
Plugin: download_along (25190)
Plugin: editgpx (25407)
Plugin: junctionchecking (25497)
Plugin: michigan_left (25190)
Plugin: openstreetbugs (25664)
Plugin: openvisible (25192)
Plugin: turnrestrictions (25845)
Plugin: undelete (25199)
Plugin: utilsplugin2 (25912)
Plugin: waydownloader (25190)
Plugin: wayselector (25191)

java.lang.NullPointerException

at java.util.TreeMap.getEntry(Unknown Source)
at java.util.TreeMap.get(Unknown Source)
at org.openstreetmap.josm.gui.dialogs.relation.RelationNodeMap.addPair(RelationNodeMap.java:128)
at org.openstreetmap.josm.gui.dialogs.relation.RelationNodeMap.<init>(RelationNodeMap.java:98)
at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.sortMembers(MemberTableModel.java:673)
at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.sort(MemberTableModel.java:728)
at org.openstreetmap.josm.gui.dialogs.relation.GenericRelationEditor$SortAction.actionPerformed(GenericRelationEditor.java:959)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(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 (3)

comment:1 by akks, 14 years ago

I can not reproduce this bug. Can you post the example .osm, if the bug still exist?

comment:2 by akks, 14 years ago

Owner: changed from team to Nakor
Status: newneedinfo

comment:3 by stoecker, 14 years ago

Resolution: needinfo
Status: needinfoclosed

Modify Ticket

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