[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems running GTK-peers on Nokia-770

From: Clemens Eisserer
Subject: Problems running GTK-peers on Nokia-770
Date: Wed, 26 Oct 2005 15:42:51 +0000


I've just got my Nokia770 2 days ago and today I was able to build a
working sablevm package for it, after I sadly failed with kaffe.

It really works well (and slow ;) ) expect  some glitches with
AWT/Peers, however one main problem is there which I wasn't able to

As soon as I create a JFrame I get the following expections, although
adding Swing components to a Frame works:
jamvm[1625]: GLIB CRITICAL ** GLib-GObject - g_object_ref: assertion
`G_IS_OBJECT (object)' failed
java.lang.InternalError: GLib-GObject: g_object_ref: assertion
`G_IS_OBJECT (object)' failed
   at (Native Method)
   at<init> (
   at (
   at java.awt.Component.createImage (
   at java.awt.Component.createImage (
   at javax.swing.RepaintManager.getOffscreenBuffer (
   at javax.swing.JComponent.paint (
   at java.awt.Container$GfxPaintVisitor.visit (
   at java.awt.Container.visitChild (
   at java.awt.Container.visitChildren (
   at java.awt.Container.paint (
   at java.awt.Component.dispatchEventImpl (
   at java.awt.Container.dispatchEventImpl (
   at java.awt.Window.dispatchEventImpl (
   at java.awt.Component.dispatchEvent (
   at java.awt.EventQueue.dispatchEvent (
   at (
jamvm[1625]: GLIB CRITICAL ** Gdk - gdk_colormap_alloc_colors:
assertion `GDK_IS_COLORMAP (colormap)' failed
java.lang.InternalError: Gdk: gdk_colormap_alloc_colors: assertion
`GDK_IS_COLORMAP (colormap)' failed
   at (Native Method)
   at (

Nokia claims that the modified GTK-2.6.? they use is binary compatible
to GTK-2.6.
I went a bit through the peers code and it was quite straightforeward
to read, however I did not find a function call to "g_object_ref" and
I have to admit that I am a gtk noob.
As far as I can see either classpath makes some assumptions how GTK
should be (low probability) or Nokia's GTK implementation is broken
(more likely). Any ideas where the root of the problem could come

Thank you in advance, lg Clemens

reply via email to

[Prev in Thread] Current Thread [Next in Thread]