grprakash / cypal-studio

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

Error creating GWT service #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build new Dynamic Web project - ok
2. New Module - ok
3. New Entry point - ok
4. New Remote service

What is the expected output? What do you see instead?
Normally it creates three files, service, async and impl files, but since
I'm using eclipse WTP 2.0 (Version: 3.3.0) I get only client side service
and async file. There's no server impl class. An error message pop out:
Error creating GWT remote service, see log files for details. I can't find
any log file with anything related to this error.

What version of the product are you using? On what operating system?
Eclipse 3.30, WTP 2.0, XP

Please provide any additional information below.
I guess (from other issues) that this related to eclipse version. Some
funny solution to this is that I create impl class in older version of Eclipse.

thnx for help and for great tool
Janez

Original issue reported on code.google.com by janez.la...@gmail.com on 31 Jul 2007 at 6:00

GoogleCodeExporter commented 9 years ago
I forgot to add this.
When I add method in interface, CyPal creates 'callback' method in Async class. 
But
there's no changes in impl class. 

Original comment by janez.la...@gmail.com on 31 Jul 2007 at 6:13

GoogleCodeExporter commented 9 years ago
Ahh, I'm too lazy today. So one more thing:
In module.gwt.xml <servlet ...> tag is missing.

This all toghether is good for me, because now I understand remote services 
much better.

Original comment by janez.la...@gmail.com on 31 Jul 2007 at 6:33

GoogleCodeExporter commented 9 years ago
The errors can be viewed in the <workspace>/.metadata/.log file. It can also be 
seen
in the Error Log View. Please attach the exception trace. That should be 
helpful to
analyze the problem

Original comment by grprakash on 1 Aug 2007 at 1:48

GoogleCodeExporter commented 9 years ago
Yes I've found logs lately, so here's error stack:
!ENTRY in.cypal.studio.gwt.ui 4 -1 2007-08-01 07:20:37.224
!MESSAGE Encountered an unexpected exception.
!STACK 1
org.eclipse.core.runtime.CoreException: Error
    at
in.cypal.studio.gwt.ui.wizards.NewGwtRemoteServiceWizardPage.createType(NewGwtRe
moteServiceWizardPage.java:301)
    at
in.cypal.studio.gwt.ui.wizards.NewGwtRemoteServiceWizard.performFinish(NewGwtRem
oteServiceWizard.java:77)
    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(ActionCont
ributionItem.java:545)
    at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.
java:490)
    at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContribution
Item.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(Ecli
pseAppLauncher.java:106)
    at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLau
ncher.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 in.cypal.studio.gwt.ui 4 -1 2007-08-01 07:20:37.224
!MESSAGE Error

Original comment by janez.la...@gmail.com on 1 Aug 2007 at 5:30

GoogleCodeExporter commented 9 years ago
I'm sorry, I didn't have the time to continue to work on this, until now. So, 
I've
found solution for this problem. I guess. It really helps if Build Automatically
switch in menu Project (in Eclipse) is checked.
This is not an issue anymore..
Thank you for help.
Janez

Original comment by janez.la...@gmail.com on 26 Sep 2007 at 7:28

GoogleCodeExporter commented 9 years ago
Great. Marking this fixed

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