Modify

Opened 9 years ago

Closed 9 years ago

#13025 closed defect (fixed)

PT_assistent creates exception

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. Run validator

What is the expected result?

issues in the validator list

What happens instead?

exception

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-06-16 15:13:01 +0200 (Thu, 16 Jun 2016)
Build-Date:2016-06-16 13:34:26
Revision:10399
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10399 en) Windows 7 64-Bit
Memory Usage: 1385 MB / 2889 MB (289 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 (32158)
- OpeningHoursEditor (32158)
- RoadSigns (32177)
- apache-commons (32158)
- apache-http (32158)
- buildings_tools (32158)
- geochat (32158)
- livegps (32158)
- measurement (32324)
- pt_assistant (32331)
- reverter (32158)
- scripting (30723)
- surveyor (32158)
- tag2link (31923)
- terracer (32158)
- todo (29154)
- tofix (1465916279)
- turnrestrictions (32158)
- undelete (32158)
- utilsplugin2 (32158)
- wikipedia (32182)

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: org.openstreetmap.josm.io.OsmTransferException: Could not connect to the OSM server. Please check your internet connection.. Cause: java.net.UnknownHostException: api.openstreetmap.org
- W: java.net.UnknownHostException: api.openstreetmap.org
- W: Already here java.net.UnknownHostException: api.openstreetmap.org
- E: java.net.UnknownHostException: api.openstreetmap.org
- W: org.openstreetmap.josm.io.OsmTransferException: Could not connect to the OSM server. Please check your internet connection.. Cause: java.net.UnknownHostException: api.openstreetmap.org

java.lang.NullPointerException
	at org.openstreetmap.josm.plugins.pt_assistant.validation.SegmentChecker.performEndStopTest(SegmentChecker.java:67)
	at org.openstreetmap.josm.plugins.pt_assistant.validation.SegmentChecker.performFirstStopTest(SegmentChecker.java:50)
	at org.openstreetmap.josm.plugins.pt_assistant.validation.PTAssitantValidatorTest.proceedAfterSorting(PTAssitantValidatorTest.java:198)
	at org.openstreetmap.josm.plugins.pt_assistant.validation.PTAssitantValidatorTest.proceedWithSorting(PTAssitantValidatorTest.java:187)
	at org.openstreetmap.josm.plugins.pt_assistant.validation.PTAssitantValidatorTest.proceedAfterWayCheckerErrors(PTAssitantValidatorTest.java:144)
	at org.openstreetmap.josm.plugins.pt_assistant.validation.PTAssitantValidatorTest.visit(PTAssitantValidatorTest.java:73)
	at org.openstreetmap.josm.data.osm.Relation.accept(Relation.java:164)
	at org.openstreetmap.josm.data.validation.Test.visit(Test.java:211)
	at org.openstreetmap.josm.actions.ValidateAction$ValidationTask.realRun(ValidateAction.java:169)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:93)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:159)
	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.zip (4.8 MB ) - added by Polyglot 9 years ago.
public transport in south of Belgium

Change History (2)

by Polyglot, 9 years ago

Attachment: PT.zip added

public transport in south of Belgium

comment:1 by darya, 9 years ago

Resolution: fixed
Status: newclosed

Fixed multiple problems, the PT.zip seems to run without error. Some of the reasons were the incomplete criteria for classifying a route relation member as a PTStop or PTWay, as well as referring to the names of relation members that have no names.

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.