Community
Participate
Working Groups
The Web service creation wizard is failing after the "Service Deployment Configuration" page. The stack trace is: IWAB0019E Error in getting method from Java bean. java.lang.NullPointerException at org.eclipse.jst.ws.internal.axis.creation.ui.command.JavaToWSDLMethodCommand.execute(JavaToWSDLMethodCommand.java:95) at org.eclipse.wst.command.env.core.fragment.CommandFragmentEngine.runCommand(CommandFragmentEngine.java:322) at org.eclipse.wst.command.env.core.fragment.CommandFragmentEngine.visitTop(CommandFragmentEngine.java:288) at org.eclipse.wst.command.env.core.fragment.CommandFragmentEngine.moveForwardToNextStop(CommandFragmentEngine.java:208) at org.eclipse.wst.command.env.ui.widgets.SimpleCommandEngineManager$4.run(SimpleCommandEngineManager.java:206) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:344) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:289) at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:824) at org.eclipse.wst.command.env.ui.widgets.SimpleCommandEngineManager.runForwardToNextStop(SimpleCommandEngineManager.java:175) at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.runForwardToNextStop(WizardPageManager.java:69) at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.getNextPage(WizardPageManager.java:91) at org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizardPage.getNextPage(SimpleWizardPage.java:123) at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:741) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:338) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:543) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2908) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2541) at org.eclipse.jface.window.Window.runEventLoop(Window.java:718) at org.eclipse.jface.window.Window.open(Window.java:696) at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:173) at org.eclipse.jface.action.Action.runWithEvent(Action.java:1003) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:557) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:507) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:421) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2908) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2541) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1612) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1578) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:293) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:333) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:150) 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.core.launcher.Main.invokeFramework(Main.java:268) at org.eclipse.core.launcher.Main.basicRun(Main.java:260) at org.eclipse.core.launcher.Main.run(Main.java:887) at org.eclipse.core.launcher.Main.main(Main.java:871) I have followed the instructions for enabling Web services at http://www.eclipse.org/webtools/jst/components/ws/tutorials/GettingStartedWebService.html. I am using Tomcat 5.0.28 as my container.
Created attachment 19200 [details] Simple test project This is the simple project I was using. I was trying to use HelloWorldImpl to generate the service.
Looks like the bug only shows up when running under JDK 1.5 (Sun JDK 1.5.0_01/Win2K).
Seng, we know that JRE 1.5 is not Axis friendly (or vice versa), but I'd like us to verify that this is the typical symptom for bottom-up scenarios and document it front-and-centre on the WTP Web site. Would you please run with this? Thanks - CB.
This is to confirm/reinforce the problem with running Axis 1.1 Web services on JRE 1.5. It appears Axis 1.1 isn't compatible with the Xerces included in the Sun 1.5 runtime. An NPE is thrown, and the Web service wizard appropriately pops up an error dialog saying that Axis Deployment has failed. See the following bug for more details: https://bugs.eclipse.org/bugs/show_bug.cgi?id=92603
Duplicate bug. Will be addressed in support for JDK1.5. *** This bug has been marked as a duplicate of 92603 ***
Done
Changed Version field given new release numbering.
I have downloaded the latest version of Eclipse 3.2.1 M20060921-0945 and tried to generate the web service from wizard, but some how it show me the same error mentioned above
Alex, this bug is related to Axis 1.1 running with Java 5 JRE. The latest offering of WTP supports Axis 1.3 which is compatible with Java 5. Please try the latest maintenance release found here: http://www.eclipse.org/downloads/download.php?file=/webtools/downloads/drops/R1.5/M-1.5.3-200611161917/wtp-M-1.5.3-200611161917.zip If you still see problems, please open a new bug as this one has already been closed. Thank you!
I have same issue with 1.4.2_06 version, Eclipse Callisto, WTP 1.5.1. Trying to create web service from java class (Tomcat 5).