Opened 16 years ago
Closed 16 years ago
#1663 closed defect (fixed)
Nullpointer after lakewalker
Reported by: | stephankn | Owned by: | framm |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | unspecified | Version: | latest |
Keywords: | Cc: |
Description
Load a Landsat WMS. Then click with lakewalker on a lake. After lakewalker finished processing the NPE occurs. Happens every time.
Tried already the most current build from svn, no change with this. Build is based on 1044, no custom modifications.
Development version. Unknown revision.
java.lang.NullPointerException
at org.openstreetmap.josm.data.osm.visitor.SimplePaintVisitor.visitVirtual(SimplePaintVisitor.java:183)
at org.openstreetmap.josm.data.osm.visitor.MapPaintVisitor.visitAll(MapPaintVisitor.java:376)
at org.openstreetmap.josm.gui.layer.OsmDataLayer.paint(OsmDataLayer.java:173)
at org.openstreetmap.josm.gui.MapView.paint(MapView.java:283)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JLayeredPane.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
at java.awt.Container.paint(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(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 (1)
Change History (3)
by , 16 years ago
Attachment: | lakewalker_exception_1663.patch added |
---|
comment:1 by , 16 years ago
I tracked down the problem. If the image could not be read it returned a nullpointer. Lakewalker then inserted a new way containing one "null" node. That crashed josm.
Please submit attached patch.
comment:2 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
applied in lakewalker build 11920
patch fixing the nullpointer crash