0 Replies Latest reply on Apr 29, 2013 3:17 PM by roopachakra

    NullPointerException while converting AXIS client to JBOSSWS client

    roopachakra Newbie

      Hello,

       

      We are trying to convert existing AXIS webservice client to JBOSS WS client. I tried installing Jboss tools to eclipse Juno. Set the JBOSS WS runtime like below.

       

      Window->Preferences->Web Services->JBossWS Preferences->Add. Then provide a name (eg. jboss-eap-5.1.0), Home Folder:  $JBOSS_HOME (which is the jboss-as folder)

       

      While converting existing WSDL to webservice client I get below exception. Even though I set runtime location properly it still doesn't find the location.

      Was wondering if anyone come across such error and resolved it.

       

       

      IWAB0014E Unexpected exception occurred.

       

            java.lang.NullPointerException

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

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

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

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

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

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

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

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

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

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

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

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

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

            at org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard.run(DynamicPopupWizard.java:130)

            at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)

            at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)

            at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)

            at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)

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

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

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

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

            at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1053)

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

            at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942)

            at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)

            at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)

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

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

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

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

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

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

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

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

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