JBoss Community

WS client generation in Eclipse

created by Piotr Nizio in JBoss Web Services - View the full discussion

I came into an issue with generating a Web Service client in Eclipse basing on WSDL. I tried with Eclipse 3.6.2 and 3.7 but I keep getting the following error after clicking 'Next' in the wizard:

 

IWAB0014E Unexpected exception occurred.

 

      java.lang.NullPointerException

      at org.jboss.tools.ws.creation.core.utils.JBossWSCreationUtils.getJBossWSRuntimeLocation(JBossWSCreationUtils.java:290)

      at org.jboss.tools.ws.creation.core.commands.InitialClientCommand.execute(InitialClientCommand.java:53)

      at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.runCommand(CommandFragmentEngine.java:419)

      at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.visitTop(CommandFragmentEngine.java:359)

      at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.moveForwardToNextStop(CommandFragmentEngine.java:254)

      at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager$6.run(SimpleCommandEngineManager.java:294)

      at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)

      at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)

      at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1008)

      at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager.runForwardToNextStop(SimpleCommandEngineManager.java:264)

      at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.runForwardToNextStop(WizardPageManager.java:91)

      at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.getNextPage(WizardPageManager.java:154)

      at org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizardPage.getNextPage(SimpleWizardPage.java:136)

      at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:887)

      at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:426)

      at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)

      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)

      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)

      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)

      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)

      at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)

      at org.eclipse.jface.window.Window.open(Window.java:801)

      at org.eclipse.ui.internal.handlers.WizardHandler$New.executeHandler(WizardHandler.java:254)

      at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:274)

      at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)

      at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)

      at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)

      at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)

      at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:468)

      at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)

      at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)

      at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)

      at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)

      at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)

      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

      at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1524)

      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1257)

      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)

      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1267)

      at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1294)

      at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:730)

      at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:2841)

      at org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:734)

      at org.eclipse.swt.widgets.Tree.gtk_key_press_event(Tree.java:1977)

      at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1743)

      at org.eclipse.swt.widgets.Control.windowProc(Control.java:4796)

      at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:3485)

      at org.eclipse.swt.widgets.Display.windowProc(Display.java:4360)

      at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)

      at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:8189)

      at org.eclipse.swt.widgets.Display.eventProc(Display.java:1238)

      at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)

      at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2237)

      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3159)

      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)

      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)

      at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)

      at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)

      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)

      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)

      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)

      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

      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:597)

      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)

      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)

      at org.eclipse.equinox.launcher.Main.run(Main.java:1408)

      at org.eclipse.equinox.launcher.Main.main(Main.java:1384)

 

I have an instance of JBossAS 5.1.0.GA configured in Eclipse. I also tried adding the JBossWS runtime in Preferences > Web Services > JBossWS Preferences. Has anyone encountered the same problem?

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community