Opened 13 years ago
Closed 13 years ago
#7422 closed defect (fixed)
ArrayIndexOutOfBoundsException in public transport plugin menu
Reported by: | Owned by: | roland.olbricht | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin public_transport | Version: | tested |
Keywords: | Cc: | roland.olbricht |
Description
What steps will reproduce the problem?
- open public transport plugin menu
- click on one of the routes in the overview e.g. bus 261 in area southwest of Munich
What is the expected result?
The route will be selected (marked)
What happens instead?
Window appears asking for update of the plugin and offers deactivation of plugin
Please provide any additional information below. Attach a screenshot if
possible.
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2012-01-30 02:32:23 Last Changed Author: stoecker Revision: 4878 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2012-01-30 00:02:54 +0100 (Mon, 30 Jan 2012) Last Changed Rev: 4878 Identification: JOSM/1.5 (4878 de) Memory Usage: 204 MB / 455 MB (95 MB allocated, but free) Java version: 1.6.0_23, Sun Microsystems Inc., OpenJDK Server VM Operating system: Linux Dataset consistency test: No problems found Plugin: public_transport (27676) java.lang.ArrayIndexOutOfBoundsException: 169 >= 169 at java.util.Vector.elementAt(Vector.java:447) at public_transport.RoutePatternAction.fillStoplistTable(RoutePatternAction.java:2118) at public_transport.RoutePatternAction.routesSelectionChanged(RoutePatternAction.java:2081) at public_transport.RoutePatternAction.access$000(RoutePatternAction.java:61) at public_transport.RoutePatternAction$RoutesLSL.valueChanged(RoutePatternAction.java:73) at javax.swing.JList.fireSelectionValueChanged(JList.java:1782) at javax.swing.JList$ListSelectionHandler.valueChanged(JList.java:1796) at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184) at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:164) at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:211) at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:405) at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:415) at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:459) at javax.swing.JList.setSelectionInterval(JList.java:2052) at javax.swing.plaf.basic.BasicListUI$Handler.adjustSelection(BasicListUI.java:2735) at javax.swing.plaf.basic.BasicListUI$Handler.mousePressed(BasicListUI.java:2691) at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280) at java.awt.Component.processMouseEvent(Component.java:6265) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6033) at java.awt.Container.processEvent(Container.java:2045) at java.awt.Component.dispatchEventImpl(Component.java:4629) at java.awt.Container.dispatchEventImpl(Container.java:2103) at java.awt.Component.dispatchEvent(Component.java:4455) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4633) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4294) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4227) at java.awt.Container.dispatchEventImpl(Container.java:2089) at java.awt.Window.dispatchEventImpl(Window.java:2517) at java.awt.Component.dispatchEvent(Component.java:4455) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649) at java.awt.EventQueue.access$000(EventQueue.java:96) at java.awt.EventQueue$1.run(EventQueue.java:608) at java.awt.EventQueue$1.run(EventQueue.java:606) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116) at java.awt.EventQueue$2.run(EventQueue.java:622) at java.awt.EventQueue$2.run(EventQueue.java:620) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105) at java.awt.EventQueue.dispatchEvent(EventQueue.java:619) 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)
Attachments (0)
Change History (4)
comment:1 by , 13 years ago
Cc: | added |
---|---|
Component: | Plugin → Plugin public_transport |
Keywords: | template_report removed |
Summary: | public transport plugin → ArrayIndexOutOfBoundsException in public transport plugin menu |
comment:2 by , 13 years ago
comment:3 by , 13 years ago
Ok, the bug should be fixed by now. The plugin should no longer crash. The distance measurement was not prepared to handle certain constellations of bus stops.
comment:4 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Replying to mgopub@…:
Thank you for reporting this bug. I can reproduce the bug here. I'll inform you as soon as I know what goes wrong.