GWT Designer on Ubuntu/Debian

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

GWT Designer on Ubuntu/Debian

Postby ialexei » Thu Jul 03, 2008 12:16 pm

Team,

I have been using GWT Designer on WindowsXP for a while now. I love it, Great Product!!!
Recently I switched over to Ubuntu and I have been having zero success trying to install and use the product mainly because of dependencies.
This is inspite of installing various lib-gtk+ versions, XULRunner, Firefox2.

Do you have plans to provide .deb file/repository area ?
If this is done all we would need to do is point Synaptic to your repository and install it from there.

I hate having to keep windows around just for using GWT Designer or seek alternatives.

-Alexei
ialexei
 
Posts: 4
Joined: Thu Jul 03, 2008 12:05 pm

Re: GWT Designer on Ubuntu/Debian

Postby Eric Clayberg » Thu Jul 03, 2008 2:46 pm

What version of Ubuntu are you using?

You should try it with with Firefox 3/xulrunner 1.9.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: GWT Designer on Ubuntu/Debian

Postby ialexei » Sat Jul 05, 2008 4:48 am

Eric,

I am using the 8.04, the latest I believe.
Would it be possible for somebody on your team to install the latest Ubuntu and post a reply (step by step ) on what needs to be removed/installed to make GWT Designer work.

Thank you
ialexei
 
Posts: 4
Joined: Thu Jul 03, 2008 12:05 pm

Re: GWT Designer on Ubuntu/Debian

Postby Alexander.Mitin » Sat Jul 05, 2008 7:01 am

What exactly not working? If it possible please describe what you've tried step by step.
Alexander Mitin
Alexander.Mitin
Moderator
 
Posts: 155
Joined: Fri Jan 19, 2007 3:57 am

Re: GWT Designer on Ubuntu/Debian

Postby freemed » Tue Jul 08, 2008 9:18 am

The issue appears to be with the Ubuntu/Debian convention of naming their libraries, at least in regards to the libxul0d package.

Try this:

Code: Select all
sudo apt-get install libxul0d
( cd /usr/lib ; sudo ln -s libxpcom.so.0d libxpcom.so ; sudo ln -s libxpcomglue.so.0d libxpcomglue.so )
sudo ldconfig


That should fix your problem.

--
Thanks,
Jeff
(jeff@freemedsoftware.org)
FreeMED Software Foundation, Inc
http://freemedsoftware.org/
freemed
 
Posts: 2
Joined: Tue Jul 08, 2008 9:16 am

Re: GWT Designer on Ubuntu/Debian

Postby ialexei » Tue Jul 08, 2008 2:10 pm

Hi,

It still did not solve.
Here is what I have
1. XulRunner
2. Libxpr... from the post from Alexander
3. Sun Java 1.6
4. Your instructions regarding libxpcom
5. FireFox 3 (there by default)

I get an exception when I click on design view.
Anything else I missing ?

-Alexei

==============================================================================================
Plug-in Provider: Instantiations

Plug-in Name: GWT Designer Subscription

Plug-in ID: com.swtdesigner

Plug-in Version: 5.0.0.200807081009



java.lang.ClassNotFoundException: org.eclipse.swt.internal.ole.win32.COMObject

at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:481)

at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:397)

at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:385)

at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:87)

at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:620)

at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:165)

at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:554)

at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:524)

at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:455)

at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(ClasspathManager.java:443)

at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:423)

at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:193)

at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:368)

at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:444)

at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:397)

at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:385)

at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:87)

at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

at com.instantiations.designer.gwt.hosted.ie.BrowserShellFactory.create(BrowserShellFactory.java:13)

at com.instantiations.designer.gwt.hosted.odc.HostedModeSupport.createBrowserShell(HostedModeSupport.java:154)

at com.instantiations.designer.gwt.hosted.odc.HostedModeSupport.<init>(HostedModeSupport.java:56)

at com.instantiations.designer.gwt.hosted.odc.HostedModeSupportFactory.create(HostedModeSupportFactory.java:16)

at com.swtdesigner.gwt.model.widgets.support.GWTState.getHostedModeSupport(GWTState.java:1736)

at com.swtdesigner.gwt.model.widgets.support.GWTState.access$100(GWTState.java:62)

at com.swtdesigner.gwt.model.widgets.support.GWTState$1.run(GWTState.java:143)

at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:446)

at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:354)

at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)

at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:275)

at org.eclipse.ui.internal.progress.ProgressManager.run(ProgressManager.java:1191)

at com.swtdesigner.gwt.model.widgets.support.GWTState.<init>(GWTState.java:169)

at com.swtdesigner.gwt.model.widgets.support.GWTState.createState(GWTState.java:1748)

at com.swtdesigner.gwt.model.widgets.UIObjectInfo.getState(UIObjectInfo.java:416)

at com.swtdesigner.gwt.model.widgets.UIObjectInfo.classByName(UIObjectInfo.java:191)

at com.swtdesigner.gwt.model.widgets.UIObjectInfo.<init>(UIObjectInfo.java:68)

at com.swtdesigner.gwt.model.widgets.WidgetInfo.<init>(WidgetInfo.java:55)

at com.swtdesigner.gwt.model.widgets.panel.AbstractContainerInfo.<init>(AbstractContainerInfo.java:37)

at com.swtdesigner.gwt.model.widgets.panel.PanelInfo.<init>(PanelInfo.java:25)

at com.swtdesigner.gwt.model.widgets.panel.ComplexPanelInfo.<init>(ComplexPanelInfo.java:26)

at com.swtdesigner.gwt.model.widgets.panel.AbsolutePanelInfo.<init>(AbsolutePanelInfo.java:36)

at com.swtdesigner.gwt.model.widgets.panel.RootPanelInfo.<init>(RootPanelInfo.java:23)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

at com.swtdesigner.gwt.model.GWTJavaInfoFactory.create(GWTJavaInfoFactory.java:163)

at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:113)

at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:96)

at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:89)

at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.isComponentCreation(JavaInfoParser.java:3781)

at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.endVisit(JavaInfoParser.java:1886)

at org.eclipse.jdt.core.dom.MethodInvocation.accept0(MethodInvocation.java:247)

at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)

at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2525)

at org.eclipse.jdt.core.dom.VariableDeclarationFragment.accept0(VariableDeclarationFragment.java:225)

at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)

at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2548)

at org.eclipse.jdt.core.dom.VariableDeclarationStatement.accept0(VariableDeclarationStatement.java:273)

at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)

at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2548)

at org.eclipse.jdt.core.dom.Block.accept0(Block.java:136)

at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)

at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2525)

at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:502)

at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)

at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.visit(JavaInfoParser.java:3018)

at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:467)

at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)

at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2548)

at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:214)

at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)

at com.swtdesigner.model.parser.JavaInfoParser.parse(JavaInfoParser.java:319)

at com.swtdesigner.gef.DesignerEditor.parseCompilationUnit(DesignerEditor.java:1149)

at com.swtdesigner.gef.DesignerEditor$17.execute(DesignerEditor.java:1077)

at com.swtdesigner.model.swing.properties.custom.DesignTimeHelper.execute(DesignTimeHelper.java:54)

at com.swtdesigner.gef.DesignerEditor.handleActivate(DesignerEditor.java:1071)

at com.swtdesigner.gef.DesignerEditor.handleActivate(DesignerEditor.java:1062)

at com.swtdesigner.editors.MultiPageEditor.showDesignEditor(MultiPageEditor.java:391)

at com.swtdesigner.editors.MultiPageEditor$2.widgetSelected(MultiPageEditor.java:178)

at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1182)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1167)

at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1007)

at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3242)

at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2017)

at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:320)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)

at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)

at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)

at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)

at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)

at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)

at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)

at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)

at org.eclipse.equinox.launcher.Main.run(Main.java:1236)



Full stack trace (to see full context):

org.apache.commons.lang.exception.NestableError: org.apache.commons.lang.exception.NestableError: com.swtdesigner.properties.PropertyException: java.lang.reflect.InvocationTargetException

at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.isComponentCreation(JavaInfoParser.java:3792)

at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.endVisit(JavaInfoParser.java:1886)

at org.eclipse.jdt.core.dom.MethodInvocation.accept0(MethodInvocation.java:247)

at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)

at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2525)

at org.eclipse.jdt.core.dom.VariableDeclarationFragment.accept0(VariableDeclarationFragment.java:225)

at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)

at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2548)

at org.eclipse.jdt.core.dom.VariableDeclarationStatement.accept0(VariableDeclarationStatement.java:273)

at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)

at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2548)

at org.eclipse.jdt.core.dom.Block.accept0(Block.java:136)

at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)

at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2525)

at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:502)

at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)

at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.visit(JavaInfoParser.java:3018)

at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:467)

at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)

at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2548)

at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:214)

at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2478)

at com.swtdesigner.model.parser.JavaInfoParser.parse(JavaInfoParser.java:319)

at com.swtdesigner.gef.DesignerEditor.parseCompilationUnit(DesignerEditor.java:1149)

at com.swtdesigner.gef.DesignerEditor$17.execute(DesignerEditor.java:1077)

at com.swtdesigner.model.swing.properties.custom.DesignTimeHelper.execute(DesignTimeHelper.java:54)

at com.swtdesigner.gef.DesignerEditor.handleActivate(DesignerEditor.java:1071)

at com.swtdesigner.gef.DesignerEditor.handleActivate(DesignerEditor.java:1062)

at com.swtdesigner.editors.MultiPageEditor.showDesignEditor(MultiPageEditor.java:391)

at com.swtdesigner.editors.MultiPageEditor$2.widgetSelected(MultiPageEditor.java:178)

at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1182)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1167)

at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1007)

at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3242)

at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2017)

at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:320)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)

at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)

at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)

at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)

at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)

at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)

at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)

at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)

at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

Caused by: org.apache.commons.lang.exception.NestableError: com.swtdesigner.properties.PropertyException: java.lang.reflect.InvocationTargetException

at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:119)

at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:96)

at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:89)

at com.swtdesigner.model.parser.JavaInfoParser$ParserVisitor.isComponentCreation(JavaInfoParser.java:3781)

... 62 more

Caused by: com.swtdesigner.properties.PropertyException: java.lang.reflect.InvocationTargetException

at com.swtdesigner.gwt.model.GWTJavaInfoFactory.create(GWTJavaInfoFactory.java:171)

at com.swtdesigner.model.parser.factory.JavaInfoFactory.create(JavaInfoFactory.java:113)

... 65 more

Caused by: java.lang.reflect.InvocationTargetException

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

at com.swtdesigner.gwt.model.GWTJavaInfoFactory.create(GWTJavaInfoFactory.java:163)

... 66 more

Caused by: org.apache.commons.lang.exception.NestableError: org.apache.commons.lang.exception.NestableError: java.lang.reflect.InvocationTargetException

at com.swtdesigner.gwt.model.widgets.UIObjectInfo.classByName(UIObjectInfo.java:193)

at com.swtdesigner.gwt.model.widgets.UIObjectInfo.<init>(UIObjectInfo.java:68)

at com.swtdesigner.gwt.model.widgets.WidgetInfo.<init>(WidgetInfo.java:55)

at com.swtdesigner.gwt.model.widgets.panel.AbstractContainerInfo.<init>(AbstractContainerInfo.java:37)

at com.swtdesigner.gwt.model.widgets.panel.PanelInfo.<init>(PanelInfo.java:25)

at com.swtdesigner.gwt.model.widgets.panel.ComplexPanelInfo.<init>(ComplexPanelInfo.java:26)

at com.swtdesigner.gwt.model.widgets.panel.AbsolutePanelInfo.<init>(AbsolutePanelInfo.java:36)

at com.swtdesigner.gwt.model.widgets.panel.RootPanelInfo.<init>(RootPanelInfo.java:23)

... 71 more

Caused by: org.apache.commons.lang.exception.NestableError: java.lang.reflect.InvocationTargetException

at com.swtdesigner.gwt.model.widgets.UIObjectInfo.getState(UIObjectInfo.java:423)

at com.swtdesigner.gwt.model.widgets.UIObjectInfo.classByName(UIObjectInfo.java:191)

... 78 more

Caused by: java.lang.reflect.InvocationTargetException

at com.swtdesigner.gwt.model.widgets.support.GWTState$1.run(GWTState.java:162)

at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:446)

at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:354)

at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)

at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:275)

at org.eclipse.ui.internal.progress.ProgressManager.run(ProgressManager.java:1191)

at com.swtdesigner.gwt.model.widgets.support.GWTState.<init>(GWTState.java:169)

at com.swtdesigner.gwt.model.widgets.support.GWTState.createState(GWTState.java:1748)

at com.swtdesigner.gwt.model.widgets.UIObjectInfo.getState(UIObjectInfo.java:416)

... 79 more

Caused by: java.lang.NoClassDefFoundError: org/eclipse/swt/internal/ole/win32/COMObject

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:620)

at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:165)

at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:554)

at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:524)

at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:455)

at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(ClasspathManager.java:443)

at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:423)

at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:193)

at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:368)

at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:444)

at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:397)

at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:385)

at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:87)

at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

at com.instantiations.designer.gwt.hosted.ie.BrowserShellFactory.create(BrowserShellFactory.java:13)

at com.instantiations.designer.gwt.hosted.odc.HostedModeSupport.createBrowserShell(HostedModeSupport.java:154)

at com.instantiations.designer.gwt.hosted.odc.HostedModeSupport.<init>(HostedModeSupport.java:56)

at com.instantiations.designer.gwt.hosted.odc.HostedModeSupportFactory.create(HostedModeSupportFactory.java:16)

at com.swtdesigner.gwt.model.widgets.support.GWTState.getHostedModeSupport(GWTState.java:1736)

at com.swtdesigner.gwt.model.widgets.support.GWTState.access$100(GWTState.java:62)

at com.swtdesigner.gwt.model.widgets.support.GWTState$1.run(GWTState.java:143)

... 87 more

Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.internal.ole.win32.COMObject

at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:481)

at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:397)

at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:385)

at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:87)

at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

... 110 more



Designer Configuration Details:



Product: GWT Designer Subscription

Version: 5.0.0.200807081009

Expected: Eclipse 3.4

Actual: Eclipse 3.4.0.v20080512

Actual Eclipse Build Name:

Actual Eclipse Build ID: I20080617-2000

IDE Actual Name: Eclipse

IDE Actual Version: 3.3.100.v200806172000

IDE Actual NL: en_US

Serial Number: --------EDITED--------------
Activation Key: -----------------EDITED-----------------------
Physical Address: 00-19-7D-D9-96-D5, HardwareAddress[19-7D-D9-96-D5-00-00-00], HardwareAddress[00-16-41-E4-D1-F8]

Code Gen: Flat Mode, Use Existing, First Assignment, Make Final

Events: Anonymous Class

GWT Home: /home/ialexei/GWT/gwt-linux-1.4.62

Platform Product: Eclipse

Platform Version: 3.3.100.v200806172000

OS Name: Linux

OS Architecture: i386

OS Version: 2.6.24-19-generic
ialexei
 
Posts: 4
Joined: Thu Jul 03, 2008 12:05 pm

Re: GWT Designer on Ubuntu/Debian

Postby Eric Clayberg » Tue Jul 08, 2008 7:20 pm

It looks like you installed a build from today. Please remove that build as it does not support Linux at all.

Please install the v5.0.0_200807042315 build which is the last build that will support Linux for the immediate future.

We will be starting a GWT 1.5 beta in the next day or so that will initially support Windows only with OSX and Linux support to follow in the next couple of weeks.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: GWT Designer on Ubuntu/Debian

Postby ialexei » Thu Jul 10, 2008 3:38 am

Thank you Eric.
That worked !!!

Regards,
ialexei
 
Posts: 4
Joined: Thu Jul 03, 2008 12:05 pm

Re: GWT Designer on Ubuntu/Debian

Postby Eric Clayberg » Thu Jul 10, 2008 5:27 pm

Good. Glad to hear it.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Browser was not initialized during 15000msec

Postby fgomes » Sat Jul 19, 2008 1:33 pm

Hi,

I'm evaluating SWT Designer on a Debian Lenny box with amd64.
I've got to the same error as already explained in this thread, regarding libxpcom.so not being found. I followed the instructions and now I've got another error.

Designer Configuration Details:

Product: GWT Designer Evaluation
Version: 5.0.0.200807042315
Expected: Eclipse 3.4
Actual: Eclipse 3.4.0.v20080512
Actual Eclipse Build Name:
Actual Eclipse Build ID: I20080617-2000
IDE Actual Name: Eclipse
IDE Actual Version: 3.3.100.v200806172000
IDE Actual NL: en_GB
Activation Key: (removed from this post)
Physical Address: 00-13-72-38-47-66, HardwareAddress[00-06-4F-12-6E-C3]
Code Gen: Flat Mode, Use Existing, First Assignment, Make Final
Events: Anonymous Class
GWT Home: /opt/JavaIDE/gwt-linux-1.4.62
Platform Product: Eclipse
Platform Version: 3.3.100.v200806172000
OS Name: Linux
OS Architecture: amd64
OS Version: 2.6.24-1-amd64


This is part of stack trace:

javax.naming.TimeLimitExceededException: Browser was not initialized during 15000 msec.
at com.instantiations.designer.gwt.moz.BrowserShell.setUrl(BrowserShell.java:127)
at com.swtdesigner.gwt.model.widgets.support.GWTState.<init>(GWTState.java:128)
at com.swtdesigner.gwt.support.browser.moz.GWTStateMoz.<init>(GWTStateMoz.java:32)
at com.swtdesigner.gwt.support.browser.moz.BrowserSupportFactory.createState(BrowserSupportFactory.java:12)
at com.swtdesigner.gwt.model.widgets.support.GWTState.createState(GWTState.java:1670)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.getState(UIObjectInfo.java:412)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.classByName(UIObjectInfo.java:186)
at com.swtdesigner.gwt.model.widgets.UIObjectInfo.<init>(UIObjectInfo.java:68)
at com.swtdesigner.gwt.model.widgets.WidgetInfo.<init>(WidgetInfo.java:55)
at com.swtdesigner.gwt.model.widgets.panel.AbstractContainerInfo.<init>(AbstractContainerInfo.java:37)
at com.swtdesigner.gwt.model.widgets.panel.PanelInfo.<init>(PanelInfo.java:25)
at com.swtdesigner.gwt.model.widgets.panel.ComplexPanelInfo.<init>(ComplexPanelInfo.java:26)
at com.swtdesigner.gwt.model.widgets.panel.AbsolutePanelInfo.<init>(AbsolutePanelInfo.java:36)
at com.swtdesigner.gwt.model.widgets.panel.RootPanelInfo.<init>(RootPanelInfo.java:23)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)


In addition, these are some diagnostics I've done:

$ uname -a
Linux developer 2.6.24-1-amd64 #1 SMP Sat May 10 09:28:10 UTC 2008 x86_64 GNU/Linux
$ echo $PATH
/opt/JavaIDE/jdk1.6.0_07-x64/bin:/home/rgomes/bin:/data/users/rgomes/invest/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/opt/JavaIDE/apache-ant-1.7.0/bin:/opt/JavaIDE/apache-maven-2.0.9/bin
$ echo $LD_LIBRARY_PATH # this variable is not defined!

$ cd /usr/bin; ls -ald mozilla firefox iceweasel
lrwxrwxrwx 1 root root 26 2008-07-19 21:53 firefox -> ../lib/iceweasel/iceweasel
lrwxrwxrwx 1 root root 26 2008-06-19 23:30 iceweasel -> ../lib/iceweasel/iceweasel
lrwxrwxrwx 1 root root 25 2007-11-22 22:20 mozilla -> /etc/alternatives/mozilla
$ cd /usr/lib; ls -ald libxpcom*
lrwxrwxrwx 1 root root 18 2008-07-19 21:47 libxpcomglue.so -> libxpcomglue.so.0d
-rw-r--r-- 1 root root 53328 2008-05-12 16:41 libxpcomglue.so.0d
lrwxrwxrwx 1 root root 14 2008-07-19 21:47 libxpcom.so -> libxpcom.so.0d
-rw-r--r-- 1 root root 12912 2008-05-12 16:41 libxpcom.so.0d

If I type "firefox" on command line, the browser opens as expected. More information about the browser I have:
Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.8.1.14) Gecko/2008040402 Iceweasel/2.0.0.14 (Debian-2.0.0.14-2)

Any idea?

Thanks

Richard Gomes
http://www.jquantlib.org/index.php/User:RichardGomes
fgomes
 
Posts: 1
Joined: Sat Jul 19, 2008 1:01 pm

Re: GWT Designer on Ubuntu/Debian

Postby Alexander.Mitin » Sun Jul 20, 2008 10:41 pm

Try with empty (new) workspace and if the error still persists please send the $workspace/.metadata/.log file.
Alexander Mitin
Alexander.Mitin
Moderator
 
Posts: 155
Joined: Fri Jan 19, 2007 3:57 am

Re: GWT Designer on Ubuntu/Debian

Postby santins » Mon Jul 28, 2008 2:21 pm

I have followed the steps above and it doesn't work for me in Ubuntu 8.04. Following, it is the error of eclipse when I try to activate the design view:

!ENTRY com.swtdesigner 4 4 2008-07-28 22:25:54.078
!MESSAGE Designer [6.7.0.200807042059]: java.lang.reflect.InvocationTargetException

Product: GWT Designer Subscription
Version: 5.0.0.200807042315
Expected: Eclipse 3.3
Actual: Eclipse 3.3.100.v20070530
Actual Eclipse Build Name:
Actual Eclipse Build ID: M20071023-1652
IDE Actual Name: Eclipse
IDE Actual Version: 3.3.2.R33x_v20071022
IDE Actual NL: es_ES
...
Code Gen: Flat Mode, Use Existing, First Assignment, Make Final
Events: Anonymous Class
GWT Home: /home/santi/gwt-linux-1.4.61
Platform Product: Eclipse
Platform Version: 3.3.2.R33x_v20071022
OS Name: Linux
OS Architecture: i386
OS Version: 2.6.24-19-generic

!STACK 0
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.instantiations.designer.gwt.moz.BrowserShell32$1.invokeInt(BrowserShell32.java:122)
at com.instantiations.designer.gwt.moz.BrowserShell32$1.method3(BrowserShell32.java:144)
at org.eclipse.swt.internal.mozilla.XPCOMObject.callback3(XPCOMObject.java:259)
at com.google.gwt.dev.shell.moz.LowLevelMoz32._invoke(Native Method)
at com.google.gwt.dev.shell.moz.LowLevelMoz32.invoke(LowLevelMoz32.java:77)
at com.google.gwt.dev.shell.moz.ModuleSpaceMoz32.doInvoke(ModuleSpaceMoz32.java:77)
at com.swtdesigner.gwt.support.host.ModuleSpace.invokeNative(ModuleSpace.java:140)
at com.swtdesigner.gwt.support.host.ModuleSpace.invokeNativeVoid(ModuleSpace.java:111)
at com.swtdesigner.gwt.support.host.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:81)
at com.google.gwt.user.client.impl.DOMImpl.removeChild(DOMImpl.java)
at com.google.gwt.user.client.DOM.removeChild(DOM.java:937)
at com.google.gwt.user.client.ui.FormPanel.onDetach(FormPanel.java:299)
at com.google.gwt.user.client.ui.Panel.doDetachChildren(Panel.java:170)
at com.google.gwt.user.client.ui.Widget.onDetach(Widget.java:148)
at com.google.gwt.user.client.ui.Panel.doDetachChildren(Panel.java:170)
at com.google.gwt.user.client.ui.Widget.onDetach(Widget.java:148)
at com.google.gwt.user.client.ui.Panel.doDetachChildren(Panel.java:170)
at com.google.gwt.user.client.ui.Widget.onDetach(Widget.java:148)
at com.google.gwt.user.client.ui.Composite.onDetach(Composite.java:108)
at com.google.gwt.user.client.ui.Widget.setParent(Widget.java:229)
at com.google.gwt.user.client.ui.Panel.orphan(Panel.java:205)
at com.google.gwt.user.client.ui.ComplexPanel.remove(ComplexPanel.java:56)
at com.google.gwt.user.client.ui.AbsolutePanel.remove(AbsolutePanel.java:123)
at com.google.gwt.user.client.ui.WidgetCollection$WidgetIterator.remove(WidgetCollection.java:55)
at com.google.gwt.user.client.ui.Panel.clear(Panel.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.swtdesigner.gwt.model.widgets.support.GWTState.call_Panel_clear(GWTState.java:972)
at com.swtdesigner.gwt.model.widgets.panel.TopLevelUtils.clearRootPanel(TopLevelUtils.java:154)
at com.swtdesigner.gwt.model.widgets.panel.RootPanelInfo.clearControlTree(RootPanelInfo.java:83)
at com.swtdesigner.model.JavaInfo.notifyPropertyChanged(JavaInfo.java:5603)
at com.swtdesigner.model.JavaInfo.notifyPropertyChanged(JavaInfo.java:5588)
at com.swtdesigner.gef.common.property.DesignerEditorPropertyComposite.handleRootNodeSelected(DesignerEditorPropertyComposite.java:664)
at com.swtdesigner.gef.common.property.DesignerEditorPropertyComposite.updatePropertyComposite(DesignerEditorPropertyComposite.java:871)
at com.swtdesigner.gef.DesignerEditor.parseCompilationUnit(DesignerEditor.java:1179)
at com.swtdesigner.gef.DesignerEditor$17.execute(DesignerEditor.java:1077)
at com.swtdesigner.model.swing.properties.custom.DesignTimeHelper.execute(DesignTimeHelper.java:54)
at com.swtdesigner.gef.DesignerEditor.handleActivate(DesignerEditor.java:1071)
at com.swtdesigner.gef.DesignerEditor.handleActivate(DesignerEditor.java:1062)
at com.swtdesigner.editors.MultiPageEditor.showDesignEditor(MultiPageEditor.java:391)
at com.swtdesigner.editors.MultiPageEditor$2.widgetSelected(MultiPageEditor.java:178)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1125)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1110)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:951)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3227)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2005)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:316)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
Caused by: org.eclipse.swt.SWTError: XPCOM error -2147221231
at org.eclipse.swt.browser.Mozilla.error(Mozilla.java:1296)
at org.eclipse.swt.browser.Mozilla.hookDOMListeners(Mozilla.java:1634)
at org.eclipse.swt.browser.Mozilla.OnStateChange(Mozilla.java:1909)
... 79 more
Root exception:
org.eclipse.swt.SWTError: XPCOM error -2147221231
at org.eclipse.swt.browser.Mozilla.error(Mozilla.java:1296)
at org.eclipse.swt.browser.Mozilla.hookDOMListeners(Mozilla.java:1634)
at org.eclipse.swt.browser.Mozilla.OnStateChange(Mozilla.java:1909)
at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.instantiations.designer.gwt.moz.BrowserShell32$1.invokeInt(BrowserShell32.java:122)
at com.instantiations.designer.gwt.moz.BrowserShell32$1.method3(BrowserShell32.java:144)
at org.eclipse.swt.internal.mozilla.XPCOMObject.callback3(XPCOMObject.java:259)
at com.google.gwt.dev.shell.moz.LowLevelMoz32._invoke(Native Method)
at com.google.gwt.dev.shell.moz.LowLevelMoz32.invoke(LowLevelMoz32.java:77)
at com.google.gwt.dev.shell.moz.ModuleSpaceMoz32.doInvoke(ModuleSpaceMoz32.java:77)
at com.swtdesigner.gwt.support.host.ModuleSpace.invokeNative(ModuleSpace.java:140)
at com.swtdesigner.gwt.support.host.ModuleSpace.invokeNativeVoid(ModuleSpace.java:111)
at com.swtdesigner.gwt.support.host.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:81)
at com.google.gwt.user.client.impl.DOMImpl.removeChild(DOMImpl.java)
at com.google.gwt.user.client.DOM.removeChild(DOM.java:937)
at com.google.gwt.user.client.ui.FormPanel.onDetach(FormPanel.java:299)
at com.google.gwt.user.client.ui.Panel.doDetachChildren(Panel.java:170)
at com.google.gwt.user.client.ui.Widget.onDetach(Widget.java:148)
at com.google.gwt.user.client.ui.Panel.doDetachChildren(Panel.java:170)
at com.google.gwt.user.client.ui.Widget.onDetach(Widget.java:148)
at com.google.gwt.user.client.ui.Panel.doDetachChildren(Panel.java:170)
at com.google.gwt.user.client.ui.Widget.onDetach(Widget.java:148)
at com.google.gwt.user.client.ui.Composite.onDetach(Composite.java:108)
at com.google.gwt.user.client.ui.Widget.setParent(Widget.java:229)
at com.google.gwt.user.client.ui.Panel.orphan(Panel.java:205)
at com.google.gwt.user.client.ui.ComplexPanel.remove(ComplexPanel.java:56)
at com.google.gwt.user.client.ui.AbsolutePanel.remove(AbsolutePanel.java:123)
at com.google.gwt.user.client.ui.WidgetCollection$WidgetIterator.remove(WidgetCollection.java:55)
at com.google.gwt.user.client.ui.Panel.clear(Panel.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.swtdesigner.gwt.model.widgets.support.GWTState.call_Panel_clear(GWTState.java:972)
at com.swtdesigner.gwt.model.widgets.panel.TopLevelUtils.clearRootPanel(TopLevelUtils.java:154)
at com.swtdesigner.gwt.model.widgets.panel.RootPanelInfo.clearControlTree(RootPanelInfo.java:83)
at com.swtdesigner.model.JavaInfo.notifyPropertyChanged(JavaInfo.java:5603)
at com.swtdesigner.model.JavaInfo.notifyPropertyChanged(JavaInfo.java:5588)
at com.swtdesigner.gef.common.property.DesignerEditorPropertyComposite.handleRootNodeSelected(DesignerEditorPropertyComposite.java:664)
at com.swtdesigner.gef.common.property.DesignerEditorPropertyComposite.updatePropertyComposite(DesignerEditorPropertyComposite.java:871)
at com.swtdesigner.gef.DesignerEditor.parseCompilationUnit(DesignerEditor.java:1179)
at com.swtdesigner.gef.DesignerEditor$17.execute(DesignerEditor.java:1077)
at com.swtdesigner.model.swing.properties.custom.DesignTimeHelper.execute(DesignTimeHelper.java:54)
at com.swtdesigner.gef.DesignerEditor.handleActivate(DesignerEditor.java:1071)
at com.swtdesigner.gef.DesignerEditor.handleActivate(DesignerEditor.java:1062)
at com.swtdesigner.editors.MultiPageEditor.showDesignEditor(MultiPageEditor.java:391)
at com.swtdesigner.editors.MultiPageEditor$2.widgetSelected(MultiPageEditor.java:178)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1125)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1110)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:951)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3227)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2005)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:316)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)

Any idea of why is this happening?
santins
 
Posts: 16
Joined: Mon Jun 16, 2008 7:12 am

Re: GWT Designer on Ubuntu/Debian

Postby Alexander.Mitin » Tue Jul 29, 2008 6:27 am

What exactly the steps you've followed?
Alexander Mitin
Alexander.Mitin
Moderator
 
Posts: 155
Joined: Fri Jan 19, 2007 3:57 am

Re: GWT Designer on Ubuntu/Debian

Postby santins » Tue Jul 29, 2008 1:58 pm

I have installed the version of the link above: v5.0.0_200807042315 build. I started Eclipse and tried to open the design view. So I had an error telling me that libxpcom.so wasn't found. The next step I did was to create the links to the libraries explained above:

sudo apt-get install libxul0d
( cd /usr/lib ; sudo ln -s libxpcom.so.0d libxpcom.so ; sudo ln -s libxpcomglue.so.0d libxpcomglue.so )
sudo ldconfig

And after this eclipse is failing with the exception I sent in the previous post when I try to open the design view.

I have tried with the last version of eclipse (3.4) and still doesn't work. I have also tried the last GWT version for linux in the official page and that didn't work neither.

Cheers,

Santi
santins
 
Posts: 16
Joined: Mon Jun 16, 2008 7:12 am

Re: GWT Designer on Ubuntu/Debian

Postby santins » Tue Jul 29, 2008 2:14 pm

When I use eclipse 3.4 the exception is this one:

eclipse.buildId=I20080617-2000
java.version=1.6.0
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=es_ES
Command-line arguments: -os linux -ws gtk -arch x86

!ENTRY org.eclipse.ui 4 0 2008-07-29 22:23:12.716
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at org.eclipse.gef.ui.parts.DomainEventDispatcher$EditPartAccessibilityDispatcher.get(DomainEventDispatcher.java:59)
at org.eclipse.gef.ui.parts.DomainEventDispatcher$EditPartAccessibilityDispatcher.getName(DomainEventDispatcher.java:155)
at org.eclipse.draw2d.LightweightSystem$EventHandler.getName(LightweightSystem.java:424)
at org.eclipse.swt.accessibility.AccessibleObject.atkObject_get_name(AccessibleObject.java:395)
at org.eclipse.swt.internal.gtk.OS._Call(Native Method)
at org.eclipse.swt.internal.gtk.OS.Call(OS.java:643)
at org.eclipse.swt.widgets.Widget.fixedSizeAllocateProc(Widget.java:858)
at org.eclipse.swt.widgets.Display.fixedSizeAllocateProc(Display.java:1274)
at org.eclipse.swt.internal.gtk.OS._gtk_widget_size_allocate(Native Method)
at org.eclipse.swt.internal.gtk.OS.gtk_widget_size_allocate(OS.java:9367)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:793)
at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1239)
at org.eclipse.swt.widgets.Canvas.setBounds(Canvas.java:330)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:682)
at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:689)
at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:193)
at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1423)
at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1242)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:682)
at org.eclipse.swt.layout.FillLayout.layout(FillLayout.java:201)
at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1423)
at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1242)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:682)
at org.eclipse.gef.ui.palette.FlyoutPaletteComposite.layoutComponentsWest(FlyoutPaletteComposite.java:393)
at org.eclipse.gef.ui.palette.FlyoutPaletteComposite.layout(FlyoutPaletteComposite.java:339)
at org.eclipse.gef.ui.palette.FlyoutPaletteComposite$2.handleEvent(FlyoutPaletteComposite.java:194)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1182)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1163)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:828)
at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1239)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:682)
at org.eclipse.swt.layout.FillLayout.layout(FillLayout.java:201)
at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1423)
at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1242)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:654)
at org.eclipse.swt.custom.CTabFolderLayout.layout(CTabFolderLayout.java:78)
at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1423)
at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1242)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:682)
at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:689)
at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:193)
at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1423)
at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1242)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:682)
at com.swtdesigner.gef.common.property.FlyoutControlComposite.layoutComponentsWest(FlyoutControlComposite.java:444)
at com.swtdesigner.gef.common.property.FlyoutControlComposite.layout(FlyoutControlComposite.java:347)
at com.swtdesigner.gef.common.property.FlyoutControlComposite$2.handleEvent(FlyoutControlComposite.java:190)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1182)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1163)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:828)
at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1239)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:682)
at org.eclipse.swt.layout.FillLayout.layout(FillLayout.java:201)
at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1423)
at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1242)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:654)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3226)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3238)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2017)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:320)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
santins
 
Posts: 16
Joined: Mon Jun 16, 2008 7:12 am

Next

Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 3 guests