axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertlazarski <robertlazar...@gmail.com>
Subject Re: axis2 client issue with version 1.7.8
Date Wed, 18 Jul 2018 14:01:06 GMT
On Wed, Jul 18, 2018 at 7:54 AM, viji.mv <viji.mv@beo.in> wrote:

>
> Hi,
>
> I am running axis client using axis2 version 1.7.8 and getting following
> error.
>
> It is found that type is null
>
> org.apache.axis2.AxisFault
>     at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
>     at
> org.apache.axis2.transport.TransportUtils.createSOAPMessage(
> TransportUtils.java:122)
>     at
> org.apache.axis2.transport.TransportUtils.createSOAPMessage(
> TransportUtils.java:66)
>     at
> org.apache.axis2.description.OutInAxisOperationClient.handle
> Response(OutInAxisOperation.java:347)
>     at
> org.apache.axis2.description.OutInAxisOperationClient.send(O
> utInAxisOperation.java:414)
>     at
> org.apache.axis2.description.OutInAxisOperationClient.execut
> eImpl(OutInAxisOperation.java:225)
>     at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:150)
>     at
> edecwebservice171.EdecServiceStub.goodsDeclarations(EdecServ
> iceStub.java:490)
>     at edecwebservice171.Test.main(Test.java:86)
> Caused by: java.lang.NullPointerException
>     at
> org.apache.axis2.builder.MIMEBuilder.processDocument(MIMEBuilder.java:72)
>     at
> org.apache.axis2.transport.TransportUtils.createDocumentElem
> ent(TransportUtils.java:203)
>     at
> org.apache.axis2.transport.TransportUtils.createSOAPMessage(
> TransportUtils.java:144)
>     at
> org.apache.axis2.transport.TransportUtils.createSOAPMessage(
> TransportUtils.java:107)
>
>
> Any help is appreciated.
>
>
>
> Thanks,
>
> Viji M V
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>
Here's the source that is failing in MIMEBuilder.java, the quickest way to
debug would be to compile from source and see what is null here:

 return builder.processDocument(attachments.getRootPartInputStream(false),
                    type, msgContext);

Best regards,
Robert

Mime
View raw message