﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
13090	NullPointerException - Selected the Flixbus 281	Polyglot	darya	"==== What steps will reproduce the problem?
1. Those Flixbus routes seem to cause problems, I usually purge them
2. This time I only selected it in the Validator pane, didn't even open a relation editor for it
3. It's the same dataset as in the previous ticket

==== 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-06-27 00:22:39 +0200 (Mon, 27 Jun 2016)
Build-Date:2016-06-27 01:32:19
Revision:10497
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10497 en) Windows 7 64-Bit
Memory Usage: 1154 MB / 2889 MB (372 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 (32158)
- RoadSigns (32177)
- apache-commons (32158)
- apache-http (32158)
- buildings_tools (32158)
- geochat (32158)
- livegps (32158)
- measurement (32324)
- pt_assistant (32497)
- reverter (32158)
- scripting (30723)
- surveyor (32158)
- tag2link (31923)
- terracer (32158)
- todo (29154)
- tofix (1466522948)
- turnrestrictions (32386)
- 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: Unable to delete file <josm.cache>\tiles\TMS_INDEX.key
- W: Unable to delete file <josm.cache>\tiles\TMS_INDEX.data
- W: Unable to delete file <josm.cache>\tiles\TMS_INDEX_v2.key
- W: Unable to delete file <josm.cache>\tiles\TMS_INDEX_v2.data
- E: org.openstreetmap.josm.tools.bugreport.ReportedException: java.lang.NullPointerException. Cause: java.lang.NullPointerException

=== REPORTED CRASH DATA ===
MapView#paintLayer:
 - layer: org.openstreetmap.josm.plugins.pt_assistant.gui.PTAssistantLayer@1d47cc9a
 - bounds: Bounds[52.2217021,6.8885304,52.221919,6.8889846]

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (18) of main
java.lang.NullPointerException
	at org.openstreetmap.josm.plugins.pt_assistant.gui.PTAssistantPaintVisitor.drawStopLabel(PTAssistantPaintVisitor.java:306)
	at org.openstreetmap.josm.plugins.pt_assistant.gui.PTAssistantPaintVisitor.visit(PTAssistantPaintVisitor.java:88)
	at org.openstreetmap.josm.data.osm.Relation.accept(Relation.java:164)
	at org.openstreetmap.josm.data.validation.PaintVisitor.visit(PaintVisitor.java:109)
	at org.openstreetmap.josm.plugins.pt_assistant.gui.PTAssistantLayer.paint(PTAssistantLayer.java:62)
	at org.openstreetmap.josm.gui.layer.AbstractMapViewPaintable$CompatibilityModeLayerPainter.paint(AbstractMapViewPaintable.java:27)
	at org.openstreetmap.josm.gui.MapView.paintLayer(MapView.java:829)
	at org.openstreetmap.josm.gui.MapView.paint(MapView.java:917)
	at javax.swing.JComponent.paintChildren(Unknown Source)
	at javax.swing.JComponent.paint(Unknown Source)
	at javax.swing.JComponent.paintToOffscreen(Unknown Source)
	at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
	at javax.swing.RepaintManager.paint(Unknown Source)
	at javax.swing.JComponent._paintImmediately(Unknown Source)
	at javax.swing.JComponent.paintImmediately(Unknown Source)
	at javax.swing.RepaintManager$4.run(Unknown Source)
	at javax.swing.RepaintManager$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
	at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
	at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
	at javax.swing.RepaintManager.access$1200(Unknown Source)
	at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
}}}
"	defect	closed	normal		Plugin pt_assistant		fixed	template_report	
