Thread: Re: [Java-gnome-developer] Re: error: java.lang.reflect.InvocationTargetException: ListenerDelegate.
Brought to you by:
afcowie
From: Joao V. <jvi...@ya...> - 2005-03-18 16:57:01
|
If it's not asking too much, could you also please send the modified version you made of ListenerDelegate.java? Thanks, J.V. --- Jeff Morgan <ku...@gm...> wrote: > Could you please send a copy of the java code and glade > file. I would be happy to take a look at this and help > with a resolution. > > > On Sat, 27 Oct 2001 21:10:48 +1000 (EST), Jonathon Love > <j...@co...> wrote: > > I get the same error using gij > > > > java.lang.NullPointerException > > at org.gnu.glade.ListenerDelegate.getHandlerMethod(java.lang.Object, > > java.lang.String) (Unknown Source) > > at org.gnu.glade.ListenerDelegate.create(java.lang.String, > > java.lang.Class, java.lang.Object, java.lang.String, java.lang.Object) > > (Unknown Source) > > at org.gnu.glade.LibGlade.connect(java.lang.String, int, > > java.lang.String, java.lang.String, int, boolean) (Unknown Source) > > at _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, > > boolean, boolean, java.lang.Class[], jvalue, jvalue, boolean) > > (/usr/lib/libgcj.so.5.0.0) > > at g_hash_table_foreach (/usr/lib/libglib-2.0.so.0.400.7) > > at glade_xml_signal_autoconnect_full (/usr/lib/libglade-2.0.so.0.0.4) > > at Java_org_gnu_glade_LibGlade_glade_1xml_1signal_1autoconnect_1full > > (/usr/lib/libgladejava2.8.so.2.8.2) > > at _Jv_JNIMethod.call(ffi_cif, void, ffi_raw, void) > > (/usr/lib/libgcj.so.5.0.0) > > at org.gnu.glade.LibGlade.LibGlade(java.lang.String, java.lang.Object, > > java.lang.String) (Unknown Source) > > at org.gnu.glade.LibGlade.LibGlade(java.lang.String, java.lang.Object) > > (Unknown Source) > > at turtle.Turtle.Turtle() (Unknown Source) > > at turtle.Turtle.main(java.lang.String[]) (Unknown Source) > > java.lang.reflect.InvocationTargetException: ListenerDelegate.create failure Yahoo! Mail - Com 250MB de espaço. Abra sua conta! http://mail.yahoo.com.br/ |
From: Olivier E. <ev...@pr...> - 2005-03-23 18:42:48
|
If it can help you... My main desktop is on gentoo and all is working perfectly with gcj . Unfortunately, on debian "sarge" I got the same error with the same libs version: java.lang.reflect.InvocationTargetException: ListenerDelegate.create failure Let me know if I can help on this debug ;) gcj (GCC) 3.3.5 (Debian 1:3.3.5-8) gcj (GCC) 3.3.5 (Gentoo Hardened Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1) cheers, Olivier -- ------------------ LinuX for Geneva www.programmers.ch |
From: Nicholas R. <ni...@mn...> - 2005-03-24 08:08:07
|
Hi Olivier, I compared the Makefile you sent in the previous mail with one that i have used in the past and i found a couple of differences. Here's the "native" target from my Makefile: native: ${GCJ} --classpath=.:${INCLUDES} -L${JG_LIBDIR} -lgcj ${LIBS} --main=${MAIN} -o ${TARGET} ${FILES} I have an extra -L definition as well as the -lgcj. I don't actually use the native compile anymore, but if i remember correctly, the -lgcj part was important. My java-gnome libs are in a non-standard location so i think that was why i had the extra -L defined. hope this helps, nick On Wed, 2005-03-23 at 19:45 +0100, Olivier Evalet wrote: > If it can help you... My main desktop is on gentoo and all is working > perfectly with gcj . Unfortunately, on debian "sarge" I got the same > error with the same libs version: > java.lang.reflect.InvocationTargetException: ListenerDelegate.create failure > > Let me know if I can help on this debug ;) > > > gcj (GCC) 3.3.5 (Debian 1:3.3.5-8) > gcj (GCC) 3.3.5 (Gentoo Hardened Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1) > > cheers, > Olivier > > |
From: Olivier E. <ev...@pr...> - 2005-03-29 19:46:05
|
Thanks a lot ;) Nicholas Rahn wrote: > Hi Olivier, > > I compared the Makefile you sent in the previous mail with one that i > have used in the past and i found a couple of differences. Here's the > "native" target from my Makefile: > > > native: > ${GCJ} --classpath=.:${INCLUDES} -L${JG_LIBDIR} -lgcj ${LIBS} > --main=${MAIN} -o ${TARGET} ${FILES} > > > I have an extra -L definition as well as the -lgcj. I don't actually > use the native compile anymore, but if i remember correctly, the -lgcj > part was important. My java-gnome libs are in a non-standard location > so i think that was why i had the extra -L defined. It help for other things ;) I found that I must build ma library with -jni option. By default gcj use cni framework!! Whitout -jni gcj try to link C++ implementation... Olivier |
From: Andrew C. <an...@op...> - 2005-03-30 07:10:46
|
On Tue, 2005-29-03 at 21:48 +0200, Olivier Evalet wrote: > I found that I must build ma library with > -jni option. By default gcj use cni framework!! That should be the -fjni option... ^ AfC Paris -- Andrew Frederick Cowie Management Consultant Technology strategy, managing change, establishing procedures, and executing successful upgrades to mission critical business infrastructure. http://www.operationaldynamics.com/ Sydney New York Toronto London |
From: Olivier E. <ev...@pr...> - 2005-03-30 08:38:14
|
Yep ;) > > That should be the -fjni option... > ^ > > AfC > Paris > -- ------------------ LinuX for Geneva www.programmers.ch |