Modify ↓
Ticket #4652 (closed enhancement: fixed)
Unexpected error when LiveGPS tracking is started
| Reported by: | willis@… | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Component: | Core |
| Version: | Keywords: | template_report | |
| Cc: |
Description
What steps will reproduce the problem?
- Start JOSM
- Click LiveGPS
- Click Track
What is the expected result? LiveGPS starts tracking. What happens instead? Unexpected error. Please provide any additional information below. Attach a screenshot if possible. This problem exists since version 2907.
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2010-03-02 02:31:29 Last Changed Author: bastiK Revision: 3067 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2010-03-02 00:12:01 +0100 (Tue, 02 Mar 2010) Last Changed Rev: 3067 Memory Usage: 34 MB / 1016 MB (12 MB allocated, but free) Java version: 1.6.0_17, Sun Microsystems Inc., Java HotSpot(TM) Client VM Operating system: Windows 7 Plugins: PicLayer,editgpx,livegps,measurement,surveyor,validator,wmsplugin Plugin wmsplugin Version: 19626 Plugin editgpx Version: 19683 Plugin PicLayer Version: 19467 Plugin validator Version: 19688 Plugin livegps Version: 19680 Plugin measurement Version: 19681 Plugin surveyor Version: 19681 java.lang.NoClassDefFoundError: org/openstreetmap/josm/data/gpx/SingleSegmentGpxTrack at livegps.LiveGpsLayer.<init>(LiveGpsLayer.java:51) at livegps.LiveGpsPlugin.enableTracking(LiveGpsPlugin.java:193) at livegps.LiveGpsPlugin$CaptureAction.actionPerformed(LiveGpsPlugin.j
Attachments
Change History
Note: See
TracTickets for help on using
tickets.



Just tested version 3070. The above problem is fixed. But there is a java.lang.NullPointerException when livegps is started before gpsd is running. After ignoring the exception it is possible to start gpsd and live gps seems to work.
Please add an appropriate error message like "Please start gpsd".
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2010-03-03 02:31:44 Last Changed Author: Gubaer Revision: 3070 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2010-03-02 20:55:48 +0100 (Tue, 02 Mar 2010) Last Changed Rev: 3070
Memory Usage: 34 MB / 1016 MB (8 MB allocated, but free) Java version: 1.6.0_17, Sun Microsystems Inc., Java HotSpot(TM) Client VM Operating system: Windows 7
Plugins: PicLayer,livegps,measurement,surveyor,validator,wmsplugin Plugin wmsplugin Version: 19992 Plugin PicLayer Version: 20217 Plugin validator Version: 20155 Plugin livegps Version: 20264 Plugin measurement Version: 19681 Plugin surveyor Version: 19681
java.lang.NullPointerException