Modify

Opened 16 years ago

Closed 16 years ago

#1561 closed defect (fixed)

JOSM throws exception opening a specific full relation

Reported by: Andre68 Owned by: framm
Priority: blocker Milestone:
Component: unspecified Version: latest
Keywords: Cc:

Description

Here is how to get the exception:

Unfortunately, JOSM also hangs in an infinite loop.

Here is the exception log:

Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 970
Node Kind: directory
Last Changed Author: ulfl
Last Changed Rev: 970
Last Changed Date: 2008-09-16 00:04:08 +0200 (Tue, 16 Sep 2008)

java.awt.geom.IllegalPathStateException: missing initial moveto in path definition

at java.awt.geom.GeneralPath.needRoom(GeneralPath.java:144)
at java.awt.geom.GeneralPath.closePath(GeneralPath.java:255)
at sun.java2d.pipe.PixelToShapeConverter.makePoly(PixelToShapeConverter.java:93)
at sun.java2d.pipe.PixelToShapeConverter.fillPolygon(PixelToShapeConverter.java:113)
at sun.java2d.pipe.ValidatePipe.fillPolygon(ValidatePipe.java:130)
at sun.java2d.SunGraphics2D.fillPolygon(SunGraphics2D.java:2134)
at java.awt.Graphics.fillPolygon(Graphics.java:751)
at org.openstreetmap.josm.data.osm.visitor.MapPaintVisitor.drawWayAsArea(MapPaintVisitor.java:215)
at org.openstreetmap.josm.data.osm.visitor.MapPaintVisitor.visit(MapPaintVisitor.java:130)
at org.openstreetmap.josm.data.osm.Way.visit(Way.java:53)
at org.openstreetmap.josm.data.osm.visitor.MapPaintVisitor.visitAll(MapPaintVisitor.java:322)
at org.openstreetmap.josm.gui.layer.OsmDataLayer.paint(OsmDataLayer.java:179)
at org.openstreetmap.josm.gui.MapView.paint(MapView.java:269)
at javax.swing.JComponent.paintChildren(JComponent.java:843)
at javax.swing.JComponent.paint(JComponent.java:1015)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4972)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4925)
at javax.swing.JComponent._paintImmediately(JComponent.java:4868)
at javax.swing.JComponent.paintImmediately(JComponent.java:4675)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

Attachments (0)

Change History (1)

comment:1 by anonymous, 16 years ago

Resolution: fixed
Status: newclosed

Fixed in r976.

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.