#9177 closed defect (fixed)
Bilder mit Track manuell justieren
Reported by: | geozeisig | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 13.11 |
Component: | Core | Version: | latest |
Keywords: | Bilder mit Track synchronisieren | Cc: | Don-vip |
Description
Ich versuche zu einen track Bilder zu importieren. In dem sich öffnenden Fenster muss oben eine GPS-Spur ausgewählt werden. Es werden aber keine tracks zur Auswahl angeboten. Auch mit "eine andere Spur laden" erhält man einen Fehler
Attachments (0)
Change History (10)
comment:2 by , 12 years ago
Ich importiere die Bilder im Ebenendialog mit Rechtsklick. Da kein track einstellbar ist wird auch nichts Importiert. Wenn die Bilder mit anderen Programmen georeferenziert sind, werden sie importiert.
Mit der Version Tested ist noch alles OK.
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2013-10-08 01:35:02 Last Changed Author: Don-vip Revision: 6317 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2013-10-07 22:45:15 +0200 (Mon, 07 Oct 2013) Last Changed Rev: 6317 Identification: JOSM/1.5 (6317 de) Windows 7 32-Bit Memory Usage: 108 MB / 989 MB (40 MB allocated, but free) Java version: 1.7.0_25, Oracle Corporation, Java HotSpot(TM) Client VM VM arguments: [-Xmx1024M] Dataset consistency test: No problems found Plugin: FixAddresses (29971) Plugin: OpeningHoursEditor (29854) Plugin: PicLayer (29854) Plugin: SeaMapEditor (29918) Plugin: buildings_tools (30010) Plugin: mirrored_download (29854) Plugin: openstreetbugs (30004) Plugin: terracer (29854) Plugin: utilsplugin2 (30015) java.lang.IllegalArgumentException: setSelectedIndex: 0 out of bounds at javax.swing.JComboBox.setSelectedIndex(Unknown Source) at org.openstreetmap.josm.gui.layer.geoimage.CorrelateGpxWithImages$LoadGpxDataActionListener.actionPerformed(CorrelateGpxWithImages.java:156) 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.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.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$200(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(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:4 by , 12 years ago
Cc: | added |
---|
Replying to bastiK:
Confirmed, seems to be a recent regression.
I didn't get any exception, but the "gpx track not appearing in the combo" in the Correlate images with GPX track dialog looks to be caused by r6246.
JosmComboBox used to take Vector directly (till r6288, that is) and doesn't cope well with List it's getting now.
comment:5 by , 12 years ago
I thought having checked that this constructor wasn't used before removing it, you can reads it if it's not the case (not sure to understand this ticket)
follow-up: 8 comment:6 by , 12 years ago
-
src/org/openstreetmap/josm/gui/layer/geoimage/CorrelateGpxWithImages.java
301 301 302 302 Collections.sort(vtTimezones); 303 303 304 cbTimezones = new JosmComboBox(vtTimezones );304 cbTimezones = new JosmComboBox(vtTimezones.toArray()); 305 305 306 306 String tzId = Main.pref.get("geoimage.timezoneid", ""); 307 307 TimeZone defaultTz; … … 475 475 476 476 panelCb.add(new JLabel(tr("GPX track: "))); 477 477 478 cbGpx = new JosmComboBox(gpxLst );478 cbGpx = new JosmComboBox(gpxLst.toArray()); 479 479 if (defaultItem != null) { 480 480 cbGpx.setSelectedItem(defaultItem); 481 481 }
helped, I am not sure though, if it's the right solution.
comment:8 by , 12 years ago
comment:9 by , 11 years ago
Milestone: | → 13.11 (6383) |
---|
Bitte etwas mehr Informationen!