Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#4246 closed defect (fixed)

routes-Plugin crash

Reported by: anonymous Owned by: jttt
Priority: major Milestone:
Component: Plugin routes Version:
Keywords: template_report Cc:

Description

Activate routes-Plugin and restart JOSM.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2009-12-27 02:31:29
Last Changed Author: Gubaer
Revision: 2680
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2009-12-26 22:23:13 +0100 (Sat, 26 Dec 2009)
Last Changed Rev: 2680

Memory Usage: 60 MB / 63 MB (15 MB allocated, but free)
Java version: 1.6.0_12

Plugins: AddrInterpolation,buildings_tools,colorscheme,editgpx,graphview,openstreetbugs,osmarender,plastic_laf,remotecontrol,routes,routing,tageditor,validator,wmsplugin
Plugin plastic_laf Version: 14016
Plugin AddrInterpolation Version: 18874
Plugin buildings_tools Version: 28
Plugin colorscheme Version: 18413
Plugin editgpx Version: 19052
Plugin graphview Version: 19054
Plugin openstreetbugs Version: 19060
Plugin osmarender Version: 18971
Plugin remotecontrol Version: 18678
Plugin routes Version: 19064
Plugin routing Version: 19066
Plugin tageditor Version: 18955
Plugin validator Version: 19224
Plugin wmsplugin Version: 18953

java.lang.NullPointerException
	at org.openstreetmap.josm.plugins.routes.RouteDefinition.matches(RouteDefinition.java:30)
	at org.openstreetmap.josm.plugins.routes.RouteLayer.paint(RouteLayer.java:109)
	at org.openstreetmap.josm.gui.MapView.paint(MapView.java:453)
	at javax.swing.JComponent.paintChildren(JComponent.java:864)
	at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1030)
	at javax.swing.JComponent.paint(JComponent.java:1036)
	at javax.swing.JComponent.paintChildren(JComponent.java:864)
	at javax.swing.JComponent.paint(JComponent.java:1036)
	at javax.swing.JComponent.paintChildren(JComponent.java:864)
	at javax.swing.JComponent.paint(JComponent.java:1036)
	at javax.swing.JComponent.paintChildren(JComponent.java:864)
	at javax.swing.JComponent.paint(JComponent.java:1036)
	at javax.swing.JComponent.paintChildren(JComponent.java:864)
	at javax.swing.JComponent.paint(JComponent.java:1036)
	at javax.swing.JLayeredPane.paint(JLayeredPane.java:564)
	at javax.swing.JComponent.paintChildren(JComponent.java:864)
	at javax.swing.JComponent.paintToOffscreen(JComponent.java:5129)
	at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:277)
	at javax.swing.RepaintManager.paint(RepaintManager.java:1217)
	at javax.swing.JComponent.paint(JComponent.java:1013)
	at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
	at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
	at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
	at java.awt.Container.paint(Container.java:1780)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
	at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
	at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Attachments (0)

Change History (3)

comment:1 by jttt, 15 years ago

Resolution: fixed
Status: newclosed

The NPE is fixed in r19339. Other thing is that the used search pattern should have been parsed correctly, I'll have to fixed that in JOSM.

comment:2 by jttt, 15 years ago

So the pattern is not correct, because it contains network=cz:kct (the colon is the problem, it should be "cz:kct")

comment:3 by anonymous, 15 years ago

Ticket #4301 has been marked as a duplicate of this ticket.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain jttt.
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.