﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2623	Java exception with multipolygon	susi0712	team	"
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.
"	defect	closed	major		Core	latest	fixed		
