Opened 10 years ago

Last modified 6 years ago

#12209 closed defect

IAE at CorrelateGpxWithImages$LoadGpxDataActionListener.actionPerformed - when correlating image with gpx track — at Version 2

Reported by: anonymous Owned by: team
Priority: normal Milestone: 19.11
Component: Core image mapping Version:
Keywords: gpx correlate image Cc: Bjoeni

Description (last modified by Don-vip)

Ошибка при сопоставлении изображении с треком

Файл -> Открыть -> Изображение .jpg
В новом окне "Сопоставить изображение с GPX треком" выбрать трек, нажать "OK". Первые три раза не приведут ни к чему, четвертый приводит к ошибке.

Google translated version:
File -> Open -> Image .jpg
New window "Compare the image with the GPX track" to select the track, press "OK". The first three times does not lead to anything, and the fourth an error.

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2015-11-24 00:04:12 +0100 (Tue, 24 Nov 2015)
Build-Date:2015-11-23 23:14:21
Revision:9060
Relative:URL: ^/trunk

Identification: JOSM/1.5 (9060 ru) Windows 7 64-Bit
Memory Usage: 106 MB / 247 MB (31 MB allocated, but free)
Java version: 1.8.0_66, Oracle Corporation, Java HotSpot(TM) Client VM
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:C:\Program Files (x86)\Java\jre1.8.0_66\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.remove=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=51517, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAA==]

Plugins:
- turnrestrictions (31772)

Last errors/warnings:
- E: java.lang.IllegalArgumentException: setSelectedIndex: 1 out of bounds
- E: java.lang.IllegalArgumentException: setSelectedIndex: 1 out of bounds

java.lang.IllegalArgumentException: setSelectedIndex: 1 out of bounds
	at javax.swing.JComboBox.setSelectedIndex(Unknown Source)
	at org.openstreetmap.josm.gui.layer.geoimage.CorrelateGpxWithImages$LoadGpxDataActionListener.actionPerformed(CorrelateGpxWithImages.java:270)
	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$500(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$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.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$JavaSecurityAccessImpl.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)

Change History (2)

comment:1 by wiktorn, 10 years ago

Description: modified (diff)
Summary: Ошибка при сопоставлении изображении с трекомError when correlating image with gpx track (was: Ошибка при сопоставлении изображении с треком)

comment:2 by Don-vip, 8 years ago

Description: modified (diff)
Keywords: gpx correlate image added
Summary: Error when correlating image with gpx track (was: Ошибка при сопоставлении изображении с треком)IAE at CorrelateGpxWithImages$LoadGpxDataActionListener.actionPerformed - when correlating image with gpx track
Note: See TracTickets for help on using tickets.