#1949 closed defect (fixed)
Pasting lots of previewsly copied Streets results in error in the last revision (r1204)
| Reported by: | pos_ei_don@… | Owned by: | framm |
|---|---|---|---|
| Priority: | major | Component: | Core |
| Version: | latest | Keywords: | |
| Cc: |
Description
this worked in erlier versions.
Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 1204
Node Kind: directory
Last Changed Author: stoecker
Last Changed Rev: 1204
Last Changed Date: 2009-01-02 00:43:17 +0100 (Fri, 02 Jan 2009)
Plugins: AgPifoJ;DirectUpload;colorscheme;namefinder;openstreetbugs;openvisible;remotecontrol;slippy_map_chooser;utilsplugin;validator;wmsplugin
Plugin AgPifoJ Version: 12640
Plugin DirectUpload Version: 12601
Plugin colorscheme Version: 12588
Plugin namefinder Version: 12598
Plugin openstreetbugs Version: 12590
Plugin openvisible Version: 12588
Plugin remotecontrol Version: 12588
Plugin slippy_map_chooser Version: 12598
Plugin utilsplugin Version: 12677
Plugin validator Version: 12780
Plugin wmsplugin Version: 12609
java.lang.NullPointerException
at org.openstreetmap.josm.data.osm.visitor.MapPaintVisitor.drawSelectedRelation(MapPaintVisitor.java:309)
at org.openstreetmap.josm.data.osm.visitor.MapPaintVisitor.visit(MapPaintVisitor.java:370)
at org.openstreetmap.josm.data.osm.Relation.visit(Relation.java:25)
at org.openstreetmap.josm.data.osm.visitor.MapPaintVisitor.visitAll(MapPaintVisitor.java:781)
at org.openstreetmap.josm.gui.layer.OsmDataLayer.paint(OsmDataLayer.java:209)
at org.openstreetmap.josm.gui.MapView.paint(MapView.java:259)
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.paint(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(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 (0)
Change History (7)
comment:1 Changed 4 years ago by anonymous
comment:2 Changed 4 years ago by anonymous
- Component changed from unspecified to Core
- Version set to latest
comment:3 Changed 4 years ago by anonymous
Can't attach the file for the testcase... compressed it is 500kb, trac refuses files >256kb. why? this is sad.
comment:4 Changed 4 years ago by anonymous
r1191 works also! semms to be an error between 1191 and 1198
comment:5 Changed 4 years ago by anonymous
Send it to openstreetmap at dstoecker dot de
comment:6 Changed 4 years ago by anonymous
- Resolution set to fixed
- Status changed from new to closed
Ok. Fixed in r1205. Bug was there since a long time, but the new revisions use that data much earlier. With old revisions you get the NPE as soon as you open one of the copied relations in relation editor :-)
comment:7 Changed 4 years ago by anonymous
thanks for all your work!



I need a better description.
The only reason for that error could be a selected relation which has a zero member. That should not happen. Please be more specific what you did. Best would be a minimal testcase.