Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
1.4
-
None
-
None
-
1.4 of the codegen Eclipse plugin
Description
When clicking "Finish" in the last step to generate Java code from WSDL, the following exception occurs.
I believe this is a bug introduced by the commit
http://mail-archives.apache.org/mod_mbox/ws-axis-cvs/200802.mbox/%3C20080226220409.64CC31A9832@eris.apache.org%3E
This change causes the plug in to use the ConcurrentHashMap class. That class is provided by
backport-util-concurrent-2.2.jar but that jar file is not included in in the plug's distribution (v1.4).
Here is the Eclipse console log:
Install location:
file:/c:/eclipse/
Configuration file:
file:/c:/eclipse/configuration/config.ini loaded
Configuration location:
file:/c:/eclipse/configuration/
Framework located:
file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
Framework classpath:
file:/c:/eclipse/plugins/org.eclipse.osgi_3.3.2.R33x_v20080105.jar
Splash location:
c:\eclipse\plugins\org.eclipse.platform_3.3.3.r33x_r20080129\splash.bmp
Debug options:
file:/C:/eclipse/.options not found
Time to load bundles: 16
Starting application: 1078
!SESSION 2008-05-05 16:17:28.265 -----------------------------------------------
eclipse.buildId=M20080221-1800
java.version=1.6.0_05
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -debug -consoleLog
!ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
!MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG1 in: org.eclipse.wst.wsdl.u
i.internal.messages
!ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.531
!MESSAGE NLS unused message: _UI_LABEL_UNDEFINED_ARG2 in: org.eclipse.wst.wsdl.u
i.internal.messages
!ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.546
!MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG2 in: org.eclipse.wst.wsd
l.ui.internal.messages
!ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.562
!MESSAGE NLS unused message: _UI_LABEL_OR_UNDEFINED_ARG3 in: org.eclipse.wst.wsd
l.ui.internal.messages
!ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
!MESSAGE NLS unused message: _UI_LABEL_NO_OBJECT_SPECIFIED_ARG1 in: org.eclipse.
wst.wsdl.ui.internal.messages
!ENTRY org.eclipse.osgi 2 1 2008-05-05 16:17:32.578
!MESSAGE NLS unused message: _UI_LABEL_NO_PARAMETERS_SPECIFIED in: org.eclipse.w
st.wsdl.ui.internal.messages
Application Started: 11000
Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
Retrieving document at 'C:\eclipse\workspace\SimpleServcie\SimpleService.wsdl'.
java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.doFinishWSDL2Java(CodeGenWizard.java:353)
at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGenWizard.java:171)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
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:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
Caused by: java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
at org.apache.axis2.description.AxisDescription.<init>(AxisDescription.java:78)
at org.apache.axis2.description.AxisService.<init>(AxisService.java:363)
at org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAxisServiceBuilder.java:101)
at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:205)
at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11ToAxisServiceBuilder.java:249)
at org.apache.axis2.tool.codegen.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:201)
at org.apache.axis2.tool.codegen.eclipse.CodeGenWizard$1.execute(CodeGenWizard.java:223)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
... 44 more
Caused by: java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
at java.lang.ClassLoader.findClass(ClassLoader.java:358)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
... 55 more
Attachments
Attachments
Issue Links
- is duplicated by
-
AXIS2-3812 Eclipse codegen wizard fails with an invocationtargetException
-
- Resolved
-
-
AXIS2-3799 InvocationTargetException in eclipse plug-in Axis2_Codegen_Wizard_1.3.0
-
- Resolved
-
-
AXIS2-3857 I'm unsuccessfully trying to generate axis2 v.1.4 Stubs on MAC-G4 or on Windows Vista 32-bit.
-
- Resolved
-
- is related to
-
AXIS2-3800 The eclipse plug-in version is 1.3 instead 1.4
-
- Resolved
-