Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#4652 closed enhancement (fixed)

Unexpected error when LiveGPS tracking is started

Reported by: willis@… Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Start JOSM
  2. Click LiveGPS
  3. 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 (0)

Change History (3)

comment:1 by willis@…, 15 years ago

Type: defectenhancement

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

at org.openstreetmap.josm.gui.layer.GpxLayer.paint(GpxLayer.java:613)
at livegps.LiveGpsLayer.paint(LiveGpsLayer.java:104)
at org.openstreetmap.josm.gui.MapView.paint(MapView.java:460)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JSplitPane.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JLayeredPane.paint(Unknown Source)
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.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(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)

comment:2 by jttt, 15 years ago

Resolution: fixed
Status: newclosed

(In [3097]) Fix #4652 Unexpected error when LiveGPS tracking is started

comment:3 by anonymous, 15 years ago

Ticket #4672 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 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.