Modify

Opened 16 years ago

Closed 16 years ago

#1327 closed defect (fixed)

I tried to sync the audio track with my gps track, but it doesn't work!

Reported by: spatro Owned by: framm
Priority: critical Milestone:
Component: Core Version: latest
Keywords: Cc:

Description

Path: josm
URL: http://www.openstreetmap.de/svn/josm
Repository Root: http://www.openstreetmap.de/svn/josm
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 723
Node Kind: directory
Last Changed Rev: 723
Last Changed Date: 2008-07-15 00:02:51 +0200 (Tue, 15 Jul 2008)

java.lang.NullPointerException

at org.openstreetmap.josm.gui.layer.markerlayer.PlayHeadMarker.synchronize(PlayHeadMarker.java:258)
at org.openstreetmap.josm.actions.mapmode.PlayHeadDragMode.mouseReleased(PlayHeadDragMode.java:74)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
at java.awt.Component.processMouseEvent(Component.java:6041)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5806)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4413)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2440)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

Attachments (1)

W20080726150311.gpx (60.4 KB ) - added by anonymous 16 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by anonymous, 16 years ago

Can you make this reproducable.

  • Upload related files
  • Give a step by step guide how to get to this error

comment:2 by anonymous, 16 years ago

Resolution: worksforme
Status: newclosed

Closed due to missing response.

comment:3 by nicolas@…, 16 years ago

Resolution: worksforme
Status: closedreopened

I'm having the exact same problem. I could upload the files but it is a 31MB WAV file. I could upload the 1.4 MB WMA file if that would be sufficient. I'll upload the GPX.

Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 746
Node Kind: directory
Last Changed Author: framm
Last Changed Rev: 746
Last Changed Date: 2008-08-05 02:14:58 +0200 (Tue, 05 Aug 2008)

Searching for "NullPointerException synchronize" leads to duplicate issues, never addressed.

by anonymous, 16 years ago

Attachment: W20080726150311.gpx added

comment:4 by anonymous, 16 years ago

I have an audio recording that is much shorter than the GPX track and it started about halfway through. What I'm doing is the following:

  • Pause playback
  • Shift-drag the red triangle forward on the GPX track
  • Click the audio marker just created to start the audio playback
  • Hit F6 few times to go back
  • Pause playback
  • Shift-drag red marker again to create a new synchronization point

The first sync point is very imprecise, so this is why I go back to sync again for more precision. I could certainly try to synchronize only once.

Maybe I don't understand how synchronization works. Is it possible to have more than one synchronization point? Perhaps that's my error... but it should be reported to the user, or the first synchronization point be cleared when synchronizing at an other point.

comment:5 by nicolas@…, 16 years ago

BTW, is there a way to log in Trac? I'm tired of writing my email every time I post...

comment:6 by anonymous, 16 years ago

Resolution: fixed
Status: reopenedclosed

Revision r762 should fix this problem.

Reopen report if not.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain framm.
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.