| Summary: | NPE in Web Service test page | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Webservices | Reporter: | Tim deBoer <deboer> | ||||
| Component: | jst.ws | Assignee: | Mark Hutchinson <mahutch> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | erdtek, kathy | ||||
| Version: | 0.7 | Keywords: | Documentation | ||||
| Target Milestone: | 1.5 RC3 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
I get the same Exception when I do the following: Tomcat is stopped. 1) new Dynamic Web Project 2) write some simple Bean Class to test - with a field and get and set methods 3) File -> New -> Web Service: and clicking next I come to the window "Web Service Test Page" and clicking Launch gets the same exception. I'm using Tomcat 5.5 Axis 1.2.1 both Installed and configured. Eclipse 3.1.1 with Plugins: emf-sdo-xsd-SDK-2.1.1 GEF-SDK-3.1.1 JEM-SDK-1.1.0.1 wtp-0.7.1 I beleive this issue has been fixed since this bug was opened. I tested this problem on 0209 wtp using tomcat and didnt have a problem. Part of the cure I beleive is that we now have a page which forces the user to start the server before we ever get to the test page. Valid point about the name of the page having "page" in the name is redundant. This is a minor problem which can obviously be fixed easily. Gil, please fix the label this week, and confirm the NPE is gone. Thanks Mark for looking at this Created attachment 41243 [details]
patch for org.eclipse.jst.ws.consumption.ui plugin
I could not reproduce NPE in either top down or bottom up wizards. The patch I submitted changes two page names: Server startup page -> Start Server Web Service Test Page -> Test Web Service Thanks Mark. Approved for RC3 and committed. Will release later. NPE can't be reproduced, and title text has been changed. Closing. |
I was going through the Web Service wizard and reached the 'Web Service Test Page'. A server was already started and the application was deployed and running on it after the previous page. 1) The wizard page shouldn't have 'page' in the title. 2) When clicking on launch or next, the following error was received: IWAB0213E Error in starting server. java.lang.NullPointerException at org.eclipse.jst.ws.internal.consumption.common.WebServiceStartServerRegistry.getServerStartByTypeId(WebServiceStartServerRegistry.java:82) at org.eclipse.jst.ws.internal.consumption.command.common.StartProjectCommand.execute(StartProjectCommand.java:107) at org.eclipse.jst.ws.internal.consumption.ui.widgets.test.explorer.WSEGenerateCommand.execute(WSEGenerateCommand.java:40) at org.eclipse.jst.ws.internal.consumption.ui.widgets.test.WSDLTestLaunchCommand.commandFactoryExecution(WSDLTestLaunchCommand.java:91) at org.eclipse.jst.ws.internal.consumption.ui.widgets.test.WSDLTestLaunchCommand.execute(WSDLTestLaunchCommand.java:72) at org.eclipse.jst.ws.internal.creation.ui.widgets.test.ServiceTestWidget.handleLaunchButton(ServiceTestWidget.java:108) at org.eclipse.jst.ws.internal.creation.ui.widgets.test.ServiceTestWidget.access$0(ServiceTestWidget.java:88) at org.eclipse.jst.ws.internal.creation.ui.widgets.test.ServiceTestWidget$1.widgetSelected(ServiceTestWidget.java:72) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713) at org.eclipse.jface.window.Window.runEventLoop(Window.java:809) at org.eclipse.jface.window.Window.open(Window.java:787) at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:181) at org.eclipse.jface.action.Action.runWithEvent(Action.java:996) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334) at org.eclipse.core.launcher.Main.basicRun(Main.java:278) at org.eclipse.core.launcher.Main.run(Main.java:973) at org.eclipse.core.launcher.Main.main(Main.java:948)