ve doesn't display gui [message #116603] |
Thu, 02 February 2006 00:24 |
Eclipse User |
|
|
|
Originally posted by: geezmo06.gmx.at
hi
i run eclipse under linux gtk and when i try to create a new visual class
following errors appear:
i hope there's somebody that can help me.
greets, geezmo
export of my Error Log:
!ENTRY org.eclipse.ve.java.core 2 0 2006-02-02 01:11:18.603
!MESSAGE +++ Warning +++: Thu Feb 02 01:11:18 CET 2006 Skipping
expression: jContentPane.setLayout(new BorderLayout())
!ENTRY org.eclipse.ve.java.core 4 0 2006-02-02 01:11:18.628
!MESSAGE Invalid PropertyDecorator
!ENTRY org.eclipse.jem.proxy 2 0 2006-02-02 01:11:18.677
!MESSAGE !STACK 0
IWAV0073I *** RemoteVM Exception - Trace from Remote VM:
java.awt.AWTError: Cannot load AWT toolkit:
gnu.java.awt.peer.gtk.GtkToolkit
at java.awt.Toolkit.getDefaultToolkit() (/usr/lib/libgcj.so.6.0.0)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment()
(/usr/lib/libgcj.so.6.0.0)
at
org.eclipse.ve.internal.jfc.vm.FreeFormAWTDialog.getScreenLo cation(boolean)
(Unknown Source)
at java.lang.reflect.Method.invoke(java.lang.Object,
java.lang.Object[]) (/usr/lib/libgcj.so.6.0.0)
at org.eclipse.jem.internal.proxy.vm.remote.ConnectionHandler.r un()
(Unknown Source)
at org.eclipse.jem.internal.proxy.vm.remote.ConnectionThread.ru n()
(Unknown Source)
at .GC_start_routine (/usr/lib/libgcj.so.6.0.0)
at .__clone (/lib/tls/i686/cmov/libc-2.3.5.so)
Caused by: java.lang.ClassNotFoundException:
gnu.java.awt.peer.gtk.GtkToolkit not found in
gnu.gcj.runtime.SystemClassLoader{urls=[file:/home/geezmo/bi n/eclipse/configuration/org.eclipse.osgi/bundles/150/1/.cp/v m/remotevm.jar,file:./,file:/home/geezmo/workspace/GH/,file: /home/geezmo/bin/eclipse/plugins/org.eclipse.jem.proxy_1.2.0 .jar,file:./,file:/home/geezmo/bin/eclipse/configuration/org .eclipse.osgi/bundles/145/1/.cp/vm/jfcbeaninfo.jar,file:/hom e/geezmo/bin/eclipse/plugins/org.eclipse.jem.beaninfo_1.2.0. jar,file:./,file:/home/geezmo/bin/eclipse/configuration/org. eclipse.osgi/bundles/144/1/.cp/vm/beaninfovm.jar,file:/home/ geezmo/bin/eclipse/configuration/org.eclipse.osgi/bundles/14 7/1/.cp/vm/javaremotevm.jar,file:./,file:/home/geezmo/bin/ec lipse/configuration/org.eclipse.osgi/bundles/145/1/.cp/vm/jf cvm.jar],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(java.lang.String)
(/usr/lib/libgcj.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean)
(/usr/lib/libgcj.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String)
(/usr/lib/libgcj.so.6.0.0)
at java.lang.Class.forName(java.lang.String, boolean,
java.lang.ClassLoader) (/usr/lib/libgcj.so.6.0.0)
at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
at java.awt.Toolkit.getDefaultToolkit() (/usr/lib/libgcj.so.6.0.0)
...7 more
IWAV0074I *** Local StackTrace:
org.eclipse.jem.internal.proxy.remote.REMThrowableBeanProxyP roxy:
java.awt.AWTError: Cannot load AWT toolkit:
gnu.java.awt.peer.gtk.GtkToolkit
at
org.eclipse.jem.internal.proxy.remote.REMThrowableBeanTypePr oxy.createThrowableBeanProxy(REMThrowableBeanTypeProxy.java: 34)
at
org.eclipse.jem.internal.proxy.remote.REMThrowableBeanTypePr oxy.newBeanProxy(REMThrowableBeanTypeProxy.java:65)
at
org.eclipse.jem.internal.proxy.remote.REMStandardBeanProxyFa ctory.getBeanProxy(REMStandardBeanProxyFactory.java:459)
at
org.eclipse.jem.internal.proxy.remote.REMStandardBeanProxyFa ctory.processErrorReturn(REMStandardBeanProxyFactory.java:51 0)
at
org.eclipse.jem.internal.proxy.remote.REMMethodProxy.invoke( REMMethodProxy.java:221)
at
org.eclipse.jem.internal.proxy.remote.REMMethodProxy.invokeW ithParms(REMMethodProxy.java:178)
at
org.eclipse.jem.internal.proxy.remote.REMMethodProxy.invoke( REMMethodProxy.java:102)
at
org.eclipse.jem.internal.proxy.remote.REMMethodProxy.invoke( REMMethodProxy.java:226)
at
org.eclipse.jem.internal.proxy.remote.REMMethodProxy.invokeC atchThrowableExceptions(REMMethodProxy.java:251)
at
org.eclipse.ve.internal.jfc.core.BeanAwtUtilities.getOffScre enLocation(BeanAwtUtilities.java:72)
at
org.eclipse.ve.internal.jfc.core.WindowProxyAdapter.primInst antiateBeanProxy(WindowProxyAdapter.java:91)
at
org.eclipse.ve.internal.jfc.core.FrameProxyAdapter.primInsta ntiateBeanProxy(FrameProxyAdapter.java:71)
at
org.eclipse.ve.internal.java.core.BeanProxyAdapter.instantia teAndInitialize(BeanProxyAdapter.java:387)
at
org.eclipse.ve.internal.java.core.BeanProxyAdapter.instantia teBeanProxy(BeanProxyAdapter.java:328)
at
org.eclipse.ve.internal.java.core.MemberContainerProxyAdapte r.initSetting(MemberContainerProxyAdapter.java:547)
at
org.eclipse.ve.internal.java.core.CompositionProxyAdapter.su bInitBeanProxy(CompositionProxyAdapter.java:315)
at
org.eclipse.ve.internal.java.core.MemberContainerProxyAdapte r.initBeanProxy(MemberContainerProxyAdapter.java:566)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:2082)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
!ENTRY org.eclipse.jem.proxy 4 0 2006-02-02 01:11:19.730
!MESSAGE Exception thrown.
!STACK 0
java.io.EOFException
at java.io.DataInputStream.readByte(DataInputStream.java:243)
at
org.eclipse.jem.internal.proxy.common.remote.Commands.readBa ckValue(Commands.java:1243)
at
org.eclipse.jem.internal.proxy.common.remote.ExpressionComma nds.sendSyncCommand(ExpressionCommands.java:261)
at
org.eclipse.jem.internal.proxy.remote.REMConnection.sync(REM Connection.java:320)
at
org.eclipse.jem.internal.proxy.remote.REMExpression.pushInvo ke(REMExpression.java:970)
at
org.eclipse.jem.internal.proxy.core.Expression.invokeExpress ion(Expression.java:685)
at
org.eclipse.ve.internal.java.core.MemberContainerProxyAdapte r.initBeanProxy(MemberContainerProxyAdapter.java:582)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:2082)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
!ENTRY org.eclipse.ve.java.core 2 0 2006-02-02 01:11:19.731
!MESSAGE Exception thrown.
!STACK 0
java.lang.IllegalStateException: IWAV0173I Command Exception occurred. See
log file for details.
at
org.eclipse.jem.internal.proxy.remote.REMExpression.throwIll egalStateException(REMExpression.java:193)
at
org.eclipse.jem.internal.proxy.remote.REMExpression.pushInvo ke(REMExpression.java:1001)
at
org.eclipse.jem.internal.proxy.core.Expression.invokeExpress ion(Expression.java:685)
at
org.eclipse.ve.internal.java.core.MemberContainerProxyAdapte r.initBeanProxy(MemberContainerProxyAdapter.java:582)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:2082)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
!ENTRY org.eclipse.jem.proxy 2 0 2006-02-02 01:11:19.850
!MESSAGE +++ Warning +++: Thu Feb 02 01:11:19 CET 2006 Project (GH)-VM
for GH:err>
java.awt.AWTError: Cannot load AWT toolkit:
gnu.java.awt.peer.gtk.GtkToolkit
at java.awt.Toolkit.getDefaultToolkit() (/usr/lib/libgcj.so.6.0.0)
at java.awt.EventQueue.invokeLater(java.lang.Runnable)
(/usr/lib/libgcj.so.6.0.0)
at javax.swing.SwingUtilities.invokeLater(java.lang.Runnable)
(/usr/lib/libgcj.so.6.0.0)
at
javax.swing.RepaintManager.addInvalidComponent(javax.swing.J Component)
(/usr/lib/libgcj.so.6.0.0)
at javax.swing.JComponent.revalidate() (/usr/lib/libgcj.so.6.0.0)
at javax.swing.JComponent.setOpaque(boolean)
(/usr/lib/libgcj.so.6.0.0)
at javax.swing.JPanel.JPanel(java.awt.LayoutManager, boolean)
(/usr/lib/libgcj.so.6.0.0)
at javax.swing.JPanel.JPanel() (/usr/lib/libgcj.so.6.0.0)
at javax.swing.JRootPane.createGlassPane()
(/usr/lib/libgcj.so.6.0.0)
at javax.swing.JRootPane.getGlassPane() (/usr/lib/libgcj.so.6.0.0)
at javax.swing.JRootPane.JRootPane() (/usr/lib/libgcj.so.6.0.0)
at javax.swing.JFrame.createRootPane() (/usr/lib/libgcj.so.6.0.0)
at javax.swing.JFrame.getRootPane() (/usr/lib/libgcj.so.6.0.0)
at javax.swing.JFrame.frameInit() (/usr/lib/libgcj.so.6.0.0)
at javax.swing.JFrame.JFrame() (/usr/lib/libgcj.so.6.0.0)
at java.lang.Class.newInstance() (/usr/lib/libgcj.so.6.0.0)
at
org.eclipse.jem.internal.proxy.initParser.tree.ExpressionPro cesser.pushClassInstanceCreation(java.lang.Class,
int) (Unknown Source)
at
org.eclipse.jem.internal.proxy.vm.remote.ExpressionProcesser Controller.process(java.io.DataInputStream)
(Unknown Source)
at
org.eclipse.jem.internal.proxy.vm.remote.ConnectionHandler.p rocessExpressionCommand(org.eclipse.jem.internal.proxy.commo n.remote.Commands$ValueObject,
org.eclipse.jem.internal.proxy.vm.remote.ConnectionHandler$I nvokableValueSender)
(Unknown Source)
at org.eclipse.jem.internal.proxy.vm.remote.ConnectionHandler.r un()
(Unknown Source)
at org.eclipse.jem.internal.proxy.vm.remote.ConnectionThread.ru n()
(Unknown Source)
at .GC_start_routine (/usr/lib/libgcj.so.6.0.0)
at .__clone (/lib/tls/i686/cmov/libc-2.3.5.so)
Caused by: java.lang.ClassNotFoundException:
gnu.java.awt.peer.gtk.GtkToolkit not found in
gnu.gcj.runtime.SystemClassLoader{urls=[file:/home/geezmo/bi n/eclipse/configuration/org.eclipse.osgi/bundles/150/1/.cp/v m/remotevm.jar,file:./,file:/home/geezmo/workspace/GH/,file: /home/geezmo/bin/eclipse/plugins/org.eclipse.jem.proxy_1.2.0 .jar,file:./,file:/home/geezmo/bin/eclipse/configuration/org .eclipse.osgi/bundles/145/1/.cp/vm/jfcbeaninfo.jar,file:/hom e/geezmo/bin/eclipse/plugins/org.eclipse.jem.beaninfo_1.2.0. jar,file:./,file:/home/geezmo/bin/eclipse/configuration/org. eclipse.osgi/bundles/144/1/.cp/vm/beaninfovm.jar,file:/home/ geezmo/bin/eclipse/configuration/org.eclipse.osgi/bundles/14 7/1/.cp/vm/javaremotevm.jar,file:./,file:/home/geezmo/bin/ec lipse/configuration/org.eclipse.osgi/bundles/145/1/.cp/vm/jf cvm.jar],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(java.lang.String)
(/usr/lib/libgcj.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean)
(/usr/lib/libgcj.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String)
(/usr/lib/libgcj.so.6.0.0)
at java.lang.Class.forName(java.lang.String, boolean,
java.lang.ClassLoader) (/usr/lib/libgcj.so.6.0.0)
at java.lang.Class.forName(java.lang.String)
(/usr/lib/libgcj.so.6.0.0)
at java.awt.Toolkit.getDefaultToolkit() (/usr/lib/libgcj.so.6.0.0)
...22 more
!ENTRY org.eclipse.jem.proxy 2 0 2006-02-02 01:11:29.020
!MESSAGE +++ Warning +++: Thu Feb 02 01:11:29 CET 2006 Project (GH)-VM
for GH:err>
Exception in thread "Thread-2" !ENTRY org.eclipse.jem.proxy 2 0
2006-02-02 01:11:29.359
!MESSAGE +++ Warning +++: Thu Feb 02 01:11:29 CET 2006 Project (GH)-VM
for GH:err>
java.awt.AWTError: Cannot load AWT toolkit:
gnu.java.awt.peer.gtk.GtkToolkit
at java.awt.Toolkit.getDefaultToolkit() (/usr/lib/libgcj.so.6.0.0)
at org.eclipse.jem.internal.proxy.vm.remote.AWTStarter$1.run()
(Unknown Source)
at .GC_start_routine (/usr/lib/libgcj.so.6.0.0)
at .__clone (/lib/tls/i686/cmov/libc-2.3.5.so)
Caused by: java.lang.ClassNotFoundException:
gnu.java.awt.peer.gtk.GtkToolkit not found in
gnu.gcj.runtime.SystemClassLoader{urls=[file:/home/geezmo/bi n/eclipse/configuration/org.eclipse.osgi/bundles/150/1/.cp/v m/remotevm.jar,file:./,file:/home/geezmo/workspace/GH/,file: /home/geezmo/bin/eclipse/plugins/org.eclipse.jem.proxy_1.2.0 .jar,file:./,file:/home/geezmo/bin/eclipse/configuration/org .eclipse.osgi/bundles/145/1/.cp/vm/jfcbeaninfo.jar,file:/hom e/geezmo/bin/eclipse/plugins/org.eclipse.jem.beaninfo_1.2.0. jar,file:./,file:/home/geezmo/bin/eclipse/configuration/org. eclipse.osgi/bundles/144/1/.cp/vm/beaninfovm.jar,file:/home/ geezmo/bin/eclipse/configuration/org.eclipse.osgi/bundles/14 7/1/.cp/vm/javaremotevm.jar,file:./,file:/home/geezmo/bin/ec lipse/configuration/org.eclipse.osgi/bundles/145/1/.cp/vm/jf cvm.jar],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(java.lang.String)
(/usr/lib/libgcj.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean)
(/usr/lib/libgcj.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String)
(/usr/lib/libgcj.so.6.0.0)
at java.lang.Class.forName(java.lang.String, boolean,
java.lang.ClassLoader) (/usr/lib/libgcj.so.6.0.0)
at java.lang.Class.forName(java.lang.String)
(/usr/lib/libgcj.so.6.0.0)
at java.awt.Toolkit.getDefaultToolkit() (/usr/lib/libgcj.so.6.0.0)
...3 more
|
|
|
Re: ve doesn't display gui [message #116610 is a reply to message #116603] |
Thu, 02 February 2006 00:27 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
There's something strange about the GTKToolkit you have on your system.
Either it can't be found or it is an incompatible version for the Java
JDK you are using.
--
Thanks,
Rich Kulp
|
|
|
|
Re: ve doesn't display gui [message #116638 is a reply to message #116615] |
Thu, 02 February 2006 11:38 |
Eclipse User |
|
|
|
Originally posted by: geezmo06.gmx.at
hi
i know..but i also have the sun java runtime on my machine...how can i
tell eclipse to use the sun jre?
i start it with the option -vm /sun1.5.0_06/bin/java
geezmo
|
|
|
|
|
Re: ve doesn't display gui [message #116845 is a reply to message #116729] |
Fri, 03 February 2006 11:45 |
Eclipse User |
|
|
|
Originally posted by: geezmo06.gmx.at
hi
thanks...i've found the option. window -> preferences -> java -> installed
jre ...there i specified the path of my sun java. now it works.
thanks a lot!!
greetes,
geezmo
|
|
|
Re: ve doesn't display gui [message #121350 is a reply to message #116615] |
Sun, 02 April 2006 09:36 |
Eclipse User |
|
|
|
Originally posted by: thunderaxiom.gmail.com
Jeff Myers skrev den 02-02-2006 01:43:
> You are using a GCJ Java runtime, which isn't supported by the VE.
> You'll need to switch to a Sun or IBM JRE to use the VE properly.
Just curious :) Could you elaborate a bit on why?
--
Thorbjørn
|
|
|
|
Re: ve doesn't display gui [message #611935 is a reply to message #116603] |
Thu, 02 February 2006 00:27 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
There's something strange about the GTKToolkit you have on your system.
Either it can't be found or it is an incompatible version for the Java
JDK you are using.
--
Thanks,
Rich Kulp
|
|
|
|
Re: ve doesn't display gui [message #611941 is a reply to message #116615] |
Thu, 02 February 2006 11:38 |
Eclipse User |
|
|
|
Originally posted by: geezmo06.gmx.at
hi
i know..but i also have the sun java runtime on my machine...how can i
tell eclipse to use the sun jre?
i start it with the option -vm /sun1.5.0_06/bin/java
geezmo
|
|
|
|
|
Re: ve doesn't display gui [message #611960 is a reply to message #116729] |
Fri, 03 February 2006 11:45 |
Eclipse User |
|
|
|
Originally posted by: geezmo06.gmx.at
hi
thanks...i've found the option. window -> preferences -> java -> installed
jre ...there i specified the path of my sun java. now it works.
thanks a lot!!
greetes,
geezmo
|
|
|
Re: ve doesn't display gui [message #612454 is a reply to message #116615] |
Sun, 02 April 2006 09:36 |
Eclipse User |
|
|
|
Originally posted by: thunderaxiom.gmail.com
Jeff Myers skrev den 02-02-2006 01:43:
> You are using a GCJ Java runtime, which isn't supported by the VE.
> You'll need to switch to a Sun or IBM JRE to use the VE properly.
Just curious :) Could you elaborate a bit on why?
--
Thorbjørn
|
|
|
|
Powered by
FUDForum. Page generated in 0.04208 seconds