Bug#664515: Produces Classpath with extra ":" in front

Erich Schubert erich at debian.org
Sun Mar 18 14:41:16 UTC 2012


Package: java-wrappers
Version: 0.1.24
Severity: normal

Weka 3.7.5 (but with the Debian launcher script, using java-wrappers) would not
start for me, with some NullPointerException after a long startup time. Looking
at the command run, it invokes this:

/usr/lib/jvm/java-6-openjdk-i386/bin/java -Xmx256m -classpath :/usr/share/java/weka.jar weka.gui.GUIChooser
Refreshing GOE props...
java.lang.NullPointerException
	weka.gui.GUIChooser.<init>(GUIChooser.java:688)
	weka.gui.GUIChooser.createSingleton(GUIChooser.java:254)
	weka.gui.GUIChooser.main(GUIChooser.java:1507)

	at weka.gui.GUIChooser.<init>(GUIChooser.java:688)
	at weka.gui.GUIChooser.createSingleton(GUIChooser.java:254)
	at weka.gui.GUIChooser.main(GUIChooser.java:1507)
null

Whereas, when I execute
/usr/lib/jvm/java-6-openjdk-i386/bin/java -Xmx256m -classpath /usr/share/java/weka.jar weka.gui.GUIChooser

weka would correctly start. The only difference is the extra ":" in the
classpath. Is there a particular reason why java-wrappers adds this, or can
it just be removed? Apparently this is interpreted as ".:" by some part of
weka, and it will cause a full scan of my home directory (apparently running
into a problem at some point, maybe with a dangling symlink or so).

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages java-wrappers depends on:
ii  unzip  6.0-5

java-wrappers recommends no packages.

java-wrappers suggests no packages.

-- no debconf information





More information about the pkg-java-maintainers mailing list