Modify ↓
#5240 closed defect (irreproducible)
NPE using undelete-plugin
Reported by: | skyper | Owned by: | Nakor |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin undelete | Version: | latest |
Keywords: | undelete plugin exception | Cc: |
Description
Hi
I started with a new session.
I tried to undelete relation id:31495.
and got following NPE:
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2010-07-12 01:31:32 Last Changed Author: bastiK Revision: 3373 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2010-07-11 21:07:41 +0200 (Sun, 11 Jul 2010) Last Changed Rev: 3373 Identification: JOSM/1.5 (3373 en) Memory Usage: 26 MB / 248 MB (8 MB allocated, but free) Java version: 1.6.0_0, Sun Microsystems Inc., OpenJDK Client VM Operating system: Linux Dataset consistency test: [COMPLETE WITHOUT COORDINATES] {Node id=-1 version=0 MVT } is not incomplete but has null coordinates Exception during dataset integrity test: java.lang.NullPointerException at org.openstreetmap.josm.data.osm.DatasetConsistencyTest.searchNodes(DatasetConsistencyTest.java:82) at org.openstreetmap.josm.data.osm.DatasetConsistencyTest.runTest(DatasetConsistencyTest.java:143) at org.openstreetmap.josm.data.osm.DatasetConsistencyTest.runTests(DatasetConsistencyTest.java:157) at org.openstreetmap.josm.actions.ShowStatusReportAction.getReportHeader(ShowStatusReportAction.java:69) at org.openstreetmap.josm.tools.BugReportExceptionHandler.handleException(BugReportExceptionHandler.java:88) at org.openstreetmap.josm.tools.BugReportExceptionHandler.handle(BugReportExceptionHandler.java:41) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at java.awt.EventDispatchThread.handleException(EventDispatchThread.java:395) at java.awt.EventDispatchThread.processException(EventDispatchThread.java:301) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:289) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177) at java.awt.EventDispatchThread.run(EventDispatchThread.java:138) Plugin: ColumbusCSV (305) Plugin: RoadSigns (22202) Plugin: public_transport (22048) Plugin: remotecontrol (21706) Plugin: undelete (21186) Plugin: validator (22204) java.lang.NullPointerException at org.openstreetmap.josm.data.osm.visitor.paint.MapPaintVisitor.drawNode(MapPaintVisitor.java:113) at org.openstreetmap.josm.data.osm.visitor.paint.MapPaintVisitor.visitAll(MapPaintVisitor.java:659) at org.openstreetmap.josm.gui.layer.OsmDataLayer.paint(OsmDataLayer.java:266) at org.openstreetmap.josm.gui.MapView.paint(MapView.java:516) at javax.swing.JComponent.paintChildren(JComponent.java:875) at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1042) at javax.swing.JComponent.paint(JComponent.java:1047) at javax.swing.JComponent.paintChildren(JComponent.java:875) at javax.swing.JComponent.paint(JComponent.java:1047) at javax.swing.JComponent.paintChildren(JComponent.java:875) at javax.swing.JComponent.paint(JComponent.java:1047) at javax.swing.JComponent.paintChildren(JComponent.java:875) at javax.swing.JComponent.paint(JComponent.java:1047) at javax.swing.JComponent.paintChildren(JComponent.java:875) at javax.swing.JComponent.paint(JComponent.java:1047) at javax.swing.JLayeredPane.paint(JLayeredPane.java:581) at javax.swing.JComponent.paintChildren(JComponent.java:875) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5154) at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:302) at javax.swing.RepaintManager.paint(RepaintManager.java:1145) at javax.swing.JComponent.paint(JComponent.java:1024) at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39) at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:78) at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:115) at java.awt.Container.paint(Container.java:1844) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:751) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:696) at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:676) at javax.swing.RepaintManager.access$700(RepaintManager.java:57) at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1550) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226) at java.awt.EventQueue.dispatchEvent(EventQueue.java:602) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177) at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
cu skyper
Attachments (0)
Change History (5)
comment:1 by , 14 years ago
Component: | Plugin → Plugin undelete |
---|---|
Owner: | changed from | to
comment:2 by , 14 years ago
comment:3 by , 14 years ago
Status: | new → assigned |
---|
comment:4 by , 14 years ago
Resolution: | → irreproducible |
---|---|
Status: | assigned → closed |
I do not get a NPE. However I get a timeout from the API. This relation seems to be huge.
comment:5 by , 14 years ago
it is not that big, maybe 500 members. But it was undeleted some time ago and still exists and its members are all relations.
Note:
See TracTickets
for help on using tickets.
IIRC I never implemented undelete for relations. I will look into it.