Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#4773 closed defect (worksforme)

openstreetbug plugin uses data.osm.Node to represent a bug

Reported by: bastiK Owned by: team
Priority: major Milestone:
Component: Plugin Version:
Keywords: openstreetbugs Cc:

Description

The openstreetbug plugin uses OsmPrimitive to create and display bugs. This might have worked some time ago but JOSM does not allow this kind of hack any more.

org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive  must be part of the dataset: {Node id=35445 version=1 VT lat=51.485199,lon=7.38399}
	at org.openstreetmap.josm.data.osm.OsmPrimitive.checkDataset(OsmPrimitive.java:171)
	at org.openstreetmap.josm.data.osm.OsmPrimitive.getReferrers(OsmPrimitive.java:948)
	at org.openstreetmap.josm.gui.dialogs.properties.PropertiesDialog.selectionChanged(PropertiesDialog.java:765)
	at org.openstreetmap.josm.data.osm.event.SelectionEventManager.fireEvents(SelectionEventManager.java:78)
	at org.openstreetmap.josm.data.osm.event.SelectionEventManager.access$200(SelectionEventManager.java:20)
	at org.openstreetmap.josm.data.osm.event.SelectionEventManager$1.run(SelectionEventManager.java:85)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	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)

@Stöcker: please update the list of plugins that can be selected in trac.

Attachments (0)

Change History (2)

comment:1 by hampelratte, 15 years ago

Resolution: worksforme
Status: newclosed

I cannot reproduce this error with JOSM r3157. Seems to be ok again. Nevertheless I found a NPE bug, which is fixed in osb r20684.

comment:2 by bastiK, 15 years ago

Hi hampelratte!
Thanks for fixing the NPE.

Unfortunately, I don't recall how I got the error, but I'm quite sure the bug is still there. :)

OK, i will reopen, if it happens again.

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.