Modify

Opened 4 years ago

Closed 4 years ago

#21113 closed defect (invalid)

Error tagging photo

Reported by: rstp@… Owned by: team
Priority: normal Milestone:
Component: Core image mapping Version: tested
Keywords: template_report java8 Cc:

Description

What steps will reproduce the problem?

  1. drag picture onto JOSM screen. New icon created onto new <Geotagged image> layer
  2. click on new pictogram. Error screen pops up. Error screen can be closed and resume operations.
  3. I'm tryng to find out how to use the geotagging features of JOSM

What is the expected result?

What happens instead?

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

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-07-12 02:41:41 +0200 (Mon, 12 Jul 2021)
Build-Date:2021-07-12 00:42:49
Revision:18004
Relative:URL: ^/trunk

Identification: JOSM/1.5 (18004 en) Linux Ubuntu 20.04.2 LTS
Memory Usage: 807 MB / 1820 MB (306 MB allocated, but free)
Java version: 1.8.0_262-ea-b01, IcedTea, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.nimbus.NimbusLookAndFeel
Screen: :0.0 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: en_CA.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_CA
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: ubuntu:GNOME
fonts-noto: fonts-noto:-
Dataset consistency test: No problems found

Plugins:
+ FastDraw (35640)
+ ImageWayPoint (35640)
+ InfoMode (35543)
+ PicLayer (1.0.1)
+ QuickLabel (18)
+ apache-commons (35524)
+ apache-http (35589)
+ editgpx (35562)
+ ejml (35458)
+ ext_tools (35640)
+ geotools (35458)
+ importvec (35567)
+ jaxb (35543)
+ jna (35662)
+ jruby-complete-9.2.7.0
+ jts (35458)
+ log4j (35458)
+ measurement (35640)
+ namemanager (35567)
+ native_password_manager (35665)
+ opendata (35640)
+ openvisible (35640)
+ osm-obj-info (60)
+ pdfimport (35640)
+ photo_geotagging (35738)
+ photoadjust (35770)
+ print (35640)
+ reverter (35732)
+ routing (35640)
+ scripting (30798)
+ splinex (35718)
+ tageditor (35640)
+ todo (30306)
+ utilsplugin2 (35691)
+ waydownloader (35640)
+ waypoint_search (35562)
+ wikipedia (1.1.4)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/BuildingPreset&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Community_Centre&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/hiking_routes_with_trail_marking&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/SentieriItaliani&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/OpenPisteMap&zip=1

Last errors/warnings:
- 00000.660 W: Missing plugin main version in plugin jruby-complete-9.2.7.0
- 00001.046 W: Missing plugin main version in plugin jruby-complete-9.2.7.0
- 00003.412 W: Missing plugin main version in plugin jruby-complete-9.2.7.0
- 00006.531 W: Failed to create cache path: /home/data1/Geo/.cache/JOSM/tiles
- 00028.510 W: Failed to create cache path: /home/data1/Geo/.cache/JOSM/tiles
- 00050.828 E: Thread main-worker-0 raised java.lang.UnsatisfiedLinkError: <java.home>/lib/amd64/libjavajpeg.so: libjpeg.so.62: cannot open shared object file: No such file or directory
- 00050.833 E: Handled by bug report queue: java.lang.UnsatisfiedLinkError: <java.home>/lib/amd64/libjavajpeg.so: libjpeg.so.62: cannot open shared object file: No such file or directory



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: main-worker-0 (25)
java.lang.UnsatisfiedLinkError: /usr/local/share/java/openjdk-1.8.0_262-ea/jre/lib/amd64/libjavajpeg.so: libjpeg.so.62: cannot open shared object file: No such file or directory
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1946)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1849)
	at java.lang.Runtime.loadLibrary0(Runtime.java:871)
	at java.lang.System.loadLibrary(System.java:1124)
	at com.sun.imageio.plugins.jpeg.JPEGImageReader$1.run(JPEGImageReader.java:92)
	at com.sun.imageio.plugins.jpeg.JPEGImageReader$1.run(JPEGImageReader.java:90)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.imageio.plugins.jpeg.JPEGImageReader.<clinit>(JPEGImageReader.java:89)
	at com.sun.imageio.plugins.jpeg.JPEGImageReaderSpi.createReaderInstance(JPEGImageReaderSpi.java:85)
	at javax.imageio.spi.ImageReaderSpi.createReaderInstance(ImageReaderSpi.java:320)
	at javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:529)
	at javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:513)
	at org.openstreetmap.josm.tools.ImageProvider.read(ImageProvider.java:1740)
	at org.openstreetmap.josm.tools.ImageProvider.read(ImageProvider.java:1689)
	at org.openstreetmap.josm.gui.layer.geoimage.ImageEntry.read(ImageEntry.java:147)
	at org.openstreetmap.josm.gui.layer.geoimage.ImageDisplay$LoadImageRunnable.run(ImageDisplay.java:256)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

Attachments (0)

Change History (4)

comment:1 by rstp@…, 4 years ago

Using openjdk-1.8.0_262-ea

Works fine using jdk-11.0.11+9

comment:2 by skyper, 4 years ago

openjdk-1.8.0_262-ea is outdated, please, update to latest build of 1.8 (java8) or better stay with java11.

This path looks strange:

/usr/local/share/java/openjdk-1.8.0_262-ea/jre/lib/amd64/libjavajpeg.so

on Debian it is /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/libjavajpeg.so. Is this a local jdk build?

comment:3 by skyper, 4 years ago

Component: CoreCore image mapping
Keywords: java8 added

comment:4 by Don-vip, 4 years ago

Resolution: invalid
Status: newclosed

Using an outdated development version of Java 8 is asking for trouble. Please remove it and stick with a stable version.

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.