[ http://wso2.org/jira/browse/WSAS-453?page=all ]
Saminda Wishwajith Abeyruwan resolved WSAS-453.
------------------------------------------------
Fix Version/s: 2.2
Resolution: Fixed
> Client gets a NPE when sending large MTOM attachments even if the file
> transfer is successful
> ---------------------------------------------------------------------------------------------
>
> Key: WSAS-453
> URL: http://wso2.org/jira/browse/WSAS-453
> Project: WSO2 WSAS
> Issue Type: Bug
> Affects Versions: 2.0
> Environment: winxp, jdk15
> Reporter: Charitha Kankanamge
> Assigned To: Saminda Wishwajith Abeyruwan
> Fix For: 2.2
>
> Attachments: client.rar, sample-mtom.aar
>
>
> I get the following exception at client side when sending large attachment
> (120 MB) using MTOM. However the file transfer was successful.
> [java] Exception in thread "main" org.apache.axis2.AxisFault
> [java] at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
> [java] at
> org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:89)
> [java] at
> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:326)
> [java] at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
> [java] at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
> [java] at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
> [java] at
> org.apache.ws.axis2.mtomsample.MTOMSampleMTOMSampleSOAP11Port_httpStub.attachment(Unknown
> Source)
> [java] at sample.mtom.client.Client.transferFile(Unknown Source)
> [java] at sample.mtom.client.Client.main(Unknown Source)
> [java] Caused by: java.lang.NullPointerException
> [java] at
> org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:156)
> [java] at
> org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:111)
> [java] at
> org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:87)
> [java] ... 7 more
> Please deploy the attached service and invoke it with the attached client. OR
> you can use axis2 mtom sample client easily to transfer a file.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Wsas-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev