You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Mark Harrison <ha...@awst.at> on 2011/04/28 15:03:27 UTC

InvocationTargetException with version 1.5.4

 

I am trying to install v1.5.4 of the Eclipse Code Generator Wizard plugin
but I am getting an InvocationTargetException. I have tried copying the
jsr173_1.0_ri.jar, stax-api-1.0.1.jar and backport-util-concurrent-3.1.jar
files into the org.apache.axis2.eclipse.codegen.plugin_1.5.4\lib folder and
adding references to these jar files into the plugin.xml file but I am still
getting the same exception. Does anybody know how to resolve this error?

 

Here is the stack trace being generated from this error:

 

javax.xml.stream.FactoryConfigurationError: Provider
com.bea.xml.stream.MXParserFactory not found

        at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:72)

        at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:178)

        at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)

        at
javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136)

        at org.apache.axiom.om.util.StAXUtils$7.run(StAXUtils.java:505)

        at java.security.AccessController.doPrivileged(Native Method)

        at
org.apache.axiom.om.util.StAXUtils.newXMLInputFactory(StAXUtils.java:495)

        at
org.apache.axiom.om.util.StAXUtils.getXMLInputFactory_perClassLoader(StAXUti
ls.java:575)

        at
org.apache.axiom.om.util.StAXUtils.getXMLInputFactory(StAXUtils.java:172)

        at
org.apache.axiom.om.util.StAXUtils.getXMLInputFactory(StAXUtils.java:137)

        at
org.apache.axiom.om.util.StAXUtils.createXMLStreamReader(StAXUtils.java:224)

        at
org.apache.axiom.om.util.StAXUtils.createXMLStreamReader(StAXUtils.java:218)

        at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:596)

        at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:581)

        at
org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBuilder.ja
va:97)

        at
org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuild
er.java:88)

        at
org.apache.axis2.context.ConfigurationContextFactory.createBasicConfiguratio
nContext(ConfigurationContextFactory.java:339)

        at
org.apache.axis2.context.ConfigurationContextFactory.createDefaultConfigurat
ionContext(ConfigurationContextFactory.java:326)

        at
org.apache.ws.java2wsdl.Java2WSDLBuilder.<init>(Java2WSDLBuilder.java:102)

        at
org.apache.ws.java2wsdl.Java2WSDLCodegenEngine.<init>(Java2WSDLCodegenEngine
.java:51)

        at
org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$2.execute(CodeGenWizard.
java:435)

        at
org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperati
on.java:106)

        at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)

        at
org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation
.java:118)

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

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

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

        at
org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishJava2WSDL(CodeGe
nWizard.java:450)

        at
org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWiz
ard.java:174)

        at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:752)

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

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

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

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

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

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

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

        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(WizardHand
ler.java:253)

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

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

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

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

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

        at
org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHan
dlerService.java:241)

        at
org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.jav
a:157)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

 

Many thanks

 

Mark.