Modify

Opened 5 years ago

Closed 5 years ago

#10266 closed defect (fixed)

error when using gpx audio file

Reported by: heehooman+josm@… Owned by: team
Priority: normal Milestone: 14.07
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Open a GPX file.
  2. Right-click the GPX layer and select "Import audio", and open a time-synced WAV file.
  3. Do something (e.g. playing, "sync audio") which uses the audio file data

What is the expected result?
usual

What happens instead?
error

Please provide any additional information below. Attach a screenshot if
possible.

Even though this bug was reported with latest available version, it occurs with older versions too. Perhaps it is due to the configuration used somehow?

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2014-07-13 01:35:29
Last Changed Author: akks
Revision: 7309
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2014-07-12 20:45:45 +0200 (Sat, 12 Jul 2014)
Last Changed Rev: 7309

Identification: JOSM/1.5 (7309 en) Linux Debian GNU/Linux testing (jessie)
Memory Usage: 325 MB / 670 MB (126 MB allocated, but free)
Java version: 1.7.0_60, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: openjdk-7-jre:amd64-7u60-2.5.0-2
Dataset consistency test: No problems found

Plugin: CommandLine (30436)
Plugin: DirectDownload (30416)
Plugin: ElevationProfile (30416)
Plugin: editgpx (30416)
Plugin: gpxfilter (30416)
Plugin: graphview (30416)
Plugin: imagery_offset_db (30416)
Plugin: lakewalker (30416)
Plugin: livegps (30506)
Plugin: measurement (30416)
Plugin: openvisible (30416)
Plugin: pdfimport (30416)
Plugin: photo_geotagging (30462)
Plugin: turnlanes (30416)
Plugin: turnrestrictions (30454)
Plugin: undelete (30416)

java.lang.NullPointerException
	at org.openstreetmap.josm.gui.layer.markerlayer.MarkerLayer$SynchronizeAudio.actionPerformed(MarkerLayer.java:516)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
	at java.awt.Component.processMouseEvent(Component.java:6516)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3311)
	at java.awt.Component.processEvent(Component.java:6281)
	at java.awt.Container.processEvent(Container.java:2229)
	at java.awt.Component.dispatchEventImpl(Component.java:4872)
	at java.awt.Container.dispatchEventImpl(Container.java:2287)
	at java.awt.Component.dispatchEvent(Component.java:4698)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
	at java.awt.Container.dispatchEventImpl(Container.java:2273)
	at java.awt.Window.dispatchEventImpl(Window.java:2719)
	at java.awt.Component.dispatchEvent(Component.java:4698)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
	at java.awt.EventQueue.access$200(EventQueue.java:103)
	at java.awt.EventQueue$3.run(EventQueue.java:694)
	at java.awt.EventQueue$3.run(EventQueue.java:692)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.awt.EventQueue$4.run(EventQueue.java:708)
	at java.awt.EventQueue$4.run(EventQueue.java:706)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by Don-vip

Milestone: 14.07

comment:2 Changed 5 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 7310/josm:

fix #10266 - fix issue with audio marker synchronisation

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.

Add Comment


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

 
Note: See TracTickets for help on using tickets.