GWT Designer with GWT 2.0 & GXT 2.1 not working for me

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 with GWT 2.0 & GXT 2.1 not working for me

Postby costab » Tue Jan 12, 2010 5:22 pm

Hi:

I have the following code:

Code: Select all
package testgxt.client;

import com.google.gwt.user.client.ui.Composite;

public class MyPanel extends Composite {

   private ContentPanel mainPanel;
   private Grid grid;
   private TreePanel treePanel;
   private ColumnConfig columnConfig;
   private ColumnConfig columnConfig_1;
   private TreeStore treeStore;
   
   public MyPanel() {
      initWidget(getMainPanel());
   }
   private ContentPanel getMainPanel() {
      if (mainPanel == null) {
         mainPanel = new ContentPanel();
         mainPanel.setSize("100%", "372px");
         mainPanel.setLayout(new BorderLayout());
         mainPanel.add(getGrid(), new BorderLayoutData(LayoutRegion.CENTER));
         BorderLayoutData bld_treePanel = new BorderLayoutData(LayoutRegion.WEST);
         bld_treePanel.setSplit(true);
         bld_treePanel.setFloatable(false);
         bld_treePanel.setCollapsible(true);
         mainPanel.add(getTreePanel(), bld_treePanel);
         mainPanel.setHeading("New ContentPanel");
         mainPanel.setCollapsible(true);
      }
      return mainPanel;
   }
   private Grid getGrid() {
      if (grid == null) {
         List<ColumnConfig> configs = new ArrayList<ColumnConfig>();
         configs.add(getColumnConfig());
         configs.add(getColumnConfig_1());
         grid = new Grid(new ListStore(), new ColumnModel(configs));
         grid.setStripeRows(true);
         grid.setBorders(true);
      }
      return grid;
   }
   private TreePanel getTreePanel() {
      if (treePanel == null) {
         treeStore = new TreeStore();
         treeStore.add(getTreeModel().getChildren(), true);
         treePanel = new TreePanel(treeStore);
         treePanel.setTitle("My Panel");
         treePanel.setBorders(true);
      }
      return treePanel;
   }
   private ColumnConfig getColumnConfig() {
      if (columnConfig == null) {
         columnConfig = new ColumnConfig("id", "New Column", 150);
      }
      return columnConfig;
   }
   private ColumnConfig getColumnConfig_1() {
      if (columnConfig_1 == null) {
         columnConfig_1 = new ColumnConfig("id", "New Column", 150);
      }
      return columnConfig_1;
   }

   public static Folder getTreeModel() {
       Folder[] folders = new Folder[] {
           new Folder("Beethoven",
               new Folder[] {

                   new Folder("Quartets",
                       new Music[] {
                           new Music("Six String Quartets", "Beethoven", "Quartets"),
                           new Music("Three String Quartets", "Beethoven", "Quartets"),
                           new Music("Grosse Fugue for String Quartets", "Beethoven",
                               "Quartets"),}),
                   new Folder("Sonatas", new Music[] {
                       new Music("Sonata in A Minor", "Beethoven", "Sonatas"),
                       new Music("Sonata in F Major", "Beethoven", "Sonatas"),}),

                   new Folder("Concertos", new Music[] {
                       new Music("No. 1 - C", "Beethoven", "Concertos"),
                       new Music("No. 2 - B-Flat Major", "Beethoven", "Concertos"),
                       new Music("No. 3 - C Minor", "Beethoven", "Concertos"),
                       new Music("No. 4 - G Major", "Beethoven", "Concertos"),
                       new Music("No. 5 - E-Flat Major", "Beethoven", "Concertos"),}),

                   new Folder("Symphonies", new Music[] {
                       new Music("No. 1 - C Major", "Beethoven", "Symphonies"),
                       new Music("No. 2 - D Major", "Beethoven", "Symphonies"),
                       new Music("No. 3 - E-Flat Major", "Beethoven", "Symphonies"),
                       new Music("No. 4 - B-Flat Major", "Beethoven", "Symphonies"),
                       new Music("No. 5 - C Minor", "Beethoven", "Symphonies"),
                       new Music("No. 6 - F Major", "Beethoven", "Symphonies"),
                       new Music("No. 7 - A Major", "Beethoven", "Symphonies"),
                       new Music("No. 8 - F Major", "Beethoven", "Symphonies"),
                       new Music("No. 9 - D Minor", "Beethoven", "Symphonies"),}),}),
           new Folder("Brahms",
               new Folder[] {
                   new Folder("Concertos", new Music[] {
                       new Music("Violin Concerto", "Brahms", "Concertos"),
                       new Music("Double Concerto - A Minor", "Brahms", "Concertos"),
                       new Music("Piano Concerto No. 1 - D Minor", "Brahms", "Concertos"),
                       new Music("Piano Concerto No. 2 - B-Flat Major", "Brahms",
                           "Concertos"),}),
                   new Folder("Quartets",
                       new Music[] {
                           new Music("Piano Quartet No. 1 - G Minor", "Brahms", "Quartets"),
                           new Music("Piano Quartet No. 2 - A Major", "Brahms", "Quartets"),
                           new Music("Piano Quartet No. 3 - C Minor", "Brahms", "Quartets"),
                           new Music("String Quartet No. 3 - B-Flat Minor", "Brahms",
                               "Quartets"),}),
                   new Folder("Sonatas", new Music[] {
                       new Music("Two Sonatas for Clarinet - F Minor", "Brahms", "Sonatas"),
                       new Music("Two Sonatas for Clarinet - E-Flat Major", "Brahms",
                           "Sonatas"),}),
                   new Folder("Symphonies", new Music[] {
                       new Music("No. 1 - C Minor", "Brahms", "Symphonies"),
                       new Music("No. 2 - D Minor", "Brahms", "Symphonies"),
                       new Music("No. 3 - F Major", "Brahms", "Symphonies"),
                       new Music("No. 4 - E Minor", "Brahms", "Symphonies"),}),}),
           new Folder("Mozart", new Folder[] {new Folder("Concertos", new Music[] {
               new Music("Piano Concerto No. 12", "Mozart", "Concertos"),
               new Music("Piano Concerto No. 17", "Mozart", "Concertos"),
               new Music("Clarinet Concerto", "Mozart", "Concertos"),
               new Music("Violin Concerto No. 5", "Mozart", "Concertos"),
               new Music("Violin Concerto No. 4", "Mozart", "Concertos"),}),}),};

       Folder root = new Folder("root");
       for (int i = 0; i < folders.length; i++) {
         root.add((Folder) folders[i]);
       }

       return root;
     }

}


GWT Designer crashes with the following error when I try to open the class in designer mode (please note that I have Eclipse 3.5 and I just downloaded the latest GWTDesigner update using eclipse)

Code: Select all
Error loading module(s).
GWT Designer can't load a module either because there is not enough heap space available for Eclipse, or some other module or internal error has occurred. Please increase the heap size and/or check your $project_dir/.gwt/.gwt-log for any GWT-specific errors.


Show stack trace.
Hide stack trace.

Stack trace:
com.instantiations.designer.core.utils.exception.DesignerException: 4102 (Error loading module(s).).
   at com.instantiations.designer.gwt.model.widgets.support.GWTState.initialize(GWTState.java:198)
   at com.instantiations.designer.gwt.model.widgets.support.GWTState.<init>(GWTState.java:162)
   at com.instantiations.designer.gwt.parser.ParseFactory.getClassLoader(ParseFactory.java:368)
   at com.instantiations.designer.core.parser.AbstractParseFactory.initializeClassLoader(AbstractParseFactory.java:687)
   at com.instantiations.designer.gwt.parser.ParseFactory.getRootContext(ParseFactory.java:95)
   at com.instantiations.designer.core.parser.JavaInfoParser.prepareParseContext(JavaInfoParser.java:909)
   at com.instantiations.designer.core.parser.JavaInfoParser.parse(JavaInfoParser.java:219)
   at com.instantiations.designer.core.parser.JavaInfoParser.access$9(JavaInfoParser.java:216)
   at com.instantiations.designer.core.parser.JavaInfoParser$1.runObject(JavaInfoParser.java:140)
   at com.instantiations.designer.core.parser.JavaInfoParser$1.runObject(JavaInfoParser.java:1)
   at com.instantiations.designer.core.utils.execution.ExecutionUtils.runDesignTime(ExecutionUtils.java:99)
   at com.instantiations.designer.core.parser.JavaInfoParser.parse(JavaInfoParser.java:138)
   at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:426)
   at com.instantiations.designer.core.editor.DesignPage.access$9(DesignPage.java:418)
   at com.instantiations.designer.core.editor.DesignPage$7$1.run(DesignPage.java:349)
   at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:179)
   at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
   at org.eclipse.swt.widgets.Display.syncExec(Display.java:4312)
   at com.instantiations.designer.core.editor.DesignPage$7.run(DesignPage.java:346)
   at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
   at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
   at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
   at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF_withProgress(DesignPage.java:367)
   at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:316)
   at com.instantiations.designer.core.editor.UndoManager.refreshDesignerEditor(UndoManager.java:448)
   at com.instantiations.designer.core.editor.UndoManager.activate(UndoManager.java:77)
   at com.instantiations.designer.core.editor.DesignPage.handleActiveState_True(DesignPage.java:220)
   at com.instantiations.designer.core.editor.DesignPage.handleActiveState(DesignPage.java:207)
   at com.instantiations.designer.core.editor.multi.DefaultMultiMode.showPage(DefaultMultiMode.java:80)
   at com.instantiations.designer.core.editor.multi.DefaultMultiMode$1.widgetSelected(DefaultMultiMode.java:43)
   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:1003)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
   at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:770)
   at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3256)
   at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2045)
   at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:323)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
   at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
   at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
   at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
   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:194)
   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:368)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
Caused by: java.lang.RuntimeException: Failure to load module 'testgxt.TestModule'
   at com.instantiations.designer.gwt.hosted.ie.BrowserShellIE6$External.gwtOnLoad(BrowserShellIE6.java:286)
   at com.instantiations.designer.gwt.hosted.ie.BrowserShellIE6$External.invoke(BrowserShellIE6.java:326)
   at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java:295)
   at com.google.gwt.dev.shell.ie.IDispatchImpl.method6(IDispatchImpl.java:195)
   at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
   at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
   at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2410)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3471)
   at com.instantiations.designer.gwt.hosted.tdz.HostedModeSupport.runMessagesLoop(HostedModeSupport.java:224)
   at com.instantiations.designer.gwt.hosted.tdz.HostedModeSupport$1.run(HostedModeSupport.java:132)
   at com.instantiations.designer.gwt.hosted.ie.BrowserShellIE6.setUrl(BrowserShellIE6.java:110)
   at com.instantiations.designer.gwt.hosted.tdz.HostedModeSupport.startup(HostedModeSupport.java:130)
   at com.instantiations.designer.gwt.model.widgets.support.GWTState.initialize(GWTState.java:191)
   ... 62 more
Caused by: com.google.gwt.core.ext.UnableToCompleteException: (see "project_dir/.gwt-logs/.gwt-log" for details.)
   at com.google.gwt.dev.cfg.ModuleDef.checkForSeedTypes(ModuleDef.java:511)
   at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:304)
   at com.instantiations.designer.gwt.hosted.tdz.HostedModeSupport.createModuleSpaceHost(HostedModeSupport.java:266)
   at com.instantiations.designer.gwt.hosted.ie.BrowserShellIE6$External.gwtOnLoad(BrowserShellIE6.java:274)
   ... 74 more

Full context stack trace:
com.instantiations.designer.core.utils.exception.DesignerException: 4102 (Error loading module(s).).
   at com.instantiations.designer.gwt.model.widgets.support.GWTState.initialize(GWTState.java:198)
   at com.instantiations.designer.gwt.model.widgets.support.GWTState.<init>(GWTState.java:162)
   at com.instantiations.designer.gwt.parser.ParseFactory.getClassLoader(ParseFactory.java:368)
   at com.instantiations.designer.core.parser.AbstractParseFactory.initializeClassLoader(AbstractParseFactory.java:687)
   at com.instantiations.designer.gwt.parser.ParseFactory.getRootContext(ParseFactory.java:95)
   at com.instantiations.designer.core.parser.JavaInfoParser.prepareParseContext(JavaInfoParser.java:909)
   at com.instantiations.designer.core.parser.JavaInfoParser.parse(JavaInfoParser.java:219)
   at com.instantiations.designer.core.parser.JavaInfoParser.access$9(JavaInfoParser.java:216)
   at com.instantiations.designer.core.parser.JavaInfoParser$1.runObject(JavaInfoParser.java:140)
   at com.instantiations.designer.core.parser.JavaInfoParser$1.runObject(JavaInfoParser.java:1)
   at com.instantiations.designer.core.utils.execution.ExecutionUtils.runDesignTime(ExecutionUtils.java:99)
   at com.instantiations.designer.core.parser.JavaInfoParser.parse(JavaInfoParser.java:138)
   at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:426)
   at com.instantiations.designer.core.editor.DesignPage.access$9(DesignPage.java:418)
   at com.instantiations.designer.core.editor.DesignPage$7$1.run(DesignPage.java:349)
   at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:179)
   at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
   at org.eclipse.swt.widgets.Display.syncExec(Display.java:4312)
   at com.instantiations.designer.core.editor.DesignPage$7.run(DesignPage.java:346)
   at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
   at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
   at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
   at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF_withProgress(DesignPage.java:367)
   at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:316)
   at com.instantiations.designer.core.editor.UndoManager.refreshDesignerEditor(UndoManager.java:448)
   at com.instantiations.designer.core.editor.UndoManager.activate(UndoManager.java:77)
   at com.instantiations.designer.core.editor.DesignPage.handleActiveState_True(DesignPage.java:220)
   at com.instantiations.designer.core.editor.DesignPage.handleActiveState(DesignPage.java:207)
   at com.instantiations.designer.core.editor.multi.DefaultMultiMode.showPage(DefaultMultiMode.java:80)
   at com.instantiations.designer.core.editor.multi.DefaultMultiMode$1.widgetSelected(DefaultMultiMode.java:43)
   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:1003)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
   at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:770)
   at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3256)
   at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2045)
   at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:323)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
   at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
   at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
   at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
   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:194)
   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:368)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
Caused by: java.lang.RuntimeException: Failure to load module 'testgxt.TestModule'
   at com.instantiations.designer.gwt.hosted.ie.BrowserShellIE6$External.gwtOnLoad(BrowserShellIE6.java:286)
   at com.instantiations.designer.gwt.hosted.ie.BrowserShellIE6$External.invoke(BrowserShellIE6.java:326)
   at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java:295)
   at com.google.gwt.dev.shell.ie.IDispatchImpl.method6(IDispatchImpl.java:195)
   at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
   at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
   at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2410)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3471)
   at com.instantiations.designer.gwt.hosted.tdz.HostedModeSupport.runMessagesLoop(HostedModeSupport.java:224)
   at com.instantiations.designer.gwt.hosted.tdz.HostedModeSupport$1.run(HostedModeSupport.java:132)
   at com.instantiations.designer.gwt.hosted.ie.BrowserShellIE6.setUrl(BrowserShellIE6.java:110)
   at com.instantiations.designer.gwt.hosted.tdz.HostedModeSupport.startup(HostedModeSupport.java:130)
   at com.instantiations.designer.gwt.model.widgets.support.GWTState.initialize(GWTState.java:191)
   ... 62 more
Caused by: com.google.gwt.core.ext.UnableToCompleteException: (see "project_dir/.gwt-logs/.gwt-log" for details.)
   at com.google.gwt.dev.cfg.ModuleDef.checkForSeedTypes(ModuleDef.java:511)
   at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:304)
   at com.instantiations.designer.gwt.hosted.tdz.HostedModeSupport.createModuleSpaceHost(HostedModeSupport.java:266)
   at com.instantiations.designer.gwt.hosted.ie.BrowserShellIE6$External.gwtOnLoad(BrowserShellIE6.java:274)
   at com.instantiations.designer.gwt.hosted.ie.BrowserShellIE6$External.invoke(BrowserShellIE6.java:326)
   at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java:295)
   at com.google.gwt.dev.shell.ie.IDispatchImpl.method6(IDispatchImpl.java:195)
   at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
   at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
   at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2410)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3471)
   at com.instantiations.designer.gwt.hosted.tdz.HostedModeSupport.runMessagesLoop(HostedModeSupport.java:224)
   at com.instantiations.designer.gwt.hosted.tdz.HostedModeSupport$1.run(HostedModeSupport.java:132)
   at com.instantiations.designer.gwt.hosted.ie.BrowserShellIE6.setUrl(BrowserShellIE6.java:110)
   at com.instantiations.designer.gwt.hosted.tdz.HostedModeSupport.startup(HostedModeSupport.java:130)
   at com.instantiations.designer.gwt.model.widgets.support.GWTState.initialize(GWTState.java:191)
   at com.instantiations.designer.gwt.model.widgets.support.GWTState.<init>(GWTState.java:162)
   at com.instantiations.designer.gwt.parser.ParseFactory.getClassLoader(ParseFactory.java:368)
   at com.instantiations.designer.core.parser.AbstractParseFactory.initializeClassLoader(AbstractParseFactory.java:687)
   at com.instantiations.designer.gwt.parser.ParseFactory.getRootContext(ParseFactory.java:95)
   at com.instantiations.designer.core.parser.JavaInfoParser.prepareParseContext(JavaInfoParser.java:909)
   at com.instantiations.designer.core.parser.JavaInfoParser.parse(JavaInfoParser.java:219)
   at com.instantiations.designer.core.parser.JavaInfoParser.access$9(JavaInfoParser.java:216)
   at com.instantiations.designer.core.parser.JavaInfoParser$1.runObject(JavaInfoParser.java:140)
   at com.instantiations.designer.core.parser.JavaInfoParser$1.runObject(JavaInfoParser.java:1)
   at com.instantiations.designer.core.utils.execution.ExecutionUtils.runDesignTime(ExecutionUtils.java:99)
   at com.instantiations.designer.core.parser.JavaInfoParser.parse(JavaInfoParser.java:138)
   at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:426)
   at com.instantiations.designer.core.editor.DesignPage.access$9(DesignPage.java:418)
   at com.instantiations.designer.core.editor.DesignPage$7$1.run(DesignPage.java:349)
   at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:179)
   at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
   at org.eclipse.swt.widgets.Display.syncExec(Display.java:4312)
   at com.instantiations.designer.core.editor.DesignPage$7.run(DesignPage.java:346)
   at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
   at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
   at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
   at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF_withProgress(DesignPage.java:367)
   at com.instantiations.designer.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:316)
   at com.instantiations.designer.core.editor.UndoManager.refreshDesignerEditor(UndoManager.java:448)
   at com.instantiations.designer.core.editor.DesignPage.refreshGEF(DesignPage.java:302)
   at com.instantiations.designer.core.editor.actions.RefreshAction.run(RefreshAction.java:34)
   at com.instantiations.designer.core.editor.actions.DesignPageAction.run(DesignPageAction.java:23)
   at com.instantiations.designer.core.editor.errors.ExceptionComposite$2.widgetSelected(ExceptionComposite.java:103)
   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:1003)
   at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
   at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
   at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
   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:194)
   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:368)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1311)


Other information:
Code: Select all
Product Version: 7.2.0.r35x201001120802[201001120802]

Installation Path: C:/development/javatools/eclipse35/eclipse/configuration/org.eclipse.osgi/bundles/2081/1/.cp/
Eclipse Version: 3.5.0.v20090525
Eclipse Build Name: 
Eclipse Build ID: M20090917-0800
IDE Name: Eclipse
IDE Version: 1.2.1.20090812-1036
IDE NL: en_US
Eclipse Commands: -os win32 -ws win32 -arch x86 -showsplash C:\development\javatools\eclipse35\eclipse\\plugins\org.eclipse.platform_3.3.201.v200909170800\splash.bmp -launcher C:\development\javatools\eclipse35\eclipse\eclipse.exe -name Eclipse --launcher.library C:\development\javatools\eclipse35\eclipse\plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll -startup C:\development\javatools\eclipse35\eclipse\plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -product org.eclipse.epp.package.jee.product -vm C:\Program Files\Java\jre6\bin\client\jvm.dll 
Eclipse VM: C:\Program Files\Java\jre6\bin\client\jvm.dll
Eclipse VM Args: -XX:MaxPermSize=256m -Dosgi.requiredJavaVersion=1.5 -Xms256m -Xmx768m -Djava.class.path=C:\development\javatools\eclipse35\eclipse\plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar 
OS Name: Windows XP
OS Arch: x86
costab
 
Posts: 2
Joined: Tue Jan 12, 2010 5:14 pm

Re: GWT Designer with GWT 2.0 & GXT 2.1 not working for me

Postby costab » Tue Jan 12, 2010 5:35 pm

My bad. I thought I was using GXT 2.1 but in fact I was using a previous version. I updated to GXT 2.1 and now gwt designer works
costab
 
Posts: 2
Joined: Tue Jan 12, 2010 5:14 pm

Re: GWT Designer with GWT 2.0 & GXT 2.1 not working for me

Postby Eric Clayberg » Wed Jan 13, 2010 5:15 am

costab wrote:My bad. I thought I was using GXT 2.1 but in fact I was using a previous version. I updated to GXT 2.1 and now gwt designer works

Glad to hear it is working for you.
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


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest