#6512 closed defect (fixed)
turnlanes plugin crashed hitting "Ctrl+Z" outside of plugin or purging objects
Reported by: | rickmastfan67 | Owned by: | benshu |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Plugin turnlanes | Version: | latest |
Keywords: | Cc: |
Description (last modified by )
Don't know why this one happened and I haven't been able to duplicate it. Still, I thought I would post it for you so you can fix it if possible.
When this happened, I had never done anything inside of "turnlanes". Just outside of it. Heck, I hadn't even started "turnlanes" (from the left) but it was loaded in the background obviously, otherwise, it wouldn't have crashed. lol.
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2011-06-27 01:31:44 Last Changed Author: stoecker Revision: 4177 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2011-06-26 17:45:48 +0200 (Sun, 26 Jun 2011) Last Changed Rev: 4177 Identification: JOSM/1.5 (4177 en) Memory Usage: 247 MB / 3640 MB (73 MB allocated, but free) Java version: 1.6.0_26, Sun Microsystems Inc., Java HotSpot(TM) 64-Bit Server VM Operating system: Windows 7 Dataset consistency test: No problems found Plugin: ImproveWayAccuracy (26174) Plugin: OpeningHoursEditor (26174) Plugin: RoadSigns (26174) Plugin: alignways (26174) Plugin: buildings_tools (26174) Plugin: imageryadjust (26174) Plugin: mapdust (26174) Plugin: measurement (26174) Plugin: michigan_left (26174) Plugin: openstreetbugs (26174) Plugin: restart (26174) Plugin: reverter (26174) Plugin: turnlanes (26182) Plugin: turnrestrictions (26174) Plugin: undelete (26174) Plugin: utilsplugin2 (26174) org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Node id=-1146 version=0 V lat=40.58678342203636,lon=-80.04489619130791} at org.openstreetmap.josm.data.osm.OsmPrimitive.checkDataset(OsmPrimitive.java:305) at org.openstreetmap.josm.data.osm.OsmPrimitive.getReferrers(OsmPrimitive.java:837) at org.openstreetmap.josm.plugins.turnlanes.model.ModelContainer.<init>(ModelContainer.java:106) at org.openstreetmap.josm.plugins.turnlanes.model.ModelContainer.recalculate(ModelContainer.java:227) at org.openstreetmap.josm.plugins.turnlanes.gui.GuiContainer.recalculate(GuiContainer.java:170) at org.openstreetmap.josm.plugins.turnlanes.gui.JunctionPane.setState(JunctionPane.java:296) at org.openstreetmap.josm.plugins.turnlanes.gui.JunctionPane.refresh(JunctionPane.java:450) at org.openstreetmap.josm.plugins.turnlanes.gui.TurnLanesDialog$1.refresh(TurnLanesDialog.java:127) at org.openstreetmap.josm.plugins.turnlanes.gui.TurnLanesDialog$1.tagsChanged(TurnLanesDialog.java:91) at org.openstreetmap.josm.data.osm.event.TagsChangedEvent.fire(TagsChangedEvent.java:24) at org.openstreetmap.josm.data.osm.DataSet.fireEventToListeners(DataSet.java:942) at org.openstreetmap.josm.data.osm.DataSet.endUpdate(DataSet.java:921) at org.openstreetmap.josm.data.UndoRedoHandler.undo(UndoRedoHandler.java:88) at org.openstreetmap.josm.data.UndoRedoHandler.undo(UndoRedoHandler.java:66) at org.openstreetmap.josm.actions.UndoAction.actionPerformed(UndoAction.java:34) at javax.swing.SwingUtilities.notifyAction(Unknown Source) at javax.swing.JComponent.processKeyBinding(Unknown Source) at javax.swing.KeyboardManager.fireBinding(Unknown Source) at javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source) at javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source) at javax.swing.JComponent.processKeyBindings(Unknown Source) at javax.swing.JComponent.processKeyEvent(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.KeyboardFocusManager.redispatchEvent(Unknown Source) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(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.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$000(Unknown Source) at java.awt.EventQueue$1.run(Unknown Source) at java.awt.EventQueue$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source) at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$2.run(Unknown Source) at java.awt.EventQueue$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(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 (6)
comment:1 by , 14 years ago
Summary: | turnlanes plugin crashing hitting "Ctrl+Z" outside of plugin → turnlanes plugin crashed hitting "Ctrl+Z" outside of plugin |
---|
comment:2 by , 14 years ago
Description: | modified (diff) |
---|
comment:3 by , 14 years ago
Priority: | normal → major |
---|---|
Summary: | turnlanes plugin crashed hitting "Ctrl+Z" outside of plugin → turnlanes plugin crashed hitting "Ctrl+Z" outside of plugin or purging objects |
comment:4 by , 14 years ago
Status: | new → assigned |
---|
This happens when the previously selected node gets removed from the dataset (=> getDataSet() == null). I will fix it.
comment:5 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Should be fixed in [o26192]. Also, the plugin now needs to be visible before it will do anything.
EDIT: Thanks by the way for reporting the bug. I'm really sorry the plugin interfered even when it was not (supposed to be) active.
comment:6 by , 14 years ago
Thanks for the fast fix.
For me it is no problem to uninstall a plugin if it is not working, especcially if it is still under heavy development.
I get the same error when trying to purge objects. Turnlane is not even activated.