Java crashes running ldap browser

Bug #119829 reported by tuharsky
6
Affects Status Importance Assigned to Milestone
gcj-4.2 (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

I run ldap browser editor using
/usr/bin/java -jar lbe.jar

The program starts, however connecting to LDAP directory it crashes with:

Exception in thread "main" java.lang.NullPointerException
   at javax.swing.JTree.setLeadSelectionPath(libgcj.so.70)
   at javax.swing.JTree.clearSelection(libgcj.so.70)
   at lbe.ui.DirTree.clear(DirTree.java:119)
   at lbe.ui.Browser.disconnect(Browser.java:392)
   at lbe.ui.Browser.openConnectWindow(Browser.java:377)
   at lbe.ui.Browser.init(Browser.java:326)
   at lbe.ui.BrowserApp.main(BrowserApp.java:251)

I must point out that using Sun java installed from binary self extracting file jre-6u1-linux-i586.bin
, it works well.

Revision history for this message
Matti Lindell (mlind) wrote :

Please post the Ubuntu version and jre version you're using.

Changed in java-common:
status: New → Incomplete
Revision history for this message
tuharsky (tuharsky) wrote :

Ubuntu 7.10 Gutsy, sun-java6-jre 6-03-0ubuntu2
Actual error:

Exception in thread "main" java.lang.ExceptionInInitializerError
   at java.lang.Class.initializeClass(libgcj.so.81)
   at java.lang.Class.initializeClass(libgcj.so.81)
   at java.lang.reflect.Method.invoke(libgcj.so.81)
   at javax.swing.UIDefaults.getUI(libgcj.so.81)
   at javax.swing.UIManager.getUI(libgcj.so.81)
   at javax.swing.JTree.updateUI(libgcj.so.81)
   at javax.swing.JTree.<init>(libgcj.so.81)
   at lbe.ui.DirTree.<init>(DirTree.java:75)
   at lbe.ui.DnDDirTree.<init>(DnDDirTree.java:31)
   at lbe.ui.Browser.<init>(Browser.java:163)
   at lbe.ui.BrowserApp.main(BrowserApp.java:224)
Caused by: java.awt.IllegalComponentStateException: component java.awt.Label not showing
   at java.awt.Component.getLocationOnScreen(libgcj.so.81)
   at java.awt.event.MouseEvent.<init>(libgcj.so.81)
   at java.awt.event.MouseEvent.<init>(libgcj.so.81)
   at javax.swing.plaf.basic.BasicTreeUI.<clinit>(libgcj.so.81)
   at java.lang.Class.initializeClass(libgcj.so.81)
   ...10 more

Revision history for this message
James Stansell (jamesstansell) wrote :

See all the lines that show "libgcj.so"? That means you're using the GCJ JRE. From what you've posted so far this does not look like a sun-java bug.

Revision history for this message
James Stansell (jamesstansell) wrote :

Appears to be a GCJ issue.

Revision history for this message
tuharsky (tuharsky) wrote :

May be, that I have both Java installations active. Last I have installed the Java6 because of Firefox, however might the GCJ been kept as the system default.

Revision history for this message
Magnus S (magnuss) wrote :

Hi,
this bug report is getting old, so i'm closing it now. If this issue is still affecting you, please reopen.
To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in gcj-4.2:
status: Incomplete → Invalid
Revision history for this message
tuharsky (tuharsky) wrote :

Now with 8.10 I get this:

Failed to load Main-Class manifest attribute from lbe.jar

The program just shows "loading LBE" that disappears in a moment.

Revision history for this message
tuharsky (tuharsky) wrote :

Still not working..

Changed in gcj-4.2:
status: Invalid → New
Revision history for this message
Matthias Klose (doko) wrote :

closing as won't fix in gcj-4.2

Changed in gcj-4.2 (Ubuntu):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.