grprakash / cypal-studio

Automatically exported from code.google.com/p/cypal-studio
0 stars 0 forks source link

Cannot add new Module #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install Eclipse 3.3 with WTP and set GWT Home.
2. Create new Cypal Studio GWT project.
3. Add new Cypal Studio -> Module

What is the expected output? What do you see instead?
Module should be added. There is 'Error creating GWT Module' dialog 
instead.

What version of the product are you using? On what operating system?
Eclipse 3.3 with WTP, cypal.studio.for.gwt-RC2, Windows 2000.

Please provide any additional information below.

!ENTRY in.cypal.studio.gwt.ui 4 -1 2007-09-25 11:07:51.258
!MESSAGE Encountered an unexpected exception.
!STACK 1
Java Model Exception: Java Model Status [Invalid name specified: .server]
    at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation
(JavaModelOperation.java:776)
    at 
org.eclipse.jdt.internal.core.PackageFragmentRoot.createPackageFragment
(PackageFragmentRoot.java:302)
    at in.cypal.studio.gwt.ui.wizards.NewGwtModuleWizardPage.createType
(NewGwtModuleWizardPage.java:115)
    at in.cypal.studio.gwt.ui.wizards.NewGwtModuleWizard.performFinish
(NewGwtModuleWizard.java:74)
    at org.eclipse.jface.wizard.WizardDialog.finishPressed
(WizardDialog.java:742)
    at org.eclipse.jface.wizard.WizardDialog.buttonPressed
(WizardDialog.java:373)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected
(Dialog.java:616)
    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:938)
    at org.eclipse.swt.widgets.Display.runDeferredEvents
(Display.java:3682)
    at org.eclipse.swt.widgets.Display.readAndDispatch
(Display.java:3293)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
    at org.eclipse.jface.window.Window.open(Window.java:796)
    at org.eclipse.ui.actions.NewWizardAction.run
(NewWizardAction.java:182)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    at 
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
(ActionContributionItem.java:545)
    at org.eclipse.jface.action.ActionContributionItem.access
$2(ActionContributionItem.java:490)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent
(ActionContributionItem.java:402)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
    at org.eclipse.swt.widgets.Display.runDeferredEvents
(Display.java:3682)
    at org.eclipse.swt.widgets.Display.readAndDispatch
(Display.java:3293)
    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:153)
    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:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
!SUBENTRY 1 org.eclipse.jdt.core 4 983 2007-09-25 11:07:51.258
!MESSAGE Invalid name specified: .server

Original issue reported on code.google.com by dexs...@o2.pl on 25 Sep 2007 at 9:17

GoogleCodeExporter commented 9 years ago
This happens when default package is used.

Original comment by dexs...@o2.pl on 26 Sep 2007 at 8:42

GoogleCodeExporter commented 9 years ago
Yup. Cypal Studio for GWT doesn't support default packages for modules

Original comment by grprakash on 27 Sep 2007 at 4:08