[
http://issues.apache.org/jira/browse/AXIS2-1742?page=comments#action_12455050 ]
Ravi Luthra commented on AXIS2-1742:
------------------------------------
Hmm... It wasn't exactly a configuration issue after all, I was missing a
dependency:
<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
<version>3.0.1</version>
<scope>runtime</scope>
</dependency>
Unfortunately I now am facing a Content-Length issue.
> Null Pointer Exception when calling any method of the code generated with
> WSD2Java on terraservice.xml file
> -----------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-1742
> URL: http://issues.apache.org/jira/browse/AXIS2-1742
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Affects Versions: 1.2
> Environment: Windows XP, JRE 1.5
> Reporter: Frank Aljbour
> Assigned To: Deepal Jayasinghe
> Attachments: TerraService.xml
>
>
> Has anyone got the generated code for the terraservice to work with any of
> the Axis implementations (1.4 or 2.0), Axis2 throws exceptions inside the
> generated code and Axis 1.4 hangs on the call.invoke method. The Exception
> that I am getting with Axis 2.0 is the following,
> java.lang.NullPointerException
> at
> org.apache.axis2.description.ClientUtils.inferInTransport(ClientUtils
> .java:85)
> at
> org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAx
> isOperation.java:253)
> at
> com.terraservice_usa.TerraServiceStub.GetPlaceFacts(TerraServiceStub.
> java:825)
> at DrawPanel.drawMap(DrawPanel.java:143)
> at DrawPanel.actionPerformed(DrawPanel.java:122)
> at
> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:18
> 49)
> at
> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav
> a:2169)
> at
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
> .java:420)
> at
> javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258
> )
> at
> javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
> istener.java:234)
> at java.awt.Component.processMouseEvent(Component.java:5488)
> at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
> at java.awt.Component.processEvent(Component.java:5253)
> at java.awt.Container.processEvent(Container.java:1966)
> at java.awt.Component.dispatchEventImpl(Component.java:3955)
> at java.awt.Container.dispatchEventImpl(Container.java:2024)
> at java.awt.Component.dispatchEvent(Component.java:3803)
> at
> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212
> )
> at
> java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
> at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
> at java.awt.Container.dispatchEventImpl(Container.java:2010)
> at java.awt.Window.dispatchEventImpl(Window.java:1774)
> at java.awt.Component.dispatchEvent(Component.java:3803)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
> at
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
> read.java:242)
> at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
> ad.java:163)
> at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
> at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]