Opened 18 years ago
Closed 18 years ago
#49 closed defect (fixed)
exception when starting with 'josm file.gpx'
Reported by: | Owned by: | imi | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | unspecified | Version: | latest |
Keywords: | Cc: |
Description
$ java -Xmx1024m -jar svn.openstreetmap.org/editors/josm/dist/josm-custom.jar processed/20061125_163008.gpx
java.lang.NullPointerException
at org.openstreetmap.josm.gui.layer.RawGpsLayer$1.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
It works fine provided there is an OSM data layer first, e.g. something like:
josm map.osm file1.gpx file2.gpx