﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
13025	PT_assistent creates exception	Polyglot	darya	"==== What steps will reproduce the problem?
1. Run validator
2. 
3. 

==== 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)
}}}
"	defect	closed	normal		Plugin pt_assistant		fixed	template_report	
