Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#4450 closed defect (fixed)

LiveGPS sporadic errors

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

Description

What steps will reproduce the problem?

  1. Connect to GPS receiver with gpsd.
  2. GPS receiver can stay at same position when static navigation is switched off.
  3. Within JOSM load no data, do only the following: 3.1 LiveGPS / Track. 3.2 LiveGPS / Center one time 3.3 Save LiveGPS data under filename test.gpx for the first time and from time to time.
  4. Wait: Sometimes the error occurs for the first time after a few minutes sometimes after more than one hour. Later more frequently, up to each second.
  5. The program continues working before and after klicking "No action".

What is the expected result?
What happens instead?
Besides the message window I did not recognize any effect. But it is uncomfortable to work with JOSM especially in the field when you want enter something but have to click away the message every second.

Please provide any additional information below. Attach a screenshot if
possible.
I am using a netbook Samsung N140 with Windows 7 Starter. I recognized the error the first time using JOSM version 2561 after changing the parameter livegps.refreshintervall from default (empty) to 3. It also occurs with version 2894 and livegps.refreshintervall=3 or empty. Screenshot attached.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2010-01-26 02:32:20
Last Changed Author: bastiK
Revision: 2894
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2010-01-25 23:05:57 +0100 (Mon, 25 Jan 2010)
Last Changed Rev: 2894

Memory Usage: 43 MB / 1016 MB (16 MB allocated, but free)
Java version: 1.6.0_17


Plugins: PicLayer,editgpx,livegps,measurement,surveyor,validator,wmsplugin
Plugin wmsplugin Version: 19626
Plugin editgpx Version: 19434
Plugin PicLayer Version: 19467
Plugin validator Version: 19616
Plugin livegps Version: 19448
Plugin measurement Version: 19450
Plugin surveyor Version: 19479

java.util.ConcurrentModificationException
	at java.util.AbstractList$Itr.checkForComodification(Unknown Source)
	at java.util.AbstractList$Itr.next(Unknown Source)
	at org.openstreetmap.josm.data.gpx.GpxTrack.length(GpxTrack.java:21)
	at org.openstreetmap.josm.data.gpx.GpxData.length(GpxData.java:125)
	at org.openstreetmap.josm.gui.layer.GpxLayer.getToolTipText(G

Attachments (1)

LiveGPSError.jpg (438.0 KB ) - added by willis@… 15 years ago.
Screenshot

Download all attachments as: .zip

Change History (7)

by willis@…, 15 years ago

Attachment: LiveGPSError.jpg added

Screenshot

comment:1 by willis@…, 15 years ago

Just saw and tried JOSM version 2903, updated all plugins. Same LiveGPS sporadic errors. First time after 45 minutes.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2010-01-29 02:32:31
Last Changed Author: bastiK
Revision: 2903
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2010-01-28 19:55:32 +0100 (Thu, 28 Jan 2010)
Last Changed Rev: 2903

Memory Usage: 32 MB / 1016 MB (9 MB allocated, but free)
Java version: 1.6.0_17

Plugins: PicLayer,editgpx,livegps,measurement,surveyor,validator,wmsplugin
Plugin wmsplugin Version: 19626
Plugin editgpx Version: 19434
Plugin PicLayer Version: 19467
Plugin validator Version: 19616
Plugin livegps Version: 19448
Plugin measurement Version: 19450
Plugin surveyor Version: 19479

java.util.ConcurrentModificationException

at java.util.AbstractList$Itr.checkForComodification(Unknown Source)
at java.util.AbstractList$Itr.next(Unknown Source)
at org.openstreetmap.josm.data.gpx.GpxTrack.length(GpxTrack.java:21)
at org.openstreetmap.josm.data.gpx.GpxData.length(GpxData.java:125)
at org.openstreetmap.josm.gui.layer.GpxLayer.getToolTipText(GpxLayer.java:441)
at org.openstreetmap.josm.gui.dialogs.LayerListDialog$LayerListCellRenderer.getListCellRendererComponent(LayerListDialog.java:561)
at javax.swing.plaf.basic.BasicListUI.paintCell(Unknown Source)
at javax.swing.plaf.basic.BasicListUI.paintImpl(Unknown Source)
at javax.swing.plaf.basic.BasicListUI.paint(Unknown Source)
at javax.swing.plaf.ComponentUI.update(Unknown Source)
at javax.swing.JComponent.paintComponent(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.JViewport.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 org.openstreetmap.josm.gui.MultiSplitPane.paintChildren(MultiSplitPane.java:205)
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.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.paintToOffscreen(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paint(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

I've modified gpx handling in my local copy of JOSM (to improve rendering speed). I didn't commit it yet (because new JOSM tested is about to be released), but after it's included it JOSM, livegps plugin will have to be changed a bit and as part of that this exception will also get fixed.

comment:3 by stoecker, 15 years ago

Major changes? Dangerous changes? I think tested will be delayed still a bit, so if not to buggy you may checkin nevertheless.

comment:4 by jttt, 15 years ago

Changes in API, so every plugin that creates/modifies gpx tracks will have to be modified. But I have most of the plugins fixed already so I'll commit it.

comment:5 by jttt, 15 years ago

Resolution: fixed
Status: newclosed

Fixed in [o19680]

comment:6 by jttt, 15 years ago

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