Bug#356805: classpath: missing java.lang.Thread.UncaughtExceptionHandler interface

Petter Reinholdtsen pere at hungry.com
Tue Mar 14 07:54:45 UTC 2006


Package: classpath
Version: 2:0.90-1

When trying to run the java standalone client for Openstreetmap,
<URL:http://www.eigenheimstrasse.de/josm/josm-latest.jar>, it crashes
with the given error message.  According to Michael Koch on IRC, this
is because the java.lang.Thread.UncaughtExceptionHandler interface
that was introduced in java 1.5 is missing in classpath.

Instructions on how to find the source for josm is available from
<URL:http://wiki.eigenheimstrasse.de/wiki/JOSM/Install_Notes>.

% jamvm -jar josm-latest.jar
java.lang.reflect.InvocationTargetException
   at java.lang.reflect.Method.invokeNative (Native Method)
   at java.lang.reflect.Method.invoke (Method.java:355)
   at jamvm.java.lang.JarLauncher.main (JarLauncher.java:50)
Caused by: java.lang.NoClassDefFoundError: org/openstreetmap/josm/gui/BugReportExceptionHandler
   at org.openstreetmap.josm.Main.setupExceptionHandler (Main.java:277)
   at org.openstreetmap.josm.Main.main (Main.java:187)
   at java.lang.reflect.Method.invokeNative (Native Method)
   ...2 more
Caused by: java.lang.NoClassDefFoundError: java/lang/Thread$UncaughtExceptionHandler
   at java.lang.VMClassLoader.defineClass (Native Method)
   at java.lang.ClassLoader.defineClass (ClassLoader.java:472)
   at java.security.SecureClassLoader.defineClass (SecureClassLoader.java:108)
   at java.net.URLClassLoader.findClass (URLClassLoader.java:987)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:342)
   at java.lang.ClassLoader$1.loadClass (ClassLoader.java:1110)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:294)
   at org.openstreetmap.josm.Main.setupExceptionHandler (Main.java:277)
   ...4 more
Caused by: java.lang.ClassNotFoundException: java.lang.Thread$UncaughtExceptionHandler not found in java.lang.ClassLoader$1{urls=[file:/home/pere/src/debiancvs/pkg-java/josm-latest.jar], parent=null}
   at java.net.URLClassLoader.findClass (URLClassLoader.java:902)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:342)
   at java.lang.ClassLoader$1.loadClass (ClassLoader.java:1110)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:294)
   at java.lang.VMClassLoader.defineClass (Native Method)
   ...11 more
^C
%

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-386
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages jamvm depends on:
ii  classpath                     2:0.90-1   clean room standard Java libraries
ii  classpath-common              2:0.90-1   architecture independent files
ii  java-common                   0.23       Base of all Java packages
ii  libc6                         2.3.6-3    GNU C Library: Shared libraries an
ii  zlib1g                        1:1.2.3-11 compression library - runtime

jamvm recommends no packages.

-- no debconf information




More information about the pkg-java-maintainers mailing list