Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#609140: jxplorer does not start

287 views
Skip to first unread message

Joachim Zobel

unread,
Jan 6, 2011, 12:50:02 PM1/6/11
to
Package: jxplorer
Version: 3.2.1+dfsg-4
Severity: serious

Subject says it all. Which enviroment info do you need?

jo@vostro:~$ jxplorer
6. Jan 11 18:11:06 com.ca.directory.jxplorer.JXplorer printTime
INFO: main start
TIME: Thu Jan 06 18:11:06 GMT+01:00 2011 (29)

6. Jan 11 18:11:06 com.ca.directory.jxplorer.JXplorer
checkJavaEnvironment
INFO: running java from: /usr/lib/jvm/java-1.5.0-gcj-4.3-1.5.0.0/jre
6. Jan 11 18:11:06 com.ca.directory.jxplorer.JXplorer
checkJavaEnvironment
INFO: running java version 1.5.0
6. Jan 11 18:11:06 com.ca.directory.jxplorer.JXplorer setupLogger
INFO: setting up logger
WARNING: bad level 'UNUSED'
java.lang.IllegalArgumentException: Not the name of a standard logging
level: "UNUSED"
at java.util.logging.Level.parse(libgcj.so.90)
at java.util.logging.LogManager.readConfiguration(libgcj.so.90)
at com.ca.directory.jxplorer.JXplorer.setupLogger(JXplorer.java:276)
at com.ca.directory.jxplorer.JXplorer.JXplorerInit(JXplorer.java:144)
at com.ca.directory.jxplorer.JXplorer.<init>(JXplorer.java:127)
at com.ca.directory.jxplorer.JXplorer.main(JXplorer.java:223)
XXX logging initially level WARNING with 0 parents=true

*** unable to load new security provider:
com.sun.net.ssl.internal.ssl.Provider
java.lang.ClassNotFoundException: Error getting className:
'com.sun.net.ssl.internal.ssl.Provider' : java.util.zip.ZipException:
File: 'com/sun/net/ssl/internal/ssl/Provider.class' not found
6. Jan 11 18:11:08 com.ca.commons.cbutil.CBUtility readPropertyFile
WARNING: No property list:
/home/jo/.jxplorer/search_filters.txt
6. Jan 11 18:11:08 com.ca.commons.cbutil.CBUtility readPropertyFile
WARNING: No property list:
/home/jo/.jxplorer/bookmarks.txt
6. Jan 11 18:11:08 com.ca.commons.cbutil.CBUtility readPropertyFile
WARNING: No property list:
quicksearch.txt
6. Jan 11 18:11:08 com.ca.directory.jxplorer.viewer.HTMLTemplateDisplay
setStartPage
WARNING: unable to find locale specific start
file: /usr/share/jxplorer/htmldocs/start_de.html
Exception in thread "main" java.lang.ExceptionInInitializerError
at java.lang.Class.initializeClass(libgcj.so.90)
at java.lang.Class.initializeClass(libgcj.so.90)
at java.lang.reflect.Method.invoke(libgcj.so.90)
at javax.swing.UIDefaults.getUI(libgcj.so.90)
at javax.swing.UIManager.getUI(libgcj.so.90)
at javax.swing.JTree.updateUI(libgcj.so.90)
at javax.swing.JTree.<init>(libgcj.so.90)
at javax.swing.JTree.<init>(libgcj.so.90)
at
com.ca.directory.jxplorer.tree.SmartTree.<init>(SmartTree.java:122)
at
com.ca.directory.jxplorer.JXplorer.setupActiveComponents(JXplorer.java:1147)
at
com.ca.directory.jxplorer.JXplorer.setupMainPanel(JXplorer.java:1097)
at com.ca.directory.jxplorer.JXplorer.setupGUI(JXplorer.java:856)
at com.ca.directory.jxplorer.JXplorer.JXplorerInit(JXplorer.java:167)
at com.ca.directory.jxplorer.JXplorer.<init>(JXplorer.java:127)
at com.ca.directory.jxplorer.JXplorer.main(JXplorer.java:223)
Caused by: java.awt.IllegalComponentStateException: component
java.awt.Label not showing
at java.awt.Component.getLocationOnScreen(libgcj.so.90)
at java.awt.event.MouseEvent.<init>(libgcj.so.90)
at java.awt.event.MouseEvent.<init>(libgcj.so.90)
at javax.swing.plaf.basic.BasicTreeUI.<clinit>(libgcj.so.90)
at java.lang.Class.initializeClass(libgcj.so.90)
...14 more

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Joachim Zobel

unread,
Jan 7, 2011, 2:20:01 PM1/7/11
to
Am Freitag, den 07.01.2011, 05:05 +0100 schrieb Gabriele Giacone:
> Please install openjdk-6-jre, if not already done.
> Then, add "java6" parameter to 'find_java_runtime' function call in
> /usr/bin/jxplorer or apply attached patch.
>
> jxplorer doesn't work with gcj. I'll remove that possibility in the
> next
> release.

The patch fixed it. I had however already a java6 installed:

jo@vostro:~$ ls -l /etc/alternatives/java
lrwxrwxrwx 1 root root 36 10. Aug 2008 /etc/alternatives/java
-> /usr/lib/jvm/java-6-sun/jre/bin/java

Dont't know why this was not used.

Thanks,
Joachim

Gabriele Giacone

unread,
Jan 11, 2011, 6:40:02 PM1/11/11
to
Package: java-wrappers
Version: 0.1.16


Why doesn't find_java_runtime() also look for jvm pointed by
java-alternatives?

On 01/11/2011 11:42 PM, Joachim Zobel wrote:
> Am Dienstag, den 11.01.2011, 23:02 +0100 schrieb Gabriele Giacone:
>> Because without parameters and unless you set JAVA_HOME,
>> find_java_runtime()
>> looks first for /usr/lib/jvm/default-java link then for first
>> among /usr/lib/jvm/*.
>
> Ah, that explains it.
>
> jo@vostro:~$ ls -l /usr/lib/jvm/
> insgesamt 20
> drwxr-xr-x 5 root root 4096 9. Aug 2008 java-1.5.0-gcj-4.3-1.5.0.0
> drwxr-xr-x 6 root root 4096 22. Okt 21:20 java-1.5.0-gcj-4.4
> lrwxrwxrwx 1 root root 23 15. Feb 2009 java-1.5.0-sun ->
> java-1.5.0-sun-1.5.0.17
> drwxr-xr-x 6 root root 4096 15. Feb 2009 java-1.5.0-sun-1.5.0.17
> lrwxrwxrwx 1 root root 14 25. Mär 2010 java-1.6.0-openjdk ->
> java-6-openjdk
> drwxr-xr-x 7 root root 4096 19. Dez 16:02 java-6-openjdk
> lrwxrwxrwx 1 root root 19 18. Okt 22:27 java-6-sun ->
> java-6-sun-1.6.0.22
> drwxr-xr-x 8 root root 4096 18. Okt 22:28 java-6-sun-1.6.0.22
> lrwxrwxrwx 1 root root 26 9. Aug 2008 java-gcj ->
> java-1.5.0-gcj-4.3-1.5.0.0
> lrwxrwxrwx 1 root root 18 25. Mär 2010 java-gcj-4.4 ->
> java-1.5.0-gcj-4.4
>
> Just curious, why does find_java_runtime() not
> use /etc/alternatives/java ?

Vincent Fourmond

unread,
Jan 11, 2011, 7:00:02 PM1/11/11
to
On Wed, Jan 12, 2011 at 12:37 AM, Gabriele Giacone <1o5g...@gmail.com> wrote:
> Why doesn't find_java_runtime() also look for jvm pointed by
> java-alternatives?

Because it is a mess when you have to consider the capacities of the
different JVMs (true sun, openjdk, java6, java5, etc...).

But, admittedly, that is a bug that should be fixed, if it does not
cause regressions. I'll try to have a look at that some day...

Cheers,

Vincent

Gabriele Giacone

unread,
Jan 12, 2011, 6:50:02 AM1/12/11
to
How about something like attached patch?


--
Gabriele

jvm-list.patch

Vincent Fourmond

unread,
Jan 12, 2011, 7:40:03 AM1/12/11
to
On Wed, Jan 12, 2011 at 12:44 PM, Gabriele Giacone <1o5g...@gmail.com> wrote:
> How about something like attached patch?

That's a good start, thanks. That won't work for more specific
things (JVM other than all), but that gave me some ideas at least.
Could you please apply it in the pkg-java SVN ? (don't have access for
now).

I'll implement the rest tomorrow (please feel free to flame me if I don't).

0 new messages