Modify ↓
#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 , 16 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
comment:2 by , 16 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.
Note:
See TracTickets
for help on using tickets.



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.