Modify

Opened 9 years ago

Closed 9 years ago

#13495 closed defect (fixed)

ClassCastException - PT assistant 1 automatic fix in Bremen

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. execution of 1 automatic fix

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-08-29 20:19:31 +0200 (Mon, 29 Aug 2016)
Build-Date:2016-08-30 01:33:55
Revision:10916
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10916 en) Windows 7 64-Bit
Memory Usage: 1500 MB / 3543 MB (486 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.3)
+ Mapillary (32882)
+ OpeningHoursEditor (32699)
+ PicLayer (32796)
+ RoadSigns (32796)
+ apache-commons (32699)
+ apache-http (32699)
+ buildings_tools (32796)
+ geochat (32796)
+ livegps (32699)
+ pt_assistant (32883)
+ reverter (32796)
+ scripting (30730)
+ surveyor (32796)
+ tag2link (32699)
+ terracer (32699)
+ todo (29154)
+ turnrestrictions (32796)
+ undelete (32699)
+ utilsplugin2 (32815)
+ wikipedia (32884)

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/PublicTransport&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/PTStops&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/NumberedCycleNodeNetworks&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/NumberedWalkingNodeNetworks&zip=1

Last errors/warnings:
- W: Invalid jar file ''<josm.pref>\plugins\Mapillary.jar.new'' (exists: false, canRead: false)
- W: Invalid jar file ''<josm.pref>\plugins\pt_assistant.jar.new'' (exists: false, canRead: false)
- W: Unable to get color from '' for color preference 'extrude.main.line'
- W: Unable to get color from '' for color preference 'improve.way.accuracy.helper.line'
- W: Unable to get color from '' for color preference 'make.parallel.helper.line'
- W: Old style SideButton usage for action org.openstreetmap.josm.plugins.mapillary.gui.MapillaryChangesetDialog$SubmitAction@41af3b7d
- W: Old style SideButton usage for action org.openstreetmap.josm.plugins.todo.TodoDialog$SelectAction@333833d3
- W: Old style SideButton usage for action org.openstreetmap.josm.plugins.todo.TodoDialog$AddAction@35656f3a
- W: Old style SideButton usage for action org.openstreetmap.josm.plugins.todo.TodoDialog$PassAction@1094e74e
- W: Old style SideButton usage for action org.openstreetmap.josm.plugins.todo.TodoDialog$MarkAction@6d1322ac


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (20) of main
java.lang.ClassCastException: org.openstreetmap.josm.data.osm.Node cannot be cast to org.openstreetmap.josm.data.osm.Way
	at org.openstreetmap.josm.data.osm.RelationMember.getWay(RelationMember.java:106)
	at org.openstreetmap.josm.plugins.pt_assistant.validation.SegmentChecker.getModifiedRelationMembers(SegmentChecker.java:1012)
	at org.openstreetmap.josm.plugins.pt_assistant.validation.SegmentChecker.carryOutSingleFix(SegmentChecker.java:983)
	at org.openstreetmap.josm.plugins.pt_assistant.validation.SegmentChecker.fixError(SegmentChecker.java:802)
	at org.openstreetmap.josm.plugins.pt_assistant.validation.PTAssistantValidatorTest.fixError(PTAssistantValidatorTest.java:480)
	at org.openstreetmap.josm.data.validation.TestError.getFix(TestError.java:305)
	at org.openstreetmap.josm.gui.dialogs.ValidatorDialog$FixTask.fixError(ValidatorDialog.java:592)
	at org.openstreetmap.josm.gui.dialogs.ValidatorDialog$FixTask.realRun(ValidatorDialog.java:617)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:93)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:141)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Attachments (1)

PT Bremen.zip (618.3 KB ) - added by Polyglot 9 years ago.

Download all attachments as: .zip

Change History (3)

by Polyglot, 9 years ago

Attachment: PT Bremen.zip added

comment:1 by Don-vip, 9 years ago

Summary: PT assistant 1 automatic fix in BremenClassCastException - PT assistant 1 automatic fix in Bremen

comment:2 by darya, 9 years ago

Resolution: fixed
Status: newclosed

Fixed, new revision is 32895.

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.