issue @ http://code.google.com/p/google-web-toolkit/issues/detail?id=6338
Hopefully they will fix this pronto, as a gwt project isn't going to
fly very far without an html page. As a workaround I guess you can
create a new project with the sample code, and then copy the contents
of the html and css pages from there....
//T
On 11 Mai, 08:07, bishop <martin.bis...@gmail.com> wrote:
> On a fresh install on Linux using Eclipse 3.6 and GWT 2.3.0 thenewhtmlpagewizard barfs this upon clicking Finish, I searched
> extensively to try and find source code for the first few layers of
> the stack trace, but to no avail.
>
> java.lang.NullPointerException
> at
> com.google.gdt.eclipse.core.ResourceUtils.getResourceAsString(ResourceUtils.java:
> 655)
> at
> com.google.gdt.eclipse.core.ResourceUtils.getResourceAsString(ResourceUtils.java:
> 467)
> at
> com.google.gwt.eclipse.core.wizards.NewHostPageWizard.getDocType(NewHostPageWizard.java:
> 216)
> at
> com.google.gwt.eclipse.core.wizards.NewHostPageWizard.getInitialContents(NewHostPageWizard.java:
> 148)
> at
> com.google.gwt.eclipse.core.wizards.AbstractNewFileWizard.createNewFile(AbstractNewFileWizard.java:
> 130)
> at
> com.google.gwt.eclipse.core.wizards.AbstractNewFileWizard.performFinish(AbstractNewFileWizard.java:
> 94)
> at
> com.google.gwt.eclipse.core.wizards.NewHostPageWizard.performFinish(NewHostPageWizard.java:
> 115)
> at
> org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:
> 811)
> at
> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:
> 430)
> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
> 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.Display.runDeferredEvents(Display.java:
> 3540)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
> at org.eclipse.jface.window.Window.open(Window.java:801)
> at
> org.eclipse.ui.internal.actions.NewWizardShortcutAction.run(NewWizardShortcutAction.java:
> 135)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:
> 584)
> at org.eclipse.jface.action.ActionContributionItem.access
> $2(ActionContributionItem.java:501)
> at org.eclipse.jface.action.ActionContributionItem
> $5.handleEvent(ActionContributionItem.java:411)
> 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(EclipseAppLauncher.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:
> 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: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)
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment