Modify

Opened 13 years ago

Closed 13 years ago

#1659 closed defect (duplicate)

IndexOutOfBounds on NMEA log import

Reported by: anonymous Owned by: anonymous
Priority: major Milestone:
Component: Core Version: latest
Keywords: NMEA Cc:

Description

I discovered an IndexOutOfBounds on a NMEA log generated by NMEAlogger on a TomTom.
Untill it always worked. The file itself is converted to GPX by gpsbabel-1.3.4-beta20070711 without any problems. I attached the NMEA and GPX in the zip.

Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 1042
Node Kind: directory
Last Changed Author: stoecker
Last Changed Rev: 1042
Last Changed Date: 2008-10-15 10:09:28 +0200 (Wed, 15 Oct 2008)


java.lang.ArrayIndexOutOfBoundsException: 3
	at org.openstreetmap.josm.io.NmeaReader.parseLatLon(NmeaReader.java:159)
	at org.openstreetmap.josm.io.NmeaReader.<init>(NmeaReader.java:143)
	at org.openstreetmap.josm.actions.OpenAction.openFileAsNmea(OpenAction.java:126)
	at org.openstreetmap.josm.actions.OpenAction.openFile(OpenAction.java:63)
	at org.openstreetmap.josm.actions.OpenAction.actionPerformed(OpenAction.java:52)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
	at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(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)

Attachments (0)

Change History (3)

comment:1 Changed 13 years ago by anonymous

Sh..ugar

Can't get the zip small enough.

grizzly baer

comment:2 Changed 13 years ago by egore911@…

Owner: changed from framm to anonymous
Status: newassigned

Can you please send the zipped nmea and gpx to me?

comment:3 Changed 13 years ago by Hasienda

Resolution: duplicate
Status: assignedclosed

found an exact matching error reported in #1448, with better debugging, where it reads "Unknown Source" here, plus a patch already on the way

so this should be closed as a duplicate for sure

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain anonymous.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.