Bug 119111 - Exception with web service wizards when no server runtime installed
Summary: Exception with web service wizards when no server runtime installed
Status: CLOSED FIXED
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: jst.ws (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows 2000
: P3 major (vote)
Target Milestone: 1.5 M5   Edit
Assignee: Rupam Kuehner CLA
QA Contact:
URL:
Whiteboard:
Keywords: Documentation
: 103221 120731 121219 123132 127468 128930 137673 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-02 15:50 EST by Joan Haggarty CLA
Modified: 2006-06-13 11:46 EDT (History)
9 users (show)

See Also:


Attachments
apply to org.eclipse.wst.ws (3.43 KB, patch)
2006-02-21 19:24 EST, Rupam Kuehner CLA
no flags Details | Diff
apply to org.eclipse.jst.ws.consumption (80.89 KB, patch)
2006-02-21 19:24 EST, Rupam Kuehner CLA
no flags Details | Diff
apply to org.eclipse.jst.ws.consumption.ui (66.24 KB, patch)
2006-02-21 19:25 EST, Rupam Kuehner CLA
no flags Details | Diff
apply to org.eclipse.jst.ws.creation.ui (22.15 KB, patch)
2006-02-21 19:26 EST, Rupam Kuehner CLA
no flags Details | Diff
apply to org.eclipse.jst.ws.axis.creation.ui (10.33 KB, patch)
2006-02-21 19:26 EST, Rupam Kuehner CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joan Haggarty CLA 2005-12-02 15:50:32 EST
Open WTP with new workspace
File -> New -> Web Services -> Web Service
Click Next
Get exception below.
This may not be a common scenario but a new user browsing around for web service support could quickly find it.  Would be nice to give an error message to say that no servers are defined or something along those lines...

IWAB0014E Unexpected exception occured.
  0
      java.lang.ArrayIndexOutOfBoundsException: 0
      at org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2.getDefaultServerValueFor(WebServiceRuntimeExtensionUtils2.java:508)
      at org.eclipse.jst.ws.internal.creation.ui.widgets.ServerWizardWidgetDefaultingCommand.execute(ServerWizardWidgetDefaultingCommand.java:33)
      at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.runCommand(CommandFragmentEngine.java:386)
      at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.visitTop(CommandFragmentEngine.java:327)
      at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.moveForwardToNextStop(CommandFragmentEngine.java:226)
      at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager$5.run(SimpleCommandEngineManager.java:247)
      at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager.runForwardToNextStop(SimpleCommandEngineManager.java:211)
      at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.runForwardToNextStop(WizardPageManager.java:78)
      at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.getNextPage(WizardPageManager.java:124)
      at org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizard.getStartingPage(DynamicWizard.java:314)
      at org.eclipse.jface.wizard.WizardSelectionPage.getNextPage(WizardSelectionPage.java:112)
      at org.eclipse.ui.internal.dialogs.WorkbenchWizardSelectionPage.getNextPage(WorkbenchWizardSelectionPage.java:99)
      at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:747)
      at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:345)
      at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:556)
      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:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      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)
Comment 1 Kevin Greiner CLA 2005-12-12 18:04:12 EST
I just ran into this one myself.  In my case, I have one server, the J2EE Runtime Library, defined.
Comment 2 Chris Brealey CLA 2005-12-16 10:53:08 EST
*** Bug 120731 has been marked as a duplicate of this bug. ***
Comment 3 Chris Brealey CLA 2005-12-16 10:53:25 EST
*** Bug 121219 has been marked as a duplicate of this bug. ***
Comment 4 Pat McDonough CLA 2006-01-11 18:37:47 EST
I encountered this error as well.

Preconditions:
Using a fresh install of eclipse 3.1.1 Build id: M20050929-0840
Using the TEST update manager to acquire WTP 1.0 (1/10 @ ~10:00 PT)
Using an existing workspace
Having a Server project created in the workspace created using WTP 0.7
Having a Tomcat 5.5 Server in that project
Having the pre-existing server showing in the Servers View

1) File > New > Other . . .
2) Web Services/Web Service
3) Next . . .
4) I got the error dialog as mentioned previously (IWAB0014E), but I think it might have been a differnet stack trace
5) Added new servers (Tomcat 5.0 & Tomcat 4.1)
6) The new servers appeared in a new project titled "Servers2"
7) Now I can use the wizard
Comment 5 Kathy Chan CLA 2006-01-13 09:47:39 EST
*** Bug 123132 has been marked as a duplicate of this bug. ***
Comment 6 Kathy Chan CLA 2006-01-13 10:02:52 EST
In a new workspace, if I don't have any server runtime installed and I do:

New -> Web Services -> Web Service Client

The Client Proxy Type combo is empty and I got:

java.lang.reflect.InvocationTargetException
        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:324)
        at org.eclipse.wst.command.internal.env.core.data.DataFlowManager.invokeMethod(DataFlowManag
er.java:221)
        at org.eclipse.wst.command.internal.env.core.data.DataFlowManager.process(DataFlowManager.ja
va:108)
        at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.handlePageVisible(Wizar
dPageManager.java:194)
        at org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizardPage.setVisible(SimpleWizardP
age.java:124)
        at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1030)
        at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:1013)
        at org.eclipse.jface.wizard.WizardDialog$4.run(WizardDialog.java:1003)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
        at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1001)
        at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:753)
        at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:345)
        at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:556)
        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.ui.actions.NewWizardDropDownAction.run(NewWizardDropDownAction.java:174)
        at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionI
tem.java:538)
        at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)

        at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java
:441)
        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:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        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)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
        at org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientWizardWidgetDefaultingCommand.ge
tClientTypeRuntimeServer(ClientWizardWidgetDefaultingCommand.java:65)
        ... 49 more
java.lang.IllegalArgumentException: Provider "org.eclipse.jst.ws.internal.consumption.ui.widgets.Cli
entWizardWidgetDefaultingCommand" threw an exception.
        at org.eclipse.wst.command.internal.env.core.data.DataFlowManager.invokeMethod(DataFlowManag
er.java:227)
        at org.eclipse.wst.command.internal.env.core.data.DataFlowManager.process(DataFlowManager.ja
va:108)
        at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.handlePageVisible(Wizar
dPageManager.java:194)
        at org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizardPage.setVisible(SimpleWizardP
age.java:124)
        at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1030)
        at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:1013)
        at org.eclipse.jface.wizard.WizardDialog$4.run(WizardDialog.java:1003)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
        at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1001)
        at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:753)
        at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:345)
        at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:556)
        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.ui.actions.NewWizardDropDownAction.run(NewWizardDropDownAction.java:174)
        at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionI
tem.java:538)
        at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)

        at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java
:441)
        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:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        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)

If in a new workspace, I first create a Java project, select the project and do:

New -> Web Services -> Web Service Client

then I got ArrayIndexOutOfBoundsException error:

java.lang.reflect.InvocationTargetException
        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:324)
        at org.eclipse.wst.command.internal.env.core.data.DataFlowManager.invokeMethod(DataFlowManag
er.java:221)
        at org.eclipse.wst.command.internal.env.core.data.DataFlowManager.process(DataFlowManager.ja
va:108)
        at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.handlePageVisible(Wizar
dPageManager.java:194)
        at org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizardPage.setVisible(SimpleWizardP
age.java:124)
        at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1030)
        at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:1013)
        at org.eclipse.jface.wizard.WizardDialog$4.run(WizardDialog.java:1003)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
        at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1001)
        at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:753)
        at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:345)
        at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:556)
        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.ui.actions.NewWizardDropDownAction.run(NewWizardDropDownAction.java:174)
        at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionI
tem.java:538)
        at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)

        at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java
:441)
        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:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        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)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
        at org.eclipse.jst.ws.internal.consumption.ui.widgets.ClientWizardWidgetDefaultingCommand.ge
tClientTypeRuntimeServer(ClientWizardWidgetDefaultingCommand.java:65)
        ... 49 more
java.lang.IllegalArgumentException: Provider "org.eclipse.jst.ws.internal.consumption.ui.widgets.Cli
entWizardWidgetDefaultingCommand" threw an exception.
        at org.eclipse.wst.command.internal.env.core.data.DataFlowManager.invokeMethod(DataFlowManag
er.java:227)
        at org.eclipse.wst.command.internal.env.core.data.DataFlowManager.process(DataFlowManager.ja
va:108)
        at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.handlePageVisible(Wizar
dPageManager.java:194)
        at org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizardPage.setVisible(SimpleWizardP
age.java:124)
        at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1030)
        at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:1013)
        at org.eclipse.jface.wizard.WizardDialog$4.run(WizardDialog.java:1003)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
        at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1001)
        at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:753)
        at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:345)
        at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:556)
        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.ui.actions.NewWizardDropDownAction.run(NewWizardDropDownAction.java:174)
        at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionI
tem.java:538)
        at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)

        at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java
:441)
        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:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        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)

The user should be able to generate Web service client into a Java project without having to worry about server targetting.
Comment 7 Kathy Chan CLA 2006-01-13 11:40:06 EST
Targeting 1.5 M5.  The workaround for the meanwhile is installing a server runtime before running the Web Service and Web Service Client wizard.
Comment 8 Rupam Kuehner CLA 2006-01-16 15:48:11 EST
*** Bug 103221 has been marked as a duplicate of this bug. ***
Comment 9 Rupam Kuehner CLA 2006-01-18 13:45:34 EST
Based on discussions with Kathy Chan and Chris Brealey, the fix for this bug will involve the following:

1. Modify all commands and pages up to an including page 3 to tolerate the situation where no server runtime exists in the Server > Installed Servers preferences (i.e. all commands execute cleanly and and all pages get rendered)

2. Modify the org.eclipse.jst.ws.consumption.ui.runtimes extension point to include a new optional attribute called "serverRequired". If an extension does not include this attribute in their XML, the default value of this attribute is "true".

3. Modify the Axis Web service runtime extension to set serverRequired="false".

4. Modify page 3 validation to tolerate no server selection as long as the selected Web service runtime has the serverRequired attribute set to false. 
a) If there is no server selected and the selected Web service runtime requires a server, display an error on the page (Next disabled)
b) If there is no server selected and the selected Web service runtime does not require a server, display a warning on the page informing the user that not selecting a server means that their Web service/client code will be generated but not deployed, installed or be run. (Next enabled)

5. Modify all framework and Axis commands in the develop and assemble phases to tolerate no server selection.

6. Modify the wizard framework so that, when there is no server selection, the deploy, install, run, and test phases do not run, regardless of what the user selected on page 1. The publish phase can remain enabled.
Comment 10 Chris Brealey CLA 2006-02-09 15:12:54 EST
Retargetting from M5 to M6.
Comment 11 Chris Brealey CLA 2006-02-13 13:46:23 EST
*** Bug 127468 has been marked as a duplicate of this bug. ***
Comment 12 Rupam Kuehner CLA 2006-02-21 19:24:18 EST
Created attachment 35109 [details]
apply to org.eclipse.wst.ws

patch 1 of 5
Comment 13 Rupam Kuehner CLA 2006-02-21 19:24:52 EST
Created attachment 35110 [details]
apply to org.eclipse.jst.ws.consumption

patch 2 of 5
Comment 14 Rupam Kuehner CLA 2006-02-21 19:25:39 EST
Created attachment 35111 [details]
apply to org.eclipse.jst.ws.consumption.ui

patch 3 of 5
Comment 15 Rupam Kuehner CLA 2006-02-21 19:26:17 EST
Created attachment 35112 [details]
apply to org.eclipse.jst.ws.creation.ui

patch 4 of 5
Comment 16 Rupam Kuehner CLA 2006-02-21 19:26:53 EST
Created attachment 35113 [details]
apply to org.eclipse.jst.ws.axis.creation.ui

patch 5 of 5
Comment 17 Rupam Kuehner CLA 2006-02-21 19:28:21 EST
The attached patches are ready to be committed. Note that the fix for bug 124302 and bug 122661 is included in this patch.
Comment 18 Chris Brealey CLA 2006-02-22 08:42:26 EST
*** Bug 128930 has been marked as a duplicate of this bug. ***
Comment 19 Kathy Chan CLA 2006-02-22 13:26:50 EST
Patch reviewed and committed to HEAD.  We'll release it to this week's integration build.  Moving target to M5.
Comment 20 Kathy Chan CLA 2006-02-22 14:48:57 EST
Released to HEAD as v200602221946.
Comment 21 Chris Brealey CLA 2006-04-20 09:31:39 EDT
*** Bug 137673 has been marked as a duplicate of this bug. ***
Comment 22 Joan Haggarty CLA 2006-05-26 09:20:00 EDT
verified that exception I was seeing no longer occurs in 0518 integration build.
Comment 23 Chris Brealey CLA 2006-06-13 11:46:00 EDT
Closed.