Modify

Opened 13 years ago

Closed 13 years ago

#3900 closed defect (worksforme)

Error appears by uploading - ArrayIndexOutOfBoundsException

Reported by: Atalanttore Owned by: Atalanttore
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description

Hi

I got this error when I tried to upload my changes to the OSM database:

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2009-11-09 02:31:34
Last Changed Author: Gubaer
Revision: 2417
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2009-11-09 01:03:08 +0100 (Mon, 09 Nov 2009)
Last Changed Rev: 2417

Memory Usage: 148 MB / 439 MB (88 MB allocated, but free)
Java version: 1.6.0_0

Plugins: wmsplugin
Plugin validator Version: 18524
Plugin wmsplugin Version: 18408


java.lang.ArrayIndexOutOfBoundsException: 0
	at org.openstreetmap.josm.data.osm.Way.getNode(Way.java:83)
	at org.openstreetmap.josm.plugins.validator.tests.WronglyOrderedWays.visit(WronglyOrderedWays.java:93)
	at org.openstreetmap.josm.data.osm.Way.visit(Way.java:135)
	at org.openstreetmap.josm.plugins.validator.Test.visit(Test.java:151)
	at org.openstreetmap.josm.plugins.validator.ValidateUploadHook.checkUpload(ValidateUploadHook.java:61)
	at org.openstreetmap.josm.actions.UploadAction.checkPreUploadConditions(UploadAction.java:152)
	at org.openstreetmap.josm.actions.UploadAction.uploadData(UploadAction.java:168)
	at org.openstreetmap.josm.actions.UploadAction.actionPerformed(UploadAction.java:193)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:374)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1688)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1732)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
	at java.awt.Component.processMouseEvent(Component.java:6108)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3276)
	at java.awt.Component.processEvent(Component.java:5873)
	at java.awt.Container.processEvent(Container.java:2105)
	at java.awt.Component.dispatchEventImpl(Component.java:4469)
	at java.awt.Container.dispatchEventImpl(Container.java:2163)
	at java.awt.Component.dispatchEvent(Component.java:4295)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
	at java.awt.Container.dispatchEventImpl(Container.java:2149)
	at java.awt.Window.dispatchEventImpl(Window.java:2478)
	at java.awt.Component.dispatchEvent(Component.java:4295)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
	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)

Regards,
Atalanttore

Attachments (0)

Change History (3)

comment:1 Changed 13 years ago by hansendc

Owner: changed from team to Atalanttore
Status: newneedinfo

You probably have a way with 0 nodes in it. I've added a check for this to the validator test. Can you attach the data causing this issue?

comment:2 Changed 13 years ago by anonymous

Summary: Error appears by uploadingError appears by uploading - ArrayIndexOutOfBoundsException

comment:3 Changed 13 years ago by stoecker

Resolution: worksforme
Status: needinfoclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Atalanttore.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.