yes, i'm using maven. will try the latest beta thanx On Wed, Mar 9, 2011 at 5:15 PM, Eric Clayberg <clayb...@google.com> wrote:
> Are you using Maven? This looks like a Maven-related issue we have > seen before. > > Have you tried the latest GWT Designer build? > > http://code.google.com/webtoolkit/tools/download-gwtdesigner-beta.html > > On Mar 8, 5:44 pm, khiem nguyen <khi...@googlemail.com> wrote: > > sorry > > > > Version: Helios Service Release 2 > > Build id: 20110218-0911 > > > > gpe: 3.6 > > gwt-design 2.2 > > gwt 2.2.0 > > > > jdk 1.6.0_24 > > linux 2.6.35.11-83.fc14.x86_64 > > > > (same problem on OSX 10.6.6, jdk 1.6 with the same gwt+ eclipse + gpe + > > gwt-design version) > > > > Full context stack trace: > > > > java.lang.NullPointerException > > at > > > com.google.gdt.eclipse.designer.hosted.tdt.HostedModeSupport.getSharedClass > Loader(HostedModeSupport.java:184) > > at > > > com.google.gdt.eclipse.designer.hosted.tdt.HostedModeSupport.createClassLoa > ders(HostedModeSupport.java:92) > > at > > > com.google.gdt.eclipse.designer.hosted.tdt.HostedModeSupport.<init>(HostedM > odeSupport.java:62) > > at > > > com.google.gdt.eclipse.designer.hosted.tdt.HostedModeSupportFactory.create( > HostedModeSupportFactory.java:22) > > at > > > com.google.gdt.eclipse.designer.model.widgets.support.GwtState.getHostedMod > eSupport(GwtState.java:1195) > > at > > > com.google.gdt.eclipse.designer.model.widgets.support.GwtState.initialize0( > GwtState.java:243) > > at > > > com.google.gdt.eclipse.designer.model.widgets.support.GwtState.initialize(G > wtState.java:219) > > at > > > com.google.gdt.eclipse.designer.uibinder.parser.UiBinderContext.createGWTSt > ate(UiBinderContext.java:373) > > at > > > com.google.gdt.eclipse.designer.uibinder.parser.UiBinderContext.createProje > ctClassLoader(UiBinderContext.java:246) > > at > > > org.eclipse.wb.internal.core.xml.model.EditorContext.createClassLoader(Edit > orContext.java:146) > > at > > > com.google.gdt.eclipse.designer.uibinder.parser.UiBinderContext.createClass > Loader(UiBinderContext.java:229) > > at > > > org.eclipse.wb.internal.core.xml.model.EditorContext.initialize(EditorConte > xt.java:100) > > at > > > com.google.gdt.eclipse.designer.uibinder.parser.UiBinderParser.parse(UiBind > erParser.java:89) > > at > > > com.google.gdt.eclipse.designer.uibinder.editor.UiBinderDesignPage.parse(Ui > BinderDesignPage.java:93) > > at > > > org.eclipse.wb.internal.core.xml.editor.XmlDesignPage.internal_refreshGEF(X > mlDesignPage.java:408) > > at > > > org.eclipse.wb.internal.core.xml.editor.XmlDesignPage.access$2(XmlDesignPag > e.java:400) > > at > > > org.eclipse.wb.internal.core.xml.editor.XmlDesignPage$7$1.run(XmlDesignPage > .java:374) > > 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:4282) > > at > > > org.eclipse.wb.internal.core.xml.editor.XmlDesignPage$7.run(XmlDesignPage.j > ava:371) > > at > > > org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.ja > va:464) > > at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372) > > at > > > org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.j > ava:507) > > at > > > org.eclipse.wb.internal.core.xml.editor.XmlDesignPage.internal_refreshGEF_w > ithProgress(XmlDesignPage.java:392) > > at > > > org.eclipse.wb.internal.core.xml.editor.XmlDesignPage.internal_refreshGEF(X > mlDesignPage.java:345) > > at > > > org.eclipse.wb.internal.core.xml.editor.UndoManager.refreshDesignerEditor(U > ndoManager.java:229) > > at > > > org.eclipse.wb.internal.core.xml.editor.UndoManager.activate(UndoManager.ja > va:85) > > at > > > org.eclipse.wb.internal.core.xml.editor.XmlDesignPage.setActive(XmlDesignPa > ge.java:164) > > at > > > org.eclipse.wb.internal.core.xml.editor.AbstractXmlEditor.pageChange(Abstra > ctXmlEditor.java:314) > > at > > > org.eclipse.ui.part.MultiPageEditorPart$2.widgetSelected(MultiPageEditorPar > t.java:290) > > at > org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) > > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) > > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) > > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282) > > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1267) > > at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1061) > > at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:2743) > > at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1429) > > at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:257) > > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) > > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) > > at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540) > > at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161) > > at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) > > at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) > > at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) > > at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) > > at > > > org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332 > ) > > at > > > org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) > > at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) > > at > > > org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication > .java:115) > > at > > > org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java > :196) > > at > > > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication > (EclipseAppLauncher.java:110) > > at > > > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseA > ppLauncher.java:79) > > at > > > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369 > ) > > 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:3 > 9) > > at > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp > l.java:25) > > at java.lang.reflect.Method.invoke(Method.java:597) > > at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) > > at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) > > at org.eclipse.equinox.launcher.Main.run(Main.java:1408) > > at org.eclipse.equinox.launcher.Main.main(Main.java:1384)On Tue, Mar 8, > 2011 at 3:11 PM, Eric Clayberg <clayb...@google.com> wrote: > > > Unfortunately, that isn't very much context. In general, we need to > > > see the complete stack trace. > > > > > It would also be helpful to have info about your Eclipse version, GWT > > > version, OS version, JDK version and GWT Designer version. > > > > > Have you tried the latest GWT Designer build? > > > > > > http://code.google.com/webtoolkit/tools/download-gwtdesigner-beta.html > > > > > On Mar 8, 5:55 am, khiem nguyen <khi...@googlemail.com> wrote: > > > > hi, > > > > i have this ui.xml file: > > > > > > <?xml version="1.0" encoding="UTF-8"?> > > > > <!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent > "> > > > > <ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' > > > > xmlns:g='urn:import:com.google.gwt.user.client.ui' > > > > xmlns:app='urn:import:de.app.client.view'> > > > > <ui:with type="de.app.client.ConstantMessages" > field="msg"></ui:with> > > > > > > <g:TabLayoutPanel barHeight="4" barUnit="EM" ui:field="main"> > > > > <g:tab> > > > > <g:customHeader> > > > > <g:InlineLabel text="{msg.topMenu_home}"></g:InlineLabel> > > > > </g:customHeader> > > > > <app:HomePanel ui:field="homePanel"></app:HomePanel> > > > > </g:tab> > > > > </g:TabLayoutPanel> > > > > </ui:UiBinder> > > > > > > HomePanel is just a Vertical-Panel which extends Widget > > > > > > try to preview: > > > > ArrayIndexOutOfBoundsException: -1 > > > > > > run with eclipse without problem, is it a bug of designer of did i do > > > > something wrong here > > > > > > thanx > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Google Web Toolkit" group. > > > To post to this group, send email to > google-web-toolkit@googlegroups.com. > > > To unsubscribe from this group, send email to > > > google-web-toolkit+unsubscr...@googlegroups.com. > > > For more options, visit this group at > > >http://groups.google.com/group/google-web-toolkit?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to google-web-toolkit@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.