Modify

Opened 4 years ago

Closed 4 years ago

#2965 closed defect (fixed)

[PATCH] Way download throws ArrayIndexOutOfBoundsException and rais "Unerwateter Fehler" window

Reported by: agreve Owned by: dmuecke
Priority: minor Component: Plugin
Version: tested Keywords: way download ArrayIndexOutOfBoundsException "Unerwateter Fehler"
Cc:

Description

I load in a new started instance only a GPS-Track (gpx). Then I try to use the "Way download" funktion. Instead of downloading it rais a window "Unerwarteter Fehler".
After closing the Window I can work with other functions like before. It looks as there are no sideefekts.

The loaded track has a file size about 4132 KB.
The region of the track has a heigt of ca. 31km and a width of ca. 16 km.

Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 1788
Node Kind: directory
Last Changed Author: stoecker
Last Changed Rev: 1788
Last Changed Date: 2009-07-14 18:20:56 +0200 (Tue, 14 Jul 2009)

Memory Usage: 50 MB / 508 MB (16 MB allocated, but free)
Java version: 1.6.0_14

Plugins: measurementmultipolyslippymaptageditorusertoolsutilspluginvalidatorwaydownloaderwmsplugin
Plugin measurement Version: 16317
Plugin multipoly Version: ${version.entry.commit.revision}
Plugin slippymap Version: 16294
Plugin tageditor Version: 15707
Plugin usertools Version: 14125
Plugin utilsplugin Version: 16290
Plugin validator Version: 16439
Plugin waydownloader Version: 16290
Plugin wmsplugin Version: 16442

java.lang.ArrayIndexOutOfBoundsException: 0

at WayDownloaderPlugin.workFromWaySelection(WayDownloaderPlugin.java:234)
at WayDownloaderPlugin.access$100(WayDownloaderPlugin.java:30)
at WayDownloaderPlugin$WayDownloadAction.actionPerformed(WayDownloaderPlugin.java:66)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(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)

Attachments (1)

selectnode.txt (1.2 KB) - added by dmuecke 4 years ago.

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by dmuecke

comment:1 Changed 4 years ago by dmuecke

  • Summary changed from Way download throws ArrayIndexOutOfBoundsException and rais "Unerwateter Fehler" window to [PATCH] Way download throws ArrayIndexOutOfBoundsException and rais "Unerwateter Fehler" window

It should work now as expected.

comment:2 Changed 4 years ago by anonymous

  • Owner changed from team to dmuecke

Send dmuecke an email with instructions on how to apply the patches to the plugins, build the new plugins, and deploy them.

comment:3 Changed 4 years ago by stoecker

  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.