Modify

Opened 15 years ago

Closed 15 years ago

#2623 closed defect (fixed)

Java exception with multipolygon

Reported by: susi0712 Owned by: team
Priority: major Milestone:
Component: Core Version: latest
Keywords: Cc:

Description

Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 1566
Node Kind: directory
Last Changed Author: stoecker
Last Changed Rev: 1566
Last Changed Date: 2009-04-30 15:59:56 +0200 (Thu, 30 Apr 2009)

Java version: 1.6.0_10
Plugins: validator;wmsplugin(2)
Plugin validator Version: 14406
Plugin wmsplugin(2) Version: 14120

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

at java.util.ArrayList.RangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at org.openstreetmap.josm.data.osm.Way.firstNode(Way.java:180)
at org.openstreetmap.josm.data.osm.Way.isFirstLastNode(Way.java:184)
at org.openstreetmap.josm.actions.mapmode.DrawAction.computeHelperLine(DrawAction.java:673)
at org.openstreetmap.josm.actions.mapmode.DrawAction.mouseMoved(DrawAction.java:589)
at java.awt.AWTEventMulticaster.mouseMoved(Unknown Source)
at java.awt.Component.processMouseMotionEvent(Unknown Source)
at javax.swing.JComponent.processMouseMotionEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(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)


Last actions:

Multipolygon,
OUTER polygon marked (a lake)
opening relation window (button "Bearbeiten")

Now creating Islands in the lake (while Relation window still open). Doing this with several islands, doing the following steps:

  • 1 Creating new polygon for island
  • 2 Adding new polygon to Relation with button "Ausgewähltes hinzufügen".
  • 3 Adding tags to recently created island.
  • 4 adding "inner" to new relation member

Doing this with also other orders: 1,2,3,4 or 1,3,2,4 or 1,2,4,3. Suddenly, problem occured.

Attachments (0)

Change History (2)

comment:1 by anonymous, 15 years ago

Problem is endless loop. When you press button "Keine Aktion" of error window, problem comes back immediately. Cannot save my map changes any more.

comment:2 by jttt, 15 years ago

Resolution: fixed
Status: newclosed

This has been already fixed in r1611

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.