Modify

Opened 6 months ago

Closed 6 months ago

Last modified 6 months ago

#23976 closed defect (duplicate)

Exception upon clicking on a georeferenced JPG image from a Garmin Montana GPS

Reported by: AlaskaDave Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

What is the expected result?

What happens instead?

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

Revision:19039
Build-Date:2024-04-10 13:32:33

Identification: JOSM/1.5 (19039 en) Windows 10 64-Bit
OS Build number: Windows 10 Pro 2009 (19045)
Memory Usage: 550 MB / 4030 MB (152 MB allocated, but free)
Java version: 21.0.2+13-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 2560×1440 (scaling 1.25×1.25)
Maximum Screen Size: 2560×1440
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: Cp1252
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.19039, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=%UserProfile%\AppData\Local\JOSM\JOSM.exe]
Dataset consistency test: No problems found

Plugins:
+ ColorPlugin (v1.1.2.1)
+ DirectDownload (36178)
+ DirectUpload (36178)
+ FastDraw (36226)
+ ImproveWay (32)
+ Mapillary (2.2.1)
+ OpeningHoursEditor (36241)
+ SimplifyArea (36209)
+ apache-commons (36176)
+ apache-http (36176)
+ buildings_tools (36226)
+ changeset-viewer (0.0.7)
+ ejml (36176)
+ geotools (36176)
+ imagery_offset_db (36226)
+ jackson (36176)
+ jaxb (36118)
+ jna (36176)
+ jts (36004)
+ log4j (36241)
+ measurement (36200)
+ opendata (36200)
+ photo_geotagging (36178)
+ reltoolbox (36241)
+ tageditor (36200)
+ todo (137)
+ turnlanes (36206)
+ turnlanes-tagging (0.0.5)
+ turnrestrictions (36226)
+ utilsplugin2 (36241)
+ waydownloader (36196)
+ wikipedia (605)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/BuildingPreset&zip=1
+ %UserProfile%\Dropbox (Personal)\GPS Files\Ponds.xml
+ %UserProfile%\Dropbox (Personal)\GPS Files\ResHwy.xml
+ %UserProfile%\Dropbox (Personal)\GPS Files\CoinOp_Fuel.xml
+ %UserProfile%\Dropbox (Personal)\GPS Files\Land-Natural.xml
+ %UserProfile%\Dropbox (Personal)\GPS Files\Wat.xml
+ %UserProfile%\Dropbox (Personal)\GPS Files\Stream.xml
+ %UserProfile%\Dropbox (Personal)\GPS Files\Service.xml
+ %UserProfile%\Dropbox (Personal)\GPS Files\TAP Service.xml
+ %UserProfile%\Dropbox (Personal)\GPS Files\Waters.xml
+ %UserProfile%\Dropbox (Personal)\GPS Files\BorC.xml
+ %UserProfile%\Dropbox (Personal)\GPS Files\Hamlet.xml
+ %UserProfile%\Dropbox (Personal)\GPS Files\address.xml
+ %UserProfile%\Dropbox (Personal)\GPS Files\UnclassHwy.xml
+ %UserProfile%\Dropbox (Personal)\GPS Files\ResArea.xml
+ %UserProfile%\Dropbox (Personal)\GPS Files\Benchmark.xml
+ %UserProfile%\Dropbox (Personal)\GPS Files\Bbl_Fuel.xml
+ %UserProfile%\Dropbox (Personal)\GPS Files\Milemarker.xml
+ %UserProfile%\Dropbox (Personal)\GPS Files\NWR.xml
+ %UserProfile%\Dropbox (Personal)\GPS Files\DJS-Ways.xml
+ https://code.osm-tools.org/latest/josm-thai-presets.zip
+ %UserProfile%\Dropbox (Personal)\GPS Files\wlan.xml
+ %UserProfile%\Dropbox (Personal)\GPS Files\All_Fuel.xml
+ %UserProfile%\Dropbox (Personal)\GPS Files\Daves-Misc.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/TurnLanes&zip=1
+ https://github.com/simonpoole/beautified-JOSM-preset/releases/latest/download/josm.zip
+ https://josm.openstreetmap.de/josmfile?page=Presets/Historic_Stone&zip=1

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/Potlatch2&zip=1
- https://downloads.osm-tools.org/FB_edits.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Whitewater&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Enhanced_Lane_and_Road_Attributes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/HiDPISupport&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Incline&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Waterways&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Greenery&zip=1

Last errors/warnings:
- 00011.706 E: Failed to locate image 'presets/boundaries.png'
- 00011.707 W:  Protected Area: Could not get presets icon presets/boundaries.png
- 00011.816 E: Failed to locate image ''
- 00011.816 W: [RELATION] Site: Could not get presets icon 
- 00015.115 E: java.lang.NumberFormatException: For input string: "test"
- 00136.194 E: Failed to locate image 'Flag, Blue'
- 00136.209 E: Failed to locate image 'Flag, Blue'
- 00136.211 E: Failed to locate image 'Flag, Blue'
- 00136.213 E: Failed to locate image 'Flag, Blue'
- 00355.954 E: Handled by bug report queue: java.nio.file.InvalidPathException: Illegal char <:> at index 24: C:/Users/<user.name>/Desktop/C:/Users/<user.name>/AppData/Local/Garmin/BaseCamp/DeviceCache/3927370940/GeotaggedPhotos/DSC00283.jpg



=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (41) of main
java.nio.file.InvalidPathException: Illegal char <:> at index 24: C:/Users/Alask/Desktop/C:/Users/Alask/AppData/Local/Garmin/BaseCamp/DeviceCache/3927370940/GeotaggedPhotos/DSC00283.jpg
	at java.base/sun.nio.fs.WindowsPathParser.normalize(Unknown Source)
	at java.base/sun.nio.fs.WindowsPathParser.parse(Unknown Source)
	at java.base/sun.nio.fs.WindowsPathParser.parse(Unknown Source)
	at java.base/sun.nio.fs.WindowsPath.parse(Unknown Source)
	at java.base/sun.nio.fs.WindowsUriSupport.fromUri(Unknown Source)
	at java.base/sun.nio.fs.WindowsFileSystemProvider.getPath(Unknown Source)
	at java.base/java.nio.file.Path.of(Unknown Source)
	at java.base/java.nio.file.Paths.get(Unknown Source)
	at org.openstreetmap.josm.gui.layer.geoimage.RemoteEntry.getInputStream(RemoteEntry.java:300)
	at org.openstreetmap.josm.gui.layer.geoimage.ImageMetadata.extractExif(ImageMetadata.java:269)
	at org.openstreetmap.josm.gui.layer.markerlayer.ImageMarker.getRemoteEntry(ImageMarker.java:55)
	at org.openstreetmap.josm.gui.layer.markerlayer.ImageMarker.actionPerformed(ImageMarker.java:47)
	at org.openstreetmap.josm.gui.layer.markerlayer.MarkerLayer$MarkerMouseAdapter.mouseReleased(MarkerLayer.java:615)
	at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
	at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.desktop/java.awt.Component.processEvent(Unknown Source)
	at java.desktop/java.awt.Container.processEvent(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

Attachments (0)

Change History (2)

comment:1 by taylor.smock, 6 months ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #22201.
> Identification: JOSM/1.5 (19039 en) Windows 10 64-Bit

Java version: 21.0.2+13-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM

Please update. Current tested release is r19230, and the bundled JVM has been updated which should fix your problem.

comment:2 by taylor.smock, 6 months ago

Marked as duplicate of #23978.
Not actually a duplicate of #22201 -- different path, and we should probably catch this exception.

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. 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.