Bug 1185177 - [abrt] josm-0-0.63.7906svn.fc21: Uncaught exception java.lang.ClassNotFoundException in method java.lang.ClassLoader.loadClass()
Summary: [abrt] josm-0-0.63.7906svn.fc21: Uncaught exception java.lang.ClassNotFoundEx...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: josm
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Cédric OLIVIER
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:e37463ae29f4a2423c5f9ef5253...
Depends On: 1177125
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-23 07:12 UTC by jibecfed
Modified: 2015-02-15 03:16 UTC (History)
4 users (show)

Fixed In Version: josm-0-0.64.7906svn.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-15 03:05:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.65 KB, text/plain)
2015-01-23 07:12 UTC, jibecfed
no flags Details
File: environ (2.90 KB, text/plain)
2015-01-23 07:12 UTC, jibecfed
no flags Details
File: jvm_environment (1.94 KB, text/plain)
2015-01-23 07:12 UTC, jibecfed
no flags Details

Description jibecfed 2015-01-23 07:12:08 UTC
Description of problem:
launched josm after taking infos from bug 1177125 :
# su -c 'yum update --enablerepo=updates-testing josm-0-0.63.7906svn.fc20'

Version-Release number of selected component:
josm-0-0.63.7906svn.fc21

Additional info:
reporter:       libreport-2.3.0
abrt-java-connector: 1.0.10
cmdline:        /usr/lib/jvm/jre/bin/java -agentpath:/usr/lib/abrt-java-connector/libabrt-java-connector.so=abrt=on -classpath /usr/share/java/josm.jar:/usr/share/java/metadata-extractor2-2.jar:/usr/share/java/ant.jar:/usr/share/java/signpost-core.jar:/usr/share/java/apache-commons-codec.jar:/usr/share/java/svgsalamander.jar:/usr/share/java/gnu-getopt.jar:/usr/share/java/xmpcore.jar:/usr/share/java/apache-commons-codec.jar JOSM
executable:     /usr/share/java/josm.jar
java_executable: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.25-5.b18.fc21.x86_64/jre/bin/java
kernel:         3.17.8-300.fc21.x86_64
pid:            4097
runlevel:       N 5
uid:            1000

Truncated backtrace:
Exception in thread "main" java.lang.ClassNotFoundException: org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
	at java.net.URLClassLoader$1.run(URLClassLoader.java:372) [jar:file:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.25-5.b18.fc21.x86_64/jre/lib/rt.jar!/java/net/URLClassLoader$1.class]
	at java.net.URLClassLoader$1.run(URLClassLoader.java:361) [jar:file:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.25-5.b18.fc21.x86_64/jre/lib/rt.jar!/java/net/URLClassLoader$1.class]
	at java.security.AccessController.doPrivileged(Native Method) [jar:file:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.25-5.b18.fc21.x86_64/jre/lib/rt.jar!/java/security/AccessController.class]
	at java.net.URLClassLoader.findClass(URLClassLoader.java:360) [jar:file:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.25-5.b18.fc21.x86_64/jre/lib/rt.jar!/java/net/URLClassLoader.class]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424) [jar:file:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.25-5.b18.fc21.x86_64/jre/lib/rt.jar!/java/lang/ClassLoader.class]
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) [jar:file:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.25-5.b18.fc21.x86_64/jre/lib/rt.jar!/sun/misc/Launcher$AppClassLoader.class]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357) [jar:file:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.25-5.b18.fc21.x86_64/jre/lib/rt.jar!/java/lang/ClassLoader.class]
	at org.openstreetmap.josm.tools.I18n.init(I18n.java:393) [jar:file:/usr/share/java/josm.jar!/org/openstreetmap/josm/tools/I18n.class]
	at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:288) [jar:file:/usr/share/java/josm.jar!/org/openstreetmap/josm/gui/MainApplication.class]

Comment 1 jibecfed 2015-01-23 07:12:09 UTC
Created attachment 983187 [details]
File: backtrace

Comment 2 jibecfed 2015-01-23 07:12:10 UTC
Created attachment 983188 [details]
File: environ

Comment 3 jibecfed 2015-01-23 07:12:11 UTC
Created attachment 983189 [details]
File: jvm_environment

Comment 4 Adam Williamson 2015-01-24 06:54:05 UTC
Crashed on startup.

abrt-java-connector: 1.0.10
cmdline:        /usr/lib/jvm/jre/bin/java -agentpath:/usr/lib/abrt-java-connector/libabrt-java-connector.so=abrt=on -classpath /usr/share/java/josm.jar:/usr/share/java/metadata-extractor2-2.jar:/usr/share/java/ant.jar:/usr/share/java/signpost-core.jar:/usr/share/java/apache-commons-codec.jar:/usr/share/java/svgsalamander.jar:/usr/share/java/gnu-getopt.jar:/usr/share/java/xmpcore.jar:/usr/share/java/apache-commons-codec.jar JOSM
java_executable: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.25-5.b18.fc21.x86_64/jre/bin/java
kernel:         3.18.3-201.fc21.x86_64
package:        josm-0-0.63.7906svn.fc21
reason:         Uncaught exception java.lang.ClassNotFoundException in method java.lang.ClassLoader.loadClass()
runlevel:       N 5
uid:            1001

Comment 5 Fedora Update System 2015-01-24 08:26:50 UTC
josm-0-0.64.7906svn.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/josm-0-0.64.7906svn.fc21

Comment 6 Fedora Update System 2015-01-25 07:34:24 UTC
josm-0-0.64.7906svn.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/josm-0-0.64.7906svn.fc20

Comment 7 lnie 2015-01-26 08:45:07 UTC
josm-0-0.64.7906svn.fc21 works

Comment 8 jibecfed 2015-01-26 20:10:04 UTC
Sorry but it does not on my computer.
Even after java update :
  java-1.8.0-openjdk.x86_64 1:1.8.0.31-3.b13.fc21
  java-1.8.0-openjdk-devel.x86_64 1:1.8.0.31-3.b13.fc21
  java-1.8.0-openjdk-headless.x86_64 1:1.8.0.31-3.b13.fc21

[jb@localhost ~]$ josm 
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/compress/compressors/bzip2/BZip2CompressorInputStream
	at org.openstreetmap.josm.tools.I18n.init(I18n.java:393)
	at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:288)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
	at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 2 more
ABRT problem creation: 'success'

[root@localhost jb]# yum info josm
Modules complémentaires chargés : langpacks
Paquets installés
Nom                 : josm
Architecture        : noarch
Version             : 0
Révision            : 0.63.7906svn.fc21
Taille              : 8.9 M
Dépôt               : installed
Depuis le dépôt     : updates-testing
Résumé              : An editor for  OpenStreetMap (OSM)
URL                 : http://josm.openstreetmap.de/
Licence             : GPLv2+
Description         : JOSM is an editor for OpenStreetMap (OSM) written in Java
                    : Currently it supports loading stand alone GPX track data from the OSM database,
                    : loading and editing existing nodes, ways, metadata tags and relations.
                    : 
                    : OpenStreetMap is a project aimed squarely at creating and providing
                    : free geographic data such as street maps to anyone who wants them.
                    : The project was started because most maps you think of as free actually
                    : have legal or technical restrictions on their use, holding back people
                    : from using them in creative, productive or unexpected ways.

Comment 9 Adam Williamson 2015-01-26 23:05:43 UTC
It does seem to work here. josm has a dep on apache-commons-compress , note. do you somehow not have that installed? does a reboot help?

Comment 10 Fedora Update System 2015-01-27 02:55:57 UTC
Package josm-0-0.64.7906svn.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing josm-0-0.64.7906svn.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-1179/josm-0-0.64.7906svn.fc20
then log in and leave karma (feedback).

Comment 11 Fedora Update System 2015-02-15 03:05:10 UTC
josm-0-0.64.7906svn.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2015-02-15 03:16:54 UTC
josm-0-0.64.7906svn.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.