Modify

Opened 16 years ago

Closed 16 years ago

#2688 closed defect (fixed)

[PATCH] josm crashes on exit (routes plugin)

Reported by: umehlig Owned by: team
Priority: minor Milestone:
Component: Plugin Version: latest
Keywords: Cc:

Description

JOSM crashed when closing the main window (after an unsuccessful try to upload some data).
System is i386 Linux with Debian unstable.

Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 1632
Node Kind: directory
Last Changed Author: stoecker
Last Changed Rev: 1632
Last Changed Date: 2009-06-02 13:44:16 +0200 (Tue, 02 Jun 2009)

Java version: 1.6.0_0
Plugins: DirectUploadcolorschemeeditgpxlakewalkermeasurementmultipolyopenstreetbugsopenvisibleroutesroutingslippymaptageditortagging-preset-testerusertoolsutilspluginvalidatorwaydownloaderwmsplugin
Plugin DirectUpload Version: 14856
Plugin colorscheme Version: 14233
Plugin editgpx Version: 15186
Plugin lakewalker Version: 14015
Plugin measurement Version: 14015
Plugin multipoly Version: ${version.entry.commit.revision}
Plugin openstreetbugs Version: 14826
Plugin openvisible Version: 14233
Plugin routes
Plugin routing Version: 15106
Plugin slippymap Version: 14732
Plugin tageditor Version: 15319
Plugin tagging-preset-tester Version: 14015
Plugin usertools Version: 14125
Plugin utilsplugin Version: 15127
Plugin validator Version: 15127
Plugin waydownloader Version: 15412
Plugin wmsplugin Version: 15091

java.lang.NullPointerException

at org.openstreetmap.josm.Main.removeLayer(Main.java:169)
at org.openstreetmap.routes_plugin.RoutesPlugin$2.run(RoutesPlugin.java:45)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:602)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

Attachments (1)

removeLayer.patch (841 bytes ) - added by jttt 16 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by stoecker, 16 years ago

Component: CorePlugin
Summary: josm crashes on exitjosm crashes on exit (routing plugin)

by jttt, 16 years ago

Attachment: removeLayer.patch added

comment:2 by jttt, 16 years ago

Summary: josm crashes on exit (routing plugin)[PATCH] josm crashes on exit (routes plugin)

removeLayer should probably check for map frame being null. See attached patch

comment:3 by stoecker, 16 years ago

Resolution: fixed
Status: newclosed

In r1633.

Modify Ticket

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