Bug#382412: incomplete dependencies

2006-08-10 Thread martin f krafft
Package: jabref
Version: 2.0.1+2.1b2-6
Severity: serious

lapse:~/phd jabref  #[353]
Exception in thread main java.awt.AWTError: Cannot load AWT toolkit: 
gnu.java.awt.peer.gtk.GtkToolkit
   at java.awt.Toolkit.getDefaultToolkit(libgcj.so.7)
   at javax.swing.ImageIcon.init(libgcj.so.7)
   at javax.swing.ImageIcon.init(libgcj.so.7)
   at net.sf.jabref.GUIGlobals.clinit(GUIGlobals.java:205)
   at java.lang.Class.initializeClass(libgcj.so.7)
   at net.sf.jabref.JabRefPreferences.init(JabRefPreferences.java:138)
   at net.sf.jabref.JabRefPreferences.getInstance(JabRefPreferences.java:82)
   at net.sf.jabref.JabRef.init(JabRef.java:76)
   at net.sf.jabref.JabRef.main(JabRef.java:69)
Caused by: java.lang.ClassNotFoundException: gnu.java.awt.peer.gtk.GtkToolkit
   at java.lang.Class.forName(libgcj.so.7)
   at java.lang.Class.forName(libgcj.so.7)
   at java.awt.Toolkit.getDefaultToolkit(libgcj.so.7)
   ...8 more


This is with gij-4.1. Installing libgcj7-awt fixes the problem.
Since gij rightfully only suggests the library, jabref might need to
depend on/recommend it.

ii  gij-4.14.1.1-10   The GNU Java bytecode interpreter

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`. martin f. krafft [EMAIL PROTECTED]
: :'  :proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system


signature.asc
Description: Digital signature (GPG/PGP)


Bug#382412: incomplete dependencies

2006-08-10 Thread gregor herrmann
On Thu, 10 Aug 2006 19:33:46 +0100, martin f krafft wrote:

Thanks for your bugreport!

 lapse:~/phd jabref  
 #[353]
 Exception in thread main java.awt.AWTError: Cannot load AWT toolkit: 
 gnu.java.awt.peer.gtk.GtkToolkit

Looks like you don't use Sun Java (cf. /usr/share/doc/jabref/README.Debian).

 This is with gij-4.1. 

Ok ;-)

 Installing libgcj7-awt fixes the problem.

It doesn't for me. After installing libgcj7-awt (and
update-alternatives --config java) I get:

$ jabref
Importing in unknown format: 
Error opening file ''
createDefaultRoot not implemented
fireChangedUpdate not implemented
Exception in thread main java.lang.NullPointerException
   at net.sf.jabref.MnemonicAwareAction.putValue(MnemonicAwareAction.java:53)
   at javax.swing.AbstractAction.init(libgcj.so.7)
   at javax.swing.AbstractAction.init(libgcj.so.7)
   at javax.swing.AbstractAction.init(libgcj.so.7)
   at net.sf.jabref.MnemonicAwareAction.init(MnemonicAwareAction.java:48)
   at 
net.sf.jabref.imports.OpenDatabaseAction.init(OpenDatabaseAction.java:19)
   at net.sf.jabref.JabRefFrame.init(JabRefFrame.java:137)
   at net.sf.jabref.JabRef.openWindow(JabRef.java:635)
   at net.sf.jabref.JabRef.init(JabRef.java:128)
   at net.sf.jabref.JabRef.main(JabRef.java:69)

In my experience jabref only builds and runs with Sun Java - hence
the current dependencies and the hint in README.Debian.

As I cannot reproduce your solution, I won't implement it at the
moment. But I'm always open to new suggestions.


Cheers,
gregor
-- 
 .''`.   http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
 : :' :  debian: the universal operating system - http://www.debian.org/
 `. `'   member of https://www.vibe.at/ | how to reply: http://got.to/quote/
   `-NP: Rolling Stones


signature.asc
Description: Digital signature


Bug#382412: incomplete dependencies

2006-08-10 Thread gregor herrmann
On Thu, 10 Aug 2006 20:47:59 +0100, martin f krafft wrote:

   Installing libgcj7-awt fixes the problem.
  It doesn't for me. After installing libgcj7-awt (and
  update-alternatives --config java) I get:
 I said the problem, not all problems. :_)

Alright ;-)
 
  In my experience jabref only builds and runs with Sun Java - hence
  the current dependencies and the hint in README.Debian.
 uh, oops.

No problem.
 
 But do see #382414 while I close this bug. :)

*reading bugreport*

Full ack!


Cheers,
gregor (packaging jabref 2.1-1 at the moment)
 
-- 
 .''`.   http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
 : :' :  debian: the universal operating system - http://www.debian.org/
 `. `'   member of https://www.vibe.at/ | how to reply: http://got.to/quote/
   `-NP: Blumfeld: Die Diktatur der Angepassten


signature.asc
Description: Digital signature