Modify

Opened 8 years ago

Closed 8 years ago

#13104 closed defect (fixed)

Exception when opening Relation Editor

Reported by: Polyglot Owned by: darya
Priority: normal Milestone:
Component: Plugin pt_assistant Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Downloaded skeleton with Overpass API

[out:xml][timeout:125];
(

relation["public_transport:version"="2"]["route"="bus"];

);
(._;>;);
out meta;

  1. Ran validation
  2. Opened Relation Editor for Bus 2 Avenue du Large => Jardins...

What is the expected result?

What happens instead?

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

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-07-03 22:16:57 +0200 (Sun, 03 Jul 2016)
Build-Date:2016-07-04 01:32:21
Revision:10513
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10513 en) Windows 7 64-Bit
Memory Usage: 1028 MB / 2889 MB (160 MB allocated, but free)
Java version: 1.8.0_91-b14, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Dataset consistency test: No problems found

Plugins:
- CustomizePublicTransportStop (0.2)
- Mapillary (32396)
- OpeningHoursEditor (32309)
- RoadSigns (32309)
- apache-commons (32309)
- apache-http (32309)
- buildings_tools (32309)
- geochat (32309)
- livegps (32309)
- measurement (32324)
- pt_assistant (32540)
- reverter (32309)
- scripting (30723)
- surveyor (32329)
- tag2link (32326)
- terracer (32309)
- todo (29154)
- tofix (1467238229)
- turnrestrictions (32386)
- undelete (32309)
- utilsplugin2 (32333)
- wikipedia (32326)

Tagging presets:
- https://josm.openstreetmap.de/josmfile?page=Presets/BENELUX&zip=1
- https://josm.openstreetmap.de/josmfile?page=Presets/OneClick&zip=1

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/PTStops&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1

Last errors/warnings:
- W: Old style SideButton usage for action org.openstreetmap.josm.plugins.todo.TodoDialog$PassAction@3257d517
- W: Old style SideButton usage for action org.openstreetmap.josm.plugins.todo.TodoDialog$MarkAction@5593445f
- W: Old style SideButton usage for action org.wikipedia.WikipediaToggleDialog$WikipediaLoadCoordinatesAction@696b0434
- W: Old style SideButton usage for action org.wikipedia.WikipediaToggleDialog$WikipediaLoadCategoryAction@3626ea5b
- W: Old style SideButton usage for action org.wikipedia.WikipediaToggleDialog$PasteWikipediaArticlesAction@4e61ebc0
- W: Old style SideButton usage for action org.wikipedia.WikipediaToggleDialog$AddWikipediaTagAction@49596392
- W: Old style SideButton usage for action org.wikipedia.WikipediaToggleDialog$WikipediaSettingsAction@224db575
- E: java.lang.ArrayIndexOutOfBoundsException: 0
- E: java.lang.ArrayIndexOutOfBoundsException: 0
- E: org.openstreetmap.josm.tools.bugreport.ReportedException: java.lang.ArrayIndexOutOfBoundsException. Cause: java.lang.ArrayIndexOutOfBoundsException

=== REPORTED CRASH DATA ===
MapView#paintLayer:
 - layer: org.openstreetmap.josm.plugins.pt_assistant.gui.PTAssistantLayer@1f65f035
 - bounds: Bounds[51.03035,2.3694202,51.0305538,2.3707022]

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (18) of main
java.lang.ArrayIndexOutOfBoundsException

Attachments (1)

PT Dunkerque.zip (343.0 KB ) - added by Polyglot 8 years ago.
public transport passing by station of Dunkerque

Download all attachments as: .zip

Change History (5)

by Polyglot, 8 years ago

Attachment: PT Dunkerque.zip added

public transport passing by station of Dunkerque

comment:1 by Don-vip, 8 years ago

Did you cut the stacktrace on purpose? The bugreport looks incomplete.

comment:2 by Polyglot, 8 years ago

Oh, I'm so sorry about that. I'm not sure how that happened, definitely not on purpose. The error is very easy to reproduce with the included data. I tried it a few times and it happens every time.

Jo

comment:3 by darya, 8 years ago

I can reproduce the error, so there is no problem with the incomplete stack trace. Darya.

comment:4 by darya, 8 years ago

Resolution: fixed
Status: newclosed

The problem was because I hadn't considered route ref values that do not start with a digit. The fixed revision is 32557.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain darya.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.