Modify

Opened 7 years ago

Closed 7 years ago

Last modified 5 years ago

#15462 closed defect (fixed)

UnsatisfiedLinkError: no jpeg in java.library.path

Reported by: roeland.van.heddegem@… Owned by: team
Priority: normal Milestone: 17.10
Component: Core Version:
Keywords: template_report linux mint javabug Cc:

Description (last modified by Don-vip)

What steps will reproduce the problem?

  1. Clicking in a region with areaselector crashed the application

What is the expected result?

What happens instead?

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

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-10-03 21:43:00 +0200 (Tue, 03 Oct 2017)
Build-Date:2017-10-03 19:50:21
Revision:12921
Relative:URL: ^/trunk

Identification: JOSM/1.5 (12921 nl) Linux Mint 18.2 Sonya
Memory Usage: 466 MB / 807 MB (213 MB allocated, but free)
Java version: 1.8.0_144-b01, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: :0.0 1920x1080
Maximum Screen Size: 1920x1080
VM arguments: [-Djava.security.policy=file:<java.home>/lib/security/javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>/bin, -Djava.security.manager, -Djnlpx.origFilenameArg=${HOME}/.java/deployment/cache/6.0/56/1ee8cfb8-19c33e7f, -Djnlpx.remove=false, -Dsun.awt.warmup=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=45849, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, -Djnlpx.jvm=<java.home>/bin/java]
Dataset consistency test: No problems found

Plugins:
+ areaselector (1505420454)
+ austriaaddresshelper (1495805712)
+ log4j (32699)

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
- E: Handled by bug report queue: java.lang.UnsatisfiedLinkError: no jpeg in java.library.path
- E: Handled by bug report queue: java.lang.NoClassDefFoundError: Could not initialize class com.sun.imageio.plugins.jpeg.JPEGImageReader


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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: WMS-downloader-2 (215)
java.lang.UnsatisfiedLinkError: no jpeg in java.library.path
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
	at java.lang.Runtime.loadLibrary0(Runtime.java:870)
	at java.lang.System.loadLibrary(System.java:1122)
	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 javax.imageio.ImageIO.read(ImageIO.java:1443)
	at javax.imageio.ImageIO.read(ImageIO.java:1352)
	at org.openstreetmap.gui.jmapviewer.Tile.loadImage(Tile.java:246)
	at org.openstreetmap.josm.data.imagery.TMSCachedTileLoaderJob.tryLoadTileImage(TMSCachedTileLoaderJob.java:272)
	at org.openstreetmap.josm.data.imagery.TMSCachedTileLoaderJob.loadingFinished(TMSCachedTileLoaderJob.java:184)
	at org.openstreetmap.josm.data.cache.JCSCachedTileLoaderJob.finishLoading(JCSCachedTileLoaderJob.java:270)
	at org.openstreetmap.josm.data.cache.JCSCachedTileLoaderJob.run(JCSCachedTileLoaderJob.java:237)
	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)

Linux Mint 4.11-014

Attachments (0)

Change History (4)

comment:1 by Don-vip, 7 years ago

Keywords: linux mint javabug added

comment:2 by Don-vip, 7 years ago

Description: modified (diff)
Summary: Clicking in a region with areaselector crashed the applicationUnsatisfiedLinkError: no jpeg in java.library.path

comment:3 by Don-vip, 7 years ago

Resolution: fixed
Status: newclosed

In 13029/josm:

fix #15462 - catch UnsatisfiedLinkError in case of JRE badly installed

comment:4 by Don-vip, 7 years ago

Milestone: 17.10

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.