Modify

Opened 15 years ago

Closed 15 years ago

#3959 closed defect (fixed)

NPE while viewing data

Reported by: bilbo Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: Cc:

Description

I downloaded some area, then I edited something, uploaded something, then I downloaded some extra relation members, edited, uploaded and then I decided to zoom out so far, that I could see all the data. And this is the result:

Build-Date: 2009-11-16 13:39:23
Revision: 2462
Is-Local-Build: true

Memory Usage: 367 MB / 989 MB (98 MB allocated, but free)
Java version: 1.6.0_16

Plugins: buildings_tools
graphview
measurement
multipoly
openstreetbugs
remotecontrol
terracer2
utilsplugin
validator
wmsplugin
Plugin buildings_tools Version: 24
Plugin graphview Version: 18593
Plugin measurement Version: 18595
Plugin multipoly Version: 18415
Plugin openstreetbugs Version: 18595
Plugin remotecontrol Version: 18503
Plugin terracer2 Version: ${version.entry.commit.revision}
Plugin utilsplugin Version: 18621
Plugin validator Version: 18623
Plugin wmsplugin Version: 18625

java.lang.NullPointerException

at org.openstreetmap.josm.gui.DefaultNameFormatter.format(DefaultNameFormatter.java:140)
at org.openstreetmap.josm.data.osm.Way.getDisplayName(Way.java:352)
at org.openstreetmap.josm.data.osm.visitor.MapPaintVisitor.addInnerToOuters(MapPaintVisitor.java:890)
at org.openstreetmap.josm.data.osm.visitor.MapPaintVisitor.drawMultipolygon(MapPaintVisitor.java:1008)
at org.openstreetmap.josm.data.osm.visitor.MapPaintVisitor.paintUnselectedRelation(MapPaintVisitor.java:527)
at org.openstreetmap.josm.data.osm.visitor.MapPaintVisitor.visitAll(MapPaintVisitor.java:1482)
at org.openstreetmap.josm.gui.layer.OsmDataLayer.paint(OsmDataLayer.java:247)
at org.openstreetmap.josm.gui.MapView.paint(MapView.java:391)
at javax.swing.JComponent.paintChildren(JComponent.java:864)
at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1030)
at javax.swing.JComponent.paint(JComponent.java:1038)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5124)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1475)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1406)
at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:294)
at javax.swing.RepaintManager.paint(RepaintManager.java:1220)
at javax.swing.JComponent._paintImmediately(JComponent.java:5072)
at javax.swing.JComponent.paintImmediately(JComponent.java:4882)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:803)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
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)

And JOSM is stuck in endless loop, just presenting "Do nothing/Report bug" again and again.

On second attempt, I saved the data before zooming out (and I got it again), so you can load them and see what triggers the bug

Attachments (1)

bugrep.osm.bz2 (132.8 KB ) - added by bilbo 15 years ago.
Data that trigger the bug. Zoom out far enough and see …

Download all attachments as: .zip

Change History (2)

by bilbo, 15 years ago

Attachment: bugrep.osm.bz2 added

Data that trigger the bug. Zoom out far enough and see ...

comment:1 by bilbo, 15 years ago

Resolution: fixed
Status: newclosed

Seems to be fixed by the fix in [2463].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.