Modify

Opened 12 months ago

Last modified 9 months ago

#7757 new defect

ArrayIndexOutOfBoundsException opening a bus route

Reported by: anders@… Owned by: roland.olbricht
Priority: critical Component: Plugin public_transport
Version: tested Keywords: ArrayIndexOutOfBoundsException
Cc:

Description

What steps will reproduce the problem?

  1. Open the public_transport plugin
  2. Open Route pattens
  3. Dubble click on "Bus 376: Henån[ID] 21885015"

What happens instead?

You get a nice crash dump. It might be related to all of the route isn't loaded.

Please provide any additional information below. Attach a screenshot if
possible.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2012-06-04 01:31:02
Last Changed Author: simon04
Revision: 5267
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2012-06-03 22:21:06 +0200 (Sun, 03 Jun 2012)
Last Changed Rev: 5267

Identification: JOSM/1.5 (5267 en)
Memory Usage: 69 MB / 247 MB (24 MB allocated, but free)
Java version: 1.7.0_04, Oracle Corporation, Java HotSpot(TM) Client VM
Operating system: Windows 7
Dataset consistency test: No problems found

Plugin: DirectDownload (28412)
Plugin: DirectUpload (28412)
Plugin: buildings_tools (28412)
Plugin: download_along (28412)
Plugin: imageryadjust (28412)
Plugin: openstreetbugs (28412)
Plugin: public_transport (28412)
Plugin: routes (28412)

java.lang.ArrayIndexOutOfBoundsException: -1
	at java.util.Vector.elementData(Unknown Source)
	at java.util.Vector.elementAt(Unknown Source)
	at public_transport.RoutePatternAction.calcOffset(RoutePatternAction.java:2134)
	at public_transport.RoutePatternAction.fillStoplistTable(RoutePatternAction.java:2154)
	at public_transport.RoutePatternAction.routesSelectionChanged(RoutePatternAction.java:2096)
	at public_transport.RoutePatternAction.access$000(RoutePatternAction.java:60)
	at public_transport.RoutePatternAction$RoutesLSL.valueChanged(RoutePatternAction.java:72)
	at javax.swing.JList.fireSelectionValueChanged(Unknown Source)
	at javax.swing.JList$ListSelectionHandler.valueChanged(Unknown Source)
	at javax.swing.DefaultListSe

Attachments (0)

Change History (1)

comment:1 Changed 9 months ago by Don-vip

Ticket #7965 has been marked as a duplicate of this ticket.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as new .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from roland.olbricht. Next status will be 'new'.
Next status will be 'needinfo'.The owner will change to anders@arnholm.se
as duplicate The resolution will be set to duplicate. Next status will be 'closed'.The specified ticket will be cross-referenced with this ticket
The owner will be changed from roland.olbricht to anonymous. Next status will be 'assigned'.
Author


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

 
Note: See TracTickets for help on using tickets.