Modify

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#1939 closed defect (fixed)

null pointer exception

Reported by: jonass@… Owned by: framm
Priority: major Milestone:
Component: unspecified Version:
Keywords: Cc:

Description

Trying to download http://www.openstreetmap.org/index.html?mlat=58.41916088746501&mlon=15.58980842381176&zoom=12 I got:

Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 1195
Node Kind: directory
Last Changed Author: stoecker
Last Changed Rev: 1195
Last Changed Date: 2008-12-31 00:36:58 +0100 (Wed, 31 Dec 2008)

java.lang.NullPointerException

at org.openstreetmap.josm.data.osm.visitor.MapPaintVisitor.visit(MapPaintVisitor.java:347)
at org.openstreetmap.josm.data.osm.Relation.visit(Relation.java:25)
at org.openstreetmap.josm.data.osm.visitor.MapPaintVisitor.visitAll(MapPaintVisitor.java:688)
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(JComponent.java:875)
at javax.swing.JComponent.paint(JComponent.java:1047)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5147)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1411)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1342)
at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:318)
at javax.swing.RepaintManager.paint(RepaintManager.java:1145)
at javax.swing.JComponent._paintImmediately(JComponent.java:5095)
at javax.swing.JComponent.paintImmediately(JComponent.java:4905)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:740)
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)

Attachments (0)

Change History (2)

comment:1 by stoecker, 16 years ago

Resolution: fixed
Status: newclosed

Fixed in r1197.

Your compiled version is somewhat mixed. That bug report above should look a bit different since 1189.

I also fixed the reason for the crash in the data, so you now can load that area.

comment:2 by anonymous, 16 years ago

Thanks. I did not compile it myself, I downloaded it from http://josm.openstreetmap.de/download/josm-latest.jar earlier today.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain framm.
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.