java-gnome-developer Mailing List for The java-gnome language bindings project (Page 55)
Brought to you by:
afcowie
You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(37) |
Dec
(14) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(2) |
Feb
(20) |
Mar
(20) |
Apr
(8) |
May
|
Jun
(1) |
Jul
(6) |
Aug
(39) |
Sep
(37) |
Oct
(34) |
Nov
(50) |
Dec
(22) |
2002 |
Jan
(7) |
Feb
(13) |
Mar
(32) |
Apr
(16) |
May
(26) |
Jun
(20) |
Jul
(32) |
Aug
(7) |
Sep
(2) |
Oct
(11) |
Nov
(3) |
Dec
(35) |
2003 |
Jan
(11) |
Feb
(3) |
Mar
(8) |
Apr
(3) |
May
(11) |
Jun
(20) |
Jul
(11) |
Aug
(29) |
Sep
(13) |
Oct
(91) |
Nov
(185) |
Dec
(207) |
2004 |
Jan
(108) |
Feb
(171) |
Mar
(207) |
Apr
(113) |
May
(22) |
Jun
(53) |
Jul
(69) |
Aug
(43) |
Sep
(34) |
Oct
(182) |
Nov
(101) |
Dec
(61) |
2005 |
Jan
(86) |
Feb
(45) |
Mar
(106) |
Apr
(67) |
May
(70) |
Jun
(47) |
Jul
(19) |
Aug
(34) |
Sep
(24) |
Oct
(45) |
Nov
(20) |
Dec
(58) |
2006 |
Jan
(21) |
Feb
(21) |
Mar
(16) |
Apr
(24) |
May
(24) |
Jun
(47) |
Jul
(20) |
Aug
(8) |
Sep
(13) |
Oct
(7) |
Nov
(23) |
Dec
(2) |
2007 |
Jan
|
Feb
(14) |
Mar
(3) |
Apr
(11) |
May
(1) |
Jun
(15) |
Jul
(2) |
Aug
(5) |
Sep
(10) |
Oct
(5) |
Nov
(1) |
Dec
|
2008 |
Jan
|
Feb
(13) |
Mar
(13) |
Apr
(4) |
May
(2) |
Jun
(1) |
Jul
(5) |
Aug
(7) |
Sep
(2) |
Oct
(14) |
Nov
(11) |
Dec
(12) |
2009 |
Jan
(30) |
Feb
(4) |
Mar
(16) |
Apr
(9) |
May
(9) |
Jun
(7) |
Jul
(6) |
Aug
(3) |
Sep
(14) |
Oct
(8) |
Nov
(12) |
Dec
(9) |
2010 |
Jan
(4) |
Feb
(27) |
Mar
(6) |
Apr
(4) |
May
(3) |
Jun
(13) |
Jul
(6) |
Aug
(15) |
Sep
(15) |
Oct
(12) |
Nov
(11) |
Dec
(9) |
2011 |
Jan
(12) |
Feb
(11) |
Mar
|
Apr
(3) |
May
|
Jun
(3) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
(8) |
Nov
(1) |
Dec
|
2012 |
Jan
|
Feb
(10) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(6) |
Aug
(2) |
Sep
(7) |
Oct
(7) |
Nov
|
Dec
(4) |
2013 |
Jan
(8) |
Feb
(1) |
Mar
(1) |
Apr
(2) |
May
(3) |
Jun
(3) |
Jul
(16) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
2014 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2018 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Ka-Hing C. <ka...@gm...> - 2005-01-06 03:03:49
|
On Wed, 5 Jan 2005 08:57:03 -0500, Jeff Morgan <ku...@gm...> wrote: > This error has been fixed and is in cvs. The two files updated are > org.gnu.gtk.Widget.java and org_gnu_glib_GObject.c. The changes > are quite small and you might be able to apply the changes yourself > if you do not wish to wait for anoncvs to sync. Here are the diffs: > > http://cvs.gnome.org/viewcvs/java-gnome/libgtk-java/src/jni/org_gnu_glib_GObject.c?r1=1.33&r2=1.34 > http://cvs.gnome.org/viewcvs/java-gnome/libgtk-java/src/java/org/gnu/gtk/Widget.java?r1=1.77&r2=1.78 > Thanks for looking into this. Is there anything else I need to apply other than these 2? I am still having the same problems. I will try to make a standalone test case in a bit. -khc |
From: Jeff M. <ku...@gm...> - 2005-01-06 02:23:42
|
On Wed, 05 Jan 2005 20:32:29 -0500, Bryce McKinlay <mck...@re...> wrote: > Jeff Morgan wrote: > > >Mark, > > > >It was a silly error. The call to FindClass was as follows: > > > >(*env)->FindClass(env, "L/org/gnu/glib/Handle;"); > > > >The leading 'L' and trailing ';' were causing the problem. > > > > > > If Sun's JVM accepts this, and libgcj doesn't, then there is some > argument for gcj to support it too. No doubt there'll be some > application out there that relies on it. Perhaps you are right. I view this as a coding error on my part and a bug on Sun's part. I would hate to see gcj implement all of Sun's bugs! 8-) -- Jeffrey Morgan "The highest reward for a man's toil is not what he gets for it, but what he becomes by it" - Jon Ruskin |
From: Bryce M. <mck...@re...> - 2005-01-06 01:33:03
|
Jeff Morgan wrote: >Mark, > >It was a silly error. The call to FindClass was as follows: > >(*env)->FindClass(env, "L/org/gnu/glib/Handle;"); > >The leading 'L' and trailing ';' were causing the problem. > > If Sun's JVM accepts this, and libgcj doesn't, then there is some argument for gcj to support it too. No doubt there'll be some application out there that relies on it. Regards Bryce |
From: Jeff M. <ku...@gm...> - 2005-01-06 01:21:28
|
I do have some good news for you. There have been many bugs fixed in the latest cvs. I just ran your example and it works without the crash. In fact, it is now in our cvs. If you are runing the HEAD you should be able to create your DrawingArea now. If you are using anonymous cvs you may have to wait until tomorrow for all of the fixes to appear. On Sun, 12 Dec 2004 19:40:24 +0000, Jaime <re...@sa...> wrote: > On Sun, 2004-12-12 at 16:55 +0000, Mark Howard wrote: > > Hi, > > > > I'm not familiar with the drawing widgets, so this is completely off the top of > > my head: > > > > You've created a window and filled it with a DrawingArea. > > You try to draw on the window, but this fails. I'm guessing that this fails > > since there is already something else on the window -- the DrawingArea. > > > > Try changing your code to DrawPoint on the drawingarea instead. Please write > > back saying if it works or not. > > > Hi Mark. > > Unfortunately, neither the "top level window" (of type > org.gnu.gtk.Window) nor the DrawingArea embedded inside it (of type > org.gnu.gtk.DrawingArea) possess a drawPoint() method - the only class > which does (according to the javadocs) is an > "org.gnu.gdk.Window" (notice the change from gtk.Window to gdk.Window!) > > This itself, is fine, as it seems to agree with the following > documentation: > > a) The javadocs for org.gnu.gtk.Widget.getWindow() ("Return the widget's > gdk window. This is the window to draw upon when writing custom widgets. > It's available after the widget has been mapped. Thus if you listen to > LifeCycleEvents, you can fetch the Window instance using this method > after an LifeCycleEvent of type MAP has occured. Returns: the widget's > gdk window, or null if a) it hasn't been mapped yet or b) it is of a > type that doesn't have a gdk window. > > b) http://www.pygtk.org/pygtk2tutorial/sec-DrawingMethods.html > The example code "drawingarea.py" is what I'm actually trying to port to > java - line 41, for example, refers to: > self.area.window.draw_point(self.gc, x+30, y+30) > ("area" is the drawing area, the "window" attribute is its embedded > gdkWindow, which gets drawn upon using the "draw_point" method) > > c) http://developer.gnome.org/doc/API/2.0/gtk/GtkDrawingArea.html > and http://www.gtk.org/tutorial/sec-thedrawingareawidget.html > > Incidently, I've tried using both the gdk.Window returned by both > area.getWindow() _and_ window.getWindow(), but they both return the same > error. > > Hope some of this makes sense, > > Jaime :-) > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > -- Jeffrey Morgan "The highest reward for a man's toil is not what he gets for it, but what he becomes by it" - Jon Ruskin |
From: Jeff M. <ku...@gm...> - 2005-01-05 21:37:24
|
Mark, There is one strange issue that I am unable to understand. Our textbuffer.TextBuffer example compiles and runs under kaffe and Sun's JDK but crashes under gij. It doesn't print a stacktrace. It just prints "Aborted". Have you seen this before? On Wed, 5 Jan 2005 14:59:02 -0500, Jeff Morgan <ku...@gm...> wrote: > Mark, > > It was a silly error. The call to FindClass was as follows: > > (*env)->FindClass(env, "L/org/gnu/glib/Handle;"); > > The leading 'L' and trailing ';' were causing the problem. > > > On Wed, 05 Jan 2005 20:27:39 +0100, Mark Wielaard <ma...@kl...> wrote: > > Hi (CCed gcj malinglist), > > > > On Mon, 2005-01-03 at 16:19 -0500, Jeff Morgan wrote: > > > This should be fixed in the cvs head now. Funny, a call to FindClass > > > was made with incorrect parameters and failed with gcj and kaffe but > > > worked with Sun's JDK. Anyway, it now works with all jvms. > > > > Do you have an example of such a wrong call? > > Maybe we can improve the way FindClass handles this to give better > > diagnostics of the problem. > > > > Thanks, > > > > Mark > > > > > > > > > -- > Jeffrey Morgan > > "The highest reward for a man's toil is not > what he gets for it, but what he becomes by it" > - Jon Ruskin > -- Jeffrey Morgan "The highest reward for a man's toil is not what he gets for it, but what he becomes by it" - Jon Ruskin |
From: Jeff M. <ku...@gm...> - 2005-01-05 19:59:12
|
Mark, It was a silly error. The call to FindClass was as follows: (*env)->FindClass(env, "L/org/gnu/glib/Handle;"); The leading 'L' and trailing ';' were causing the problem. On Wed, 05 Jan 2005 20:27:39 +0100, Mark Wielaard <ma...@kl...> wrote: > Hi (CCed gcj malinglist), > > On Mon, 2005-01-03 at 16:19 -0500, Jeff Morgan wrote: > > This should be fixed in the cvs head now. Funny, a call to FindClass > > was made with incorrect parameters and failed with gcj and kaffe but > > worked with Sun's JDK. Anyway, it now works with all jvms. > > Do you have an example of such a wrong call? > Maybe we can improve the way FindClass handles this to give better > diagnostics of the problem. > > Thanks, > > Mark > > > -- Jeffrey Morgan "The highest reward for a man's toil is not what he gets for it, but what he becomes by it" - Jon Ruskin |
From: Mark W. <ma...@kl...> - 2005-01-05 19:25:33
|
Hi (CCed gcj malinglist), On Mon, 2005-01-03 at 16:19 -0500, Jeff Morgan wrote: > This should be fixed in the cvs head now. Funny, a call to FindClass > was made with incorrect parameters and failed with gcj and kaffe but > worked with Sun's JDK. Anyway, it now works with all jvms. Do you have an example of such a wrong call? Maybe we can improve the way FindClass handles this to give better diagnostics of the problem. Thanks, Mark |
From: Jeff M. <ku...@gm...> - 2005-01-05 13:57:14
|
This error has been fixed and is in cvs. The two files updated are org.gnu.gtk.Widget.java and org_gnu_glib_GObject.c. The changes are quite small and you might be able to apply the changes yourself if you do not wish to wait for anoncvs to sync. Here are the diffs: http://cvs.gnome.org/viewcvs/java-gnome/libgtk-java/src/jni/org_gnu_glib_GObject.c?r1=1.33&r2=1.34 http://cvs.gnome.org/viewcvs/java-gnome/libgtk-java/src/java/org/gnu/gtk/Widget.java?r1=1.77&r2=1.78 I thank you very much for your bug reports and appologize for the problems you are having. There have been many changes lately and we are in the process of tracking down all remaining bugs. You have helped by point out two! On Wed, 05 Jan 2005 09:29:00 +0100, Nicholas Rahn <ni...@mn...> wrote: > would it be possible for you to send a small example program that shows > this error? i'll run it here in my development environment and try to > track down the error. > > thx > nick > > On Tue, 2005-01-04 at 22:46 -0800, Ka-Hing Cheung wrote: > > On Mon, 3 Jan 2005 21:04:55 -0500, Jeff Morgan <ku...@gm...> wrote: > > > If you are using anonymous cvs then you need to wait until tomorrow. > > > Gnome anonymous cvs runs as much as 24 hours behind the regular > > > cvs. > > > > Okay, I believe I now have the latest anoncvs, now there's another problem: > > > > With gij: > > java.lang.Exception: Java-GNOME - cannot find callback method > > handleRowActivated in the specified object with signature (II)V > > > > at org.gnu.glib.GObject.printStackTrace(java.lang.String) (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 logFunc > > (/usr/src/khc/java-gnome/root/lib/libgtkjava2.5.so.2.5.4) > > at g_logv (/usr/lib/libglib-2.0.so.0.600.0) > > at g_log (/usr/lib/libglib-2.0.so.0.600.0) > > at Java_org_gnu_glib_GObject_addEventHandler__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Object_2 > > (/usr/src/khc/java-gnome/root/lib/libgtkjava2.5.so.2.5.4) > > at _Jv_JNIMethod.call(ffi_cif, void, ffi_raw, void) > > (/usr/lib/libgcj.so.5.0.0) > > at org.gnu.glib.EventMap.initialize(org.gnu.glib.GObject, > > org.gnu.glib.EventType) (Unknown Source) > > at org.gnu.gtk.TreeView.addListener(org.gnu.gtk.event.TreeViewListener) > > (Unknown Source) > > .... > > Exception in thread "main" java.lang.RuntimeException: > > 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 > > _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, > > boolean, java.lang.Class[], java.lang.Object[]) > > (/usr/lib/libgcj.so.5.0.0) > > at java.lang.reflect.Constructor.newInstance(java.lang.Object[]) > > (/usr/lib/libgcj.so.5.0.0) > > at Java_org_gnu_glib_GObject_addEventHandler__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Object_2 > > (/usr/src/khc/java-gnome/root/lib/libgtkjava2.5.so.2.5.4) > > at _Jv_JNIMethod.call(ffi_cif, void, ffi_raw, void) > > (/usr/lib/libgcj.so.5.0.0) > > at org.gnu.glib.EventMap.initialize(org.gnu.glib.GObject, > > org.gnu.glib.EventType) (Unknown Source) > > at org.gnu.gtk.TreeView.addListener(org.gnu.gtk.event.TreeViewListener) > > (Unknown Source) > > > > > > With IBM's powerpc runtime, the VM crashed and I see something similar > > in the trace: > > 3HPSTACKLINE ?? at FC264A8 in libjvm.so > > 3HPSTACKLINE ?? at FC264A8 in libjvm.so > > 3HPSTACKLINE ?? at FC28598 in libjvm.so > > 3HPSTACKLINE logFunc at F6261C8 in libgtkjava2.5.so.2.5.4 > > 3HPSTACKLINE g_logv at EF8F4EC in libglib-2.0.so.0 > > 3HPSTACKLINE g_log at EF8F674 in libglib-2.0.so.0 > > 3HPSTACKLINE ?? at F62542C in libgtkjava2.5.so.2.5.4 > > 3HPSTACKLINE ?? at F625904 in libgtkjava2.5.so.2.5.4 > > 3HPSTACKLINE > > Java_org_gnu_glib_GObject_addEventHandler__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Object_2 > > at F625CA8 in libgtkjava2.5.so.2.5.4 > > 3HPSTACKLINE sysInvokeNative at FD42AF0 in libjvm.so > > > > > > However, if I use gcj to compile it to native executable I get a > > different problem: > > ./a.out > > Exception in thread "main" java.lang.NullPointerException > > at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0) > > at getHandleFromPointer > > (/usr/src/khc/java-gnome/root/lib/libgtkjava2.5.so.2.5.4) > > at Java_org_gnu_gtk_ToolTips_gtk_1tooltips_1new > > (/usr/src/khc/java-gnome/root/lib/libgtkjava2.5.so.2.5.4) > > at org.gnu.gtk.ToolTips.gtk_tooltips_new() > > (/usr/src/khc/java-gnome/root/lib/libgtkjar2.5.so.2.5.4) > > at org.gnu.gtk.ToolTips.ToolTips() > > (/usr/src/khc/java-gnome/root/lib/libgtkjar2.5.so.2.5.4) > > > > -khc > > > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by: Beat the post-holiday blues > > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > > _______________________________________________ > > java-gnome-developer mailing list > > jav...@li... > > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > -- Jeffrey Morgan "The highest reward for a man's toil is not what he gets for it, but what he becomes by it" - Jon Ruskin |
From: Jeff M. <ku...@gm...> - 2005-01-05 12:03:43
|
Does anybody know what happened to the eclipse plugin? It would be nice the find the existing code and re-establish the effort. -- Jeffrey Morgan "The highest reward for a man's toil is not what he gets for it, but what he becomes by it" - Jon Ruskin |
From: Nicholas R. <ni...@mn...> - 2005-01-05 08:29:18
|
would it be possible for you to send a small example program that shows this error? i'll run it here in my development environment and try to track down the error. thx nick On Tue, 2005-01-04 at 22:46 -0800, Ka-Hing Cheung wrote: > On Mon, 3 Jan 2005 21:04:55 -0500, Jeff Morgan <ku...@gm...> wrote: > > If you are using anonymous cvs then you need to wait until tomorrow. > > Gnome anonymous cvs runs as much as 24 hours behind the regular > > cvs. > > Okay, I believe I now have the latest anoncvs, now there's another problem: > > With gij: > java.lang.Exception: Java-GNOME - cannot find callback method > handleRowActivated in the specified object with signature (II)V > > at org.gnu.glib.GObject.printStackTrace(java.lang.String) (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 logFunc > (/usr/src/khc/java-gnome/root/lib/libgtkjava2.5.so.2.5.4) > at g_logv (/usr/lib/libglib-2.0.so.0.600.0) > at g_log (/usr/lib/libglib-2.0.so.0.600.0) > at Java_org_gnu_glib_GObject_addEventHandler__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Object_2 > (/usr/src/khc/java-gnome/root/lib/libgtkjava2.5.so.2.5.4) > at _Jv_JNIMethod.call(ffi_cif, void, ffi_raw, void) > (/usr/lib/libgcj.so.5.0.0) > at org.gnu.glib.EventMap.initialize(org.gnu.glib.GObject, > org.gnu.glib.EventType) (Unknown Source) > at org.gnu.gtk.TreeView.addListener(org.gnu.gtk.event.TreeViewListener) > (Unknown Source) > .... > Exception in thread "main" java.lang.RuntimeException: > 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 > _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, > boolean, java.lang.Class[], java.lang.Object[]) > (/usr/lib/libgcj.so.5.0.0) > at java.lang.reflect.Constructor.newInstance(java.lang.Object[]) > (/usr/lib/libgcj.so.5.0.0) > at Java_org_gnu_glib_GObject_addEventHandler__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Object_2 > (/usr/src/khc/java-gnome/root/lib/libgtkjava2.5.so.2.5.4) > at _Jv_JNIMethod.call(ffi_cif, void, ffi_raw, void) > (/usr/lib/libgcj.so.5.0.0) > at org.gnu.glib.EventMap.initialize(org.gnu.glib.GObject, > org.gnu.glib.EventType) (Unknown Source) > at org.gnu.gtk.TreeView.addListener(org.gnu.gtk.event.TreeViewListener) > (Unknown Source) > > > With IBM's powerpc runtime, the VM crashed and I see something similar > in the trace: > 3HPSTACKLINE ?? at FC264A8 in libjvm.so > 3HPSTACKLINE ?? at FC264A8 in libjvm.so > 3HPSTACKLINE ?? at FC28598 in libjvm.so > 3HPSTACKLINE logFunc at F6261C8 in libgtkjava2.5.so.2.5.4 > 3HPSTACKLINE g_logv at EF8F4EC in libglib-2.0.so.0 > 3HPSTACKLINE g_log at EF8F674 in libglib-2.0.so.0 > 3HPSTACKLINE ?? at F62542C in libgtkjava2.5.so.2.5.4 > 3HPSTACKLINE ?? at F625904 in libgtkjava2.5.so.2.5.4 > 3HPSTACKLINE > Java_org_gnu_glib_GObject_addEventHandler__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Object_2 > at F625CA8 in libgtkjava2.5.so.2.5.4 > 3HPSTACKLINE sysInvokeNative at FD42AF0 in libjvm.so > > > However, if I use gcj to compile it to native executable I get a > different problem: > ./a.out > Exception in thread "main" java.lang.NullPointerException > at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0) > at getHandleFromPointer > (/usr/src/khc/java-gnome/root/lib/libgtkjava2.5.so.2.5.4) > at Java_org_gnu_gtk_ToolTips_gtk_1tooltips_1new > (/usr/src/khc/java-gnome/root/lib/libgtkjava2.5.so.2.5.4) > at org.gnu.gtk.ToolTips.gtk_tooltips_new() > (/usr/src/khc/java-gnome/root/lib/libgtkjar2.5.so.2.5.4) > at org.gnu.gtk.ToolTips.ToolTips() > (/usr/src/khc/java-gnome/root/lib/libgtkjar2.5.so.2.5.4) > > -khc > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer |
From: Ka-Hing C. <ka...@gm...> - 2005-01-05 06:46:37
|
On Mon, 3 Jan 2005 21:04:55 -0500, Jeff Morgan <ku...@gm...> wrote: > If you are using anonymous cvs then you need to wait until tomorrow. > Gnome anonymous cvs runs as much as 24 hours behind the regular > cvs. Okay, I believe I now have the latest anoncvs, now there's another problem: With gij: java.lang.Exception: Java-GNOME - cannot find callback method handleRowActivated in the specified object with signature (II)V at org.gnu.glib.GObject.printStackTrace(java.lang.String) (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 logFunc (/usr/src/khc/java-gnome/root/lib/libgtkjava2.5.so.2.5.4) at g_logv (/usr/lib/libglib-2.0.so.0.600.0) at g_log (/usr/lib/libglib-2.0.so.0.600.0) at Java_org_gnu_glib_GObject_addEventHandler__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Object_2 (/usr/src/khc/java-gnome/root/lib/libgtkjava2.5.so.2.5.4) at _Jv_JNIMethod.call(ffi_cif, void, ffi_raw, void) (/usr/lib/libgcj.so.5.0.0) at org.gnu.glib.EventMap.initialize(org.gnu.glib.GObject, org.gnu.glib.EventType) (Unknown Source) at org.gnu.gtk.TreeView.addListener(org.gnu.gtk.event.TreeViewListener) (Unknown Source) .... Exception in thread "main" java.lang.RuntimeException: 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 _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, boolean, java.lang.Class[], java.lang.Object[]) (/usr/lib/libgcj.so.5.0.0) at java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (/usr/lib/libgcj.so.5.0.0) at Java_org_gnu_glib_GObject_addEventHandler__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Object_2 (/usr/src/khc/java-gnome/root/lib/libgtkjava2.5.so.2.5.4) at _Jv_JNIMethod.call(ffi_cif, void, ffi_raw, void) (/usr/lib/libgcj.so.5.0.0) at org.gnu.glib.EventMap.initialize(org.gnu.glib.GObject, org.gnu.glib.EventType) (Unknown Source) at org.gnu.gtk.TreeView.addListener(org.gnu.gtk.event.TreeViewListener) (Unknown Source) With IBM's powerpc runtime, the VM crashed and I see something similar in the trace: 3HPSTACKLINE ?? at FC264A8 in libjvm.so 3HPSTACKLINE ?? at FC264A8 in libjvm.so 3HPSTACKLINE ?? at FC28598 in libjvm.so 3HPSTACKLINE logFunc at F6261C8 in libgtkjava2.5.so.2.5.4 3HPSTACKLINE g_logv at EF8F4EC in libglib-2.0.so.0 3HPSTACKLINE g_log at EF8F674 in libglib-2.0.so.0 3HPSTACKLINE ?? at F62542C in libgtkjava2.5.so.2.5.4 3HPSTACKLINE ?? at F625904 in libgtkjava2.5.so.2.5.4 3HPSTACKLINE Java_org_gnu_glib_GObject_addEventHandler__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Object_2 at F625CA8 in libgtkjava2.5.so.2.5.4 3HPSTACKLINE sysInvokeNative at FD42AF0 in libjvm.so However, if I use gcj to compile it to native executable I get a different problem: ./a.out Exception in thread "main" java.lang.NullPointerException at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0) at getHandleFromPointer (/usr/src/khc/java-gnome/root/lib/libgtkjava2.5.so.2.5.4) at Java_org_gnu_gtk_ToolTips_gtk_1tooltips_1new (/usr/src/khc/java-gnome/root/lib/libgtkjava2.5.so.2.5.4) at org.gnu.gtk.ToolTips.gtk_tooltips_new() (/usr/src/khc/java-gnome/root/lib/libgtkjar2.5.so.2.5.4) at org.gnu.gtk.ToolTips.ToolTips() (/usr/src/khc/java-gnome/root/lib/libgtkjar2.5.so.2.5.4) -khc |
From: Jeff M. <ku...@gm...> - 2005-01-04 18:10:12
|
---------- Forwarded message ---------- From: Jeff Morgan <ku...@gm...> Date: Tue, 4 Jan 2005 13:03:33 -0500 Subject: Re: [java-gnome-hackers] java-gnome at FOSDEM To: jav...@li... On Tue, 4 Jan 2005 14:47:29 +0000, Sean Coughlan <exc...@gm...> wrote: > Excellant - thats great Jeff... > > Can you give us a few more details on what you'll be talking about? That is a good question. I still have to write the presentation and soon. I am open to ideas! > Are there going to be anyone else from the list attending? I'd > probably make an effort to travel over if there were a few more > java-gnome heads going? There are going to be many people from other open source java projects like classpath, gcj, kaffe, Red Hat's awt/swing effort, and ikvm.net. I am sure there will be a lot of discussion about the current state of open source java and where it is going. > > Regards, > Sean > > > On Tue, 4 Jan 2005 08:15:34 -0500, Jeff Morgan <ku...@gm...> wrote: > > I am going to be speaking about java-gnome at FOSDEM in > > Brussels Belgium on February 26th. Many open source > > java projects will also be presenting there and it should > > be a great time. If you are able to attend I look forward to > > meeting you there. > > > > -- > > Jeffrey Morgan > > > > "The highest reward for a man's toil is not > > what he gets for it, but what he becomes by it" > > - Jon Ruskin > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by: Beat the post-holiday blues > > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > > _______________________________________________ > > java-gnome-hackers mailing list > > jav...@li... > > https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > java-gnome-hackers mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers > -- Jeffrey Morgan "The highest reward for a man's toil is not what he gets for it, but what he becomes by it" - Jon Ruskin -- Jeffrey Morgan "The highest reward for a man's toil is not what he gets for it, but what he becomes by it" - Jon Ruskin |
From: Jeff M. <ku...@gm...> - 2005-01-04 13:15:57
|
I am going to be speaking about java-gnome at FOSDEM in Brussels Belgium on February 26th. Many open source java projects will also be presenting there and it should be a great time. If you are able to attend I look forward to meeting you there. -- Jeffrey Morgan "The highest reward for a man's toil is not what he gets for it, but what he becomes by it" - Jon Ruskin |
From: Jeff M. <ku...@gm...> - 2005-01-04 02:05:08
|
If you are using anonymous cvs then you need to wait until tomorrow. Gnome anonymous cvs runs as much as 24 hours behind the regular cvs. On Mon, 3 Jan 2005 17:55:55 -0800, Ka-Hing Cheung <ka...@gm...> wrote: > On Mon, 3 Jan 2005 14:03:53 -0800, Ka-Hing Cheung <ka...@gm...> wrote: > > On Mon, 3 Jan 2005 16:19:07 -0500, Jeff Morgan <ku...@gm...> wrote: > > > This should be fixed in the cvs head now. Funny, a call to FindClass > > > was made with incorrect parameters and failed with gcj and kaffe but > > > worked with Sun's JDK. Anyway, it now works with all jvms. > > Hmm I just did an update and I don't see any changes that would affect > it, and the problem is still here. > > -khc > -- Jeffrey Morgan "The highest reward for a man's toil is not what he gets for it, but what he becomes by it" - Jon Ruskin |
From: Ka-Hing C. <ka...@gm...> - 2005-01-04 01:56:02
|
On Mon, 3 Jan 2005 14:03:53 -0800, Ka-Hing Cheung <ka...@gm...> wrote: > On Mon, 3 Jan 2005 16:19:07 -0500, Jeff Morgan <ku...@gm...> wrote: > > This should be fixed in the cvs head now. Funny, a call to FindClass > > was made with incorrect parameters and failed with gcj and kaffe but > > worked with Sun's JDK. Anyway, it now works with all jvms. Hmm I just did an update and I don't see any changes that would affect it, and the problem is still here. -khc |
From: Ka-Hing C. <ka...@gm...> - 2005-01-03 22:04:00
|
On Mon, 3 Jan 2005 16:19:07 -0500, Jeff Morgan <ku...@gm...> wrote: > This should be fixed in the cvs head now. Funny, a call to FindClass > was made with incorrect parameters and failed with gcj and kaffe but > worked with Sun's JDK. Anyway, it now works with all jvms. Thanks. -khc |
From: Jeff M. <ku...@gm...> - 2005-01-03 21:19:20
|
This should be fixed in the cvs head now. Funny, a call to FindClass was made with incorrect parameters and failed with gcj and kaffe but worked with Sun's JDK. Anyway, it now works with all jvms. On Mon, 3 Jan 2005 06:43:45 -0500, Jeff Morgan <ku...@gm...> wrote: > I have seen something similar to this myself in the past couple of > days. I assure you I will be looking into this today. > > > On Sat, 1 Jan 2005 16:48:58 -0800, Ka-Hing Cheung <ka...@gm...> wrote: > > Interesting thing is, if I try to call new Handle32Bits() in main, > > both IBM's runtime and gij runs fine, but with gcj I get a > > NullPointerException when the constructor is called: > > > > Exception in thread "main" java.lang.NullPointerException > > at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0) > > at _Jv_AllocObjectNoFinalizer (/usr/lib/libgcj.so.5.0.0) > > > > -khc > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by: Beat the post-holiday blues > > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > > _______________________________________________ > > java-gnome-developer mailing list > > jav...@li... > > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > > > > > -- > Jeffrey Morgan > > "The highest reward for a man's toil is not > what he gets for it, but what he becomes by it" > - Jon Ruskin > -- Jeffrey Morgan "The highest reward for a man's toil is not what he gets for it, but what he becomes by it" - Jon Ruskin |
From: Jeff M. <ku...@gm...> - 2005-01-03 11:43:56
|
I have seen something similar to this myself in the past couple of days. I assure you I will be looking into this today. On Sat, 1 Jan 2005 16:48:58 -0800, Ka-Hing Cheung <ka...@gm...> wrote: > Interesting thing is, if I try to call new Handle32Bits() in main, > both IBM's runtime and gij runs fine, but with gcj I get a > NullPointerException when the constructor is called: > > Exception in thread "main" java.lang.NullPointerException > at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0) > at _Jv_AllocObjectNoFinalizer (/usr/lib/libgcj.so.5.0.0) > > -khc > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > -- Jeffrey Morgan "The highest reward for a man's toil is not what he gets for it, but what he becomes by it" - Jon Ruskin |
From: Ka-Hing C. <ka...@gm...> - 2005-01-02 00:49:04
|
Interesting thing is, if I try to call new Handle32Bits() in main, both IBM's runtime and gij runs fine, but with gcj I get a NullPointerException when the constructor is called: Exception in thread "main" java.lang.NullPointerException at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0) at _Jv_AllocObjectNoFinalizer (/usr/lib/libgcj.so.5.0.0) -khc |
From: Ka-Hing C. <ka...@gm...> - 2005-01-02 00:32:52
|
Using libgtk-java 2.5.3 or cvs HEAD, the above exception is thrown whenever I call the constructor of any org.gnu.gtk.* class. Tried with IBM's powerpc 1.4.2 runtime as well as gcj (3.4, both by compiling to native code or using gij). For example, this is my main: Gtk.init(args); org.gnu.gtk.Window win = new org.gnu.gtk.Window(WindowType.TOPLEVEL); win.showAll(); Gtk.main(); Here's the trace: Exception in thread "main" java.lang.ClassNotFoundException: Lorg.gnu.glib.Handle32Bits; not found in [file:./, core:/] at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0) at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0) at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.5.0.0) at java.lang.ClassLoader.loadClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0) at getHandleFromPointer (/usr/src/khc/java-gnome/root/lib/libgtkjava2.5.so.2.5.4) at Java_org_gnu_gtk_Window_gtk_1window_1new (/usr/src/khc/java-gnome/root/lib/libgtkjava2.5.so.2.5.4) at org.gnu.gtk.Window.gtk_window_new(int) (/usr/src/khc/java-gnome/root/lib/libgtkjar2.5.so.2.5.4) at org.gnu.gtk.Window.Window(org.gnu.gtk.WindowType) (/usr/src/khc/java-gnome/root/lib/libgtkjar2.5.so.2.5.4) -khc |
From: Benjamin P. J. <bp...@gm...> - 2004-12-31 16:06:51
|
Replace the line that reads: label.setText("after"); It should be sth. like that: org.gnu.glib.CustomEvents.addEvent(new Runnable() { public void run() { label.setText("after"); } }); Cheers! Benjamin > Hi, > > I'm creating a Gtk program (not Gnome) but I have a problem that stuff > doesn't refresh until I move my mouse over the window. It's hard to explain > the problem so here's an example program. > > import org.gnu.gtk.*; > > public class Test extends Thread { > Label label; > > public static void main (String arg[]) { > Gtk.init(arg); > new Test(); > Gtk.main(); > } > > public Test() { > Window window = new Window(WindowType.TOPLEVEL); > label = new Label("bevore"); > window.add(label); > window.showAll(); > start(); > } > > public void run() { > try { > sleep(1000); > } catch(InterruptedException e) { > } > label.setText("after"); > //refresh? > } > } > > The text "after" only show up after I move the mouse over the window and not > after 1 second. Do I have to add some refresh line or something? Or am I > doing something else wrong (I don't need App do I?) This happens for > everything I tried (labels, buttons, progressBar) > > Thanks and happy new year ;) > David > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > |
From: Joao V. <jvi...@ya...> - 2004-12-31 12:34:03
|
Very good article! http://www.sys-con.com/story/?storyid=47603&DE=1 "Stop saying that 'Java is not Open Source,' and realize that 'Sun's implementation is not open source.' Even better, stop saying that 'Our implementation is open source,' it is not you know that, and this is OK, we're not blaming you, we want to work with you." As part of our end of year round-up of the Best of 2004, read Bruno Souza's answers to Sun's Onno Kluyt, who earlier this year asked what the open-sourcing of Java would make possible that people can't already do today with Java (...)" Cheers, J.V. __________________________________________________ Converse com seus amigos em tempo real com o Yahoo! Messenger http://br.download.yahoo.com/messenger/ |
From: Abcdefg <ab...@so...> - 2004-12-31 12:28:28
|
Hi, I'm creating a Gtk program (not Gnome) but I have a problem that stuff doesn't refresh until I move my mouse over the window. It's hard to explain the problem so here's an example program. import org.gnu.gtk.*; public class Test extends Thread { Label label; public static void main (String arg[]) { Gtk.init(arg); new Test(); Gtk.main(); } public Test() { Window window = new Window(WindowType.TOPLEVEL); label = new Label("bevore"); window.add(label); window.showAll(); start(); } public void run() { try { sleep(1000); } catch(InterruptedException e) { } label.setText("after"); //refresh? } } The text "after" only show up after I move the mouse over the window and not after 1 second. Do I have to add some refresh line or something? Or am I doing something else wrong (I don't need App do I?) This happens for everything I tried (labels, buttons, progressBar) Thanks and happy new year ;) David |
From: Joao V. <jvi...@ya...> - 2004-12-31 12:21:08
|
Very good article! http://www.sys-con.com/story/?storyid=47603&DE=1 "Stop saying that 'Java is not Open Source,' and realize that 'Sun's implementation is not open source.' Even better, stop saying that 'Our implementation is open source,' it is not you know that, and this is OK, we're not blaming you, we want to work with you." As part of our end of year round-up of the Best of 2004, read Bruno Souza's answers to Sun's Onno Kluyt, who earlier this year asked what the open-sourcing of Java would make possible that people can't already do today with Java (...)" Cheers, J.V. __________________________________________________ Converse com seus amigos em tempo real com o Yahoo! Messenger http://br.download.yahoo.com/messenger/ |
From: Skip C. <sco...@gm...> - 2004-12-30 22:15:08
|
Hey there, Thanks. I have FileChooserDialog sort of working with glade now. I am wondering if anyone has noticed that the buttons do not appear when the dialog is shown. I can add the buttons with addButton(). When I manually add the buttons, I don't know how to tell which button was pushed by the user. Anyone have any suggestions. scoon On Tue, 28 Dec 2004 18:19:24 -0500, Skip Coon <sco...@gm...> wrote: > Hey there, > > I am running version 2.4.0 here. Thanks for the info. > > scoon > > > On Tue, 28 Dec 2004 08:45:37 -0500, Jeff Morgan <ku...@gm...> wrote: > > What version of libglade2 is installed on your system? See > > > > http://mail.gnome.org/archives/gtk-app-devel-list/2004-August/msg00067.html > > > > > > On Tue, 28 Dec 2004 06:59:44 -0500, Skip Coon <sco...@gm...> wrote: > > > Hey All, > > > > > > Is anyone able to use the FileChooserDialog created by glade (v2.6.0) > > > or do you just get this err: > > > > > > org.gnu.glade.GladeXMLException: unknown widget class 'GtkFileChooserDialog' > > > Java Result: 1 > > > > > > scoon > > > > > > ------------------------------------------------------- > > > SF email is sponsored by - The IT Product Guide > > > Read honest & candid reviews on hundreds of IT Products from real users. > > > Discover which products truly live up to the hype. Start reading now. > > > http://productguide.itmanagersjournal.com/ > > > _______________________________________________ > > > java-gnome-developer mailing list > > > jav...@li... > > > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > > > > > > > -- > > Jeffrey Morgan > > > > "The highest reward for a man's toil is not > > what he gets for it, but what he becomes by it" > > - Jon Ruskin > > > |