Return-Path: X-Original-To: apmail-ws-dev-archive@www.apache.org Delivered-To: apmail-ws-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AE052187A9 for ; Sat, 28 Nov 2015 14:06:10 +0000 (UTC) Received: (qmail 98448 invoked by uid 500); 28 Nov 2015 14:06:10 -0000 Delivered-To: apmail-ws-dev-archive@ws.apache.org Received: (qmail 98288 invoked by uid 500); 28 Nov 2015 14:06:10 -0000 Mailing-List: contact dev-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ws.apache.org Delivered-To: mailing list dev@ws.apache.org Delivered-To: moderator for dev@ws.apache.org Received: (qmail 61994 invoked by uid 500); 27 Nov 2015 05:42:11 -0000 Delivered-To: apmail-ws-commons-dev@ws.apache.org X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3 X-Spam-Level: *** X-Spam-Status: No, score=3 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-1] autolearn=disabled From: Rohit Singh To: "commons-dev@ws.apache.org" Date: Fri, 27 Nov 2015 11:11:51 +0530 Subject: OutOfMemory issue with Axiom Thread-Topic: OutOfMemory issue with Axiom Thread-Index: AdEo1lD0ow7XL/UES4aavN5CQJFdAw== Message-ID: <49D73E81F0141F4D8994E6329905EBCE1A4381@NUCNOMAIL.nucleussoftware.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_49D73E81F0141F4D8994E6329905EBCE1A4381NUCNOMAILnucleuss_" MIME-Version: 1.0 X-OriginalArrivalTime: 27 Nov 2015 05:41:52.0864 (UTC) FILETIME=[51A9A600:01D128D6] X-TM-AS-Product-Ver: IMSVA-8.2.0.1391-8.0.0.1202-21966.005 X-TMASE-Version: IMSVA-8.2.0.1391-8.0.1202-21966.005 X-TMASE-Result: 10--7.200300-5.000000 X-TMASE-MatchedRID: Aaz5lD9lxAj3fZ+bzIHVnmMGiV639iF0h+w9Wz/xXDqCsBeCv8CM/XGQ g/QaSNZ+YVTVP40FD6fHaRV3qIXYN/yvQ62oyMhSFyqkfsPWu1BQCOsAlaxN77/A+0D1to6P6XK XfTZSEzjSqwxduIUemTwSas/EhcgSpCxnOlUyBGzbH8WaUL9qjFF5adRR2Ej1+CZHkGYZjzUErq zpg/UGWubnWAvRO97jmlcQN+tR34v964i7bs8hm2Fb8qosrs1QX5TqQagR07fH/nxb0Y5vYZ/Hm WPRDv8JKnoLoDc7CX1xeYZFzqCl1pya2tEru0x7NQpinJc7YFNlSVBQ/vSwCCarfxZGa4q8mbbR 8jTpDyxYq9hh5Budfh2ghxPLNFysYw1f/0r5B97EO0jjSgczbuZM8S4DYUop01c7LSleBSFuikO 6W9rAm4XPY1ZbD5ttQQnUjw1iCJtpLRp6jdBaQYFufylzN+m+Bomo4pqKILljyv+d0Z0OxerEiR SZkkEfQ3VlWd9JmTqNB4aENeZ5B2rRCqFi6ztk/Sl5cYQQGW+DddlymG7iS0rRZP/NcCCSizrFp WHTBvcEdWbTGHnxVjwu4/5s6Qxa3eMXZ9Vw93OYcl4BgqVyk3G1ZiUO5FClj2iyfwmt0k9o4tOB Mzo2OO+6vWQCjRtKlET/T7VXa5sOVaHFOAhc6ovptQwz5tsiA846QYM2DSzDv5dDcuT2eYqMpz/ 1roXQvyHEK2Oi/Jj/voIzhn8wZuVHGbcDbAq6FEUknJ/kEl7Yr6U3ZlQkdmxlRJiH4397gBRVPP ArSgpAS+TIgCaY7o0kR83GI1bUAm4xiB3XnpdKYehk6FM9sU0VC45pxNvagG3IKkAZX3cPb9Sk9 UIwkcJGdqA2lQJP --_000_49D73E81F0141F4D8994E6329905EBCE1A4381NUCNOMAILnucleuss_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I am using axiom-api-1.2.14.jar and axiom-impl-1.2.14.jar. My SOAP response returns List whose size is 150. Each string having= size of 1.8 mb(avg). When such huge data returns to axiom stax parsing, It suddenly increase the= the heap memory by 600 mb which continued to reatain and not gets relaesed= . When I analyse this in visualvm I found that OMTextImpl class is taking thi= s memory alone. For the next hit this size increase to 1200mb and again this memory does no= t get freed. For next 2-3 hits , system goes to OutOfMemory. I am using below configuration: #messageFactory (axiom) configuration messageFactory.payloadCaching=3Dtrue When I use messageFactory.payloadCaching=3Dfalse (I don't know whet= her this will solve the problem or not) I face below exception: 23:21:19.467 [http-bio-8080-exec-1] ERROR o.a.c.s.spi.TransactionErrorHan= dler - Failed delivery for (MessageId: ID-NII414LEDF0240-62759-144856026180= 7-0-1 on ExchangeId: ID-NII414LEDF0240-62759-1448560261807-0-2). Exhausted = after delivery attempt: 2 caught: org.apache.camel.InvalidPayloadException:= No body available of type: java.io.InputStream but has value: org.springfr= amework.util.xml.StaxSource@7fe0f13a of type: org.springframework.util.xml.= StaxSource on: SpringWebserviceMessage[AxiomSoapMessage]. Caused by: Error = during type conversion from type: org.springframework.util.xml.StaxSource t= o the required type: java.io.InputStream with value org.springframework.uti= l.xml.StaxSource@7fe0f13a due java.lang.NullPointerException. Exchange[Spri= ngWebserviceMessage[AxiomSoapMessage]]. Caused by: [org.apache.camel.TypeCo= nversionException - Error during type conversion from type: org.springframe= work.util.xml.StaxSource to the required type: java.io.InputStream with val= ue org.springframework.util.xml.StaxSource@7fe0f13a due java.lang.NullPoint= erException] Message History ---------------------------------------------------------------------------= ------------------------------------------------------------ RouteId ProcessorId Processor = Elapsed (ms) [searchGlobalCollat] [searchGlobalCollat] [ = ] [ 1029] [searchGlobalCollat] [unmarshal2 ] [unmarshal[ref:jaxb] = ] [ 1029] Exchange ---------------------------------------------------------------------------= ------------------------------------------------------------ Exchange[ Id ID-NII414LEDF0240-62759-1448560261807-0= -2 ExchangePattern InOptionalOut Headers {breadcrumbId=3DID-NII414LEDF0240-62759= -1448560261807-0-1, CamelRedelivered=3Dtrue, CamelRedeliveryCounter=3D1, Ca= melRedeliveryMaxCounter=3D1, CamelSpringWebserviceSoapHeader=3Dorg.springfr= amework.util.xml.StaxSource@1143c2b6} BodyType org.springframework.util.xml.StaxSource Body [Body is instance of java.xml.transform= .Source] ] Stacktrace ---------------------------------------------------------------------------= ------------------------------------------------------------ org.apache.camel.InvalidPayloadException: No body available of type: java.i= o.InputStream but has value: org.springframework.util.xml.StaxSource@7fe0f1= 3a of type: org.springframework.util.xml.StaxSource on: SpringWebserviceMes= sage[AxiomSoapMessage]. Caused by: Error during type conversion from type: = org.springframework.util.xml.StaxSource to the required type: java.io.Input= Stream with value org.springframework.util.xml.StaxSource@7fe0f13a due java= .lang.NullPointerException. Exchange[SpringWebserviceMessage[AxiomSoapMessa= ge]]. Caused by: [org.apache.camel.TypeConversionException - Error during t= ype conversion from type: org.springframework.util.xml.StaxSource to the re= quired type: java.io.InputStream with value org.springframework.util.xml.St= axSource@7fe0f13a due java.lang.NullPointerException] at org.apache.camel.impl.MessageSupport.getMandatoryBody(Me= ssageSupport.java:101) ~[camel-core-2.12.3.jar:2.12.3] at org.apache.camel.processor.UnmarshalProcessor.process(Un= marshalProcessor.java:59) ~[camel-core-2.12.3.jar:2.12.3] at org.apache.camel.processor.RedeliveryErrorHandler.proces= s(RedeliveryErrorHandler.java:398) ~[camel-core-2.12.3.jar:2.12.3] at org.apache.camel.spring.spi.TransactionErrorHandler.proc= essByErrorHandler(TransactionErrorHandler.java:218) [camel-spring-2.12.3.ja= r:2.12.3] at org.apache.camel.spring.spi.TransactionErrorHandler$1.do= InTransactionWithoutResult(TransactionErrorHandler.java:181) [camel-spring-= 2.12.3.jar:2.12.3] at org.springframework.transaction.support.TransactionCallb= ackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34) = [spring-tx-4.0.2.RELEASE.jar:4.0.2.RELEASE] at org.springframework.transaction.support.TransactionTempl= ate.execute(TransactionTemplate.java:133) [spring-tx-4.0.2.RELEASE.jar:4.0.= 2.RELEASE] at org.apache.camel.spring.spi.TransactionErrorHandler.doIn= TransactionTemplate(TransactionErrorHandler.java:174) [camel-spring-2.12.3.= jar:2.12.3] at org.apache.camel.spring.spi.TransactionErrorHandler.proc= essInTransaction(TransactionErrorHandler.java:134) [camel-spring-2.12.3.jar= :2.12.3] at org.apache.camel.spring.spi.TransactionErrorHandler.proc= ess(TransactionErrorHandler.java:103) [camel-spring-2.12.3.jar:2.12.3] at org.apache.camel.spring.spi.TransactionErrorHandler.proc= ess(TransactionErrorHandler.java:112) [camel-spring-2.12.3.jar:2.12.3] at org.apache.camel.processor.CamelInternalProcessor.proces= s(CamelInternalProcessor.java:191) [camel-core-2.12.3.jar:2.12.3] at org.apache.camel.processor.Pipeline.process(Pipeline.jav= a:118) [camel-core-2.12.3.jar:2.12.3] at org.apache.camel.processor.Pipeline.process(Pipeline.jav= a:80) [camel-core-2.12.3.jar:2.12.3] at org.apache.camel.processor.CamelInternalProcessor.proces= s(CamelInternalProcessor.java:191) [camel-core-2.12.3.jar:2.12.3] at org.apache.camel.util.AsyncProcessorHelper.process(Async= ProcessorHelper.java:105) [camel-core-2.12.3.jar:2.12.3] at org.apache.camel.processor.DelegateAsyncProcessor.proces= s(DelegateAsyncProcessor.java:87) [camel-core-2.12.3.jar:2.12.3] at org.apache.camel.component.spring.ws.SpringWebserviceCon= sumer.invoke(SpringWebserviceConsumer.java:59) [camel-spring-ws-2.12.3.jar:= 2.12.3] at org.springframework.ws.server.endpoint.adapter.MessageEn= dpointAdapter.invoke(MessageEndpointAdapter.java:41) [spring-ws-core-2.1.4.= RELEASE.jar:na] at org.springframework.ws.server.MessageDispatcher.dispatch= (MessageDispatcher.java:233) [spring-ws-core-2.1.4.RELEASE.jar:na] at org.springframework.ws.server.MessageDispatcher.receive(= MessageDispatcher.java:173) [spring-ws-core-2.1.4.RELEASE.jar:na] at org.springframework.ws.transport.support.WebServiceMessa= geReceiverObjectSupport.handleConnection(WebServiceMessageReceiverObjectSup= port.java:88) [spring-ws-core-2.1.4.RELEASE.jar:na] at org.springframework.ws.transport.http.WebServiceMessageR= eceiverHandlerAdapter.handle(WebServiceMessageReceiverHandlerAdapter.java:5= 9) [spring-ws-core-2.1.4.RELEASE.jar:na] at org.springframework.ws.transport.http.MessageDispatcherS= ervlet.doService(MessageDispatcherServlet.java:292) [spring-ws-core-2.1.4.R= ELEASE.jar:na] at org.springframework.web.servlet.FrameworkServlet.process= Request(FrameworkServlet.java:961) [spring-webmvc-4.0.2.RELEASE.jar:4.0.2.R= ELEASE] at org.springframework.web.servlet.FrameworkServlet.doPost(= FrameworkServlet.java:863) [spring-webmvc-4.0.2.RELEASE.jar:4.0.2.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:= 647) [servlet-api.jar:na] at org.springframework.web.servlet.FrameworkServlet.service= (FrameworkServlet.java:837) [spring-webmvc-4.0.2.RELEASE.jar:4.0.2.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:= 728) [servlet-api.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internal= DoFilter(ApplicationFilterChain.java:305) [catalina.jar:7.0.50] at org.apache.catalina.core.ApplicationFilterChain.doFilter= (ApplicationFilterChain.java:210) [catalina.jar:7.0.50] at net.bull.javamelody.MonitoringFilter.doFilter(Monitoring= Filter.java:202) [javamelody-core-1.51.0.jar:1.51.0] at net.bull.javamelody.MonitoringFilter.doFilter(Monitoring= Filter.java:180) [javamelody-core-1.51.0.jar:1.51.0] at org.apache.catalina.core.ApplicationFilterChain.internal= DoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.50] at org.apache.catalina.core.ApplicationFilterChain.doFilter= (ApplicationFilterChain.java:210) [catalina.jar:7.0.50] at com.github.ziplet.filter.compression.CompressingFilter.d= oFilter(CompressingFilter.java:300) [ziplet-2.0.0.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internal= DoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.50] at org.apache.catalina.core.ApplicationFilterChain.doFilter= (ApplicationFilterChain.java:210) [catalina.jar:7.0.50] at org.apache.catalina.core.StandardWrapperValve.invoke(Sta= ndardWrapperValve.java:222) [catalina.jar:7.0.50] at org.apache.catalina.core.StandardContextValve.invoke(Sta= ndardContextValve.java:123) [catalina.jar:7.0.50] at org.apache.catalina.authenticator.AuthenticatorBase.invo= ke(AuthenticatorBase.java:502) [catalina.jar:7.0.50] at org.apache.catalina.core.StandardHostValve.invoke(Standa= rdHostValve.java:171) [catalina.jar:7.0.50] at org.apache.catalina.valves.ErrorReportValve.invoke(Error= ReportValve.java:100) [catalina.jar:7.0.50] at org.apache.catalina.valves.AccessLogValve.invoke(AccessL= ogValve.java:953) [catalina.jar:7.0.50] at org.apache.catalina.core.StandardEngineValve.invoke(Stan= dardEngineValve.java:118) [catalina.jar:7.0.50] at org.apache.catalina.connector.CoyoteAdapter.service(Coyo= teAdapter.java:409) [catalina.jar:7.0.50] at org.apache.coyote.http11.AbstractHttp11Processor.process= (AbstractHttp11Processor.java:1044) [tomcat-coyote.jar:7.0.50] at org.apache.coyote.AbstractProtocol$AbstractConnectionHan= dler.process(AbstractProtocol.java:607) [tomcat-coyote.jar:7.0.50] at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.r= un(JIoEndpoint.java:313) [tomcat-coyote.jar:7.0.50] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(T= hreadPoolExecutor.java:886) [na:1.6.0_31] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Threa= dPoolExecutor.java:908) [na:1.6.0_31] at java.lang.Thread.run(Thread.java:662) [na:1.6.0_31] Caused by: org.apache.camel.TypeConversionException: Error during type conv= ersion from type: org.springframework.util.xml.StaxSource to the required t= ype: java.io.InputStream with value org.springframework.util.xml.StaxSource= @7fe0f13a due java.lang.NullPointerException at org.apache.camel.impl.converter.BaseTypeConverterRegistr= y.mandatoryConvertTo(BaseTypeConverterRegistry.java:173) ~[camel-core-2.12.= 3.jar:2.12.3] at org.apache.camel.impl.MessageSupport.getMandatoryBody(Me= ssageSupport.java:99) ~[camel-core-2.12.3.jar:2.12.3] ... 51 common frames omitted Caused by: org.apache.camel.RuntimeCamelException: java.lang.NullPointerExc= eption at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelExcep= tion(ObjectHelper.java:1363) ~[camel-core-2.12.3.jar:2.12.3] at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHe= lper.java:1005) ~[camel-core-2.12.3.jar:2.12.3] at org.apache.camel.impl.converter.InstanceMethodTypeConver= ter.convertTo(InstanceMethodTypeConverter.java:78) ~[camel-core-2.12.3.jar:= 2.12.3] at org.apache.camel.impl.converter.BaseTypeConverterRegistr= y.doConvertTo(BaseTypeConverterRegistry.java:275) ~[camel-core-2.12.3.jar:2= .12.3] at org.apache.camel.impl.converter.BaseTypeConverterRegistr= y.mandatoryConvertTo(BaseTypeConverterRegistry.java:164) ~[camel-core-2.12.= 3.jar:2.12.3] ... 52 common frames omitted Caused by: java.lang.NullPointerException: null at org.apache.axiom.om.impl.llom.SwitchingWrapper.next(Swit= chingWrapper.java:965) ~[axiom-impl-1.2.14.jar:1.2.14] at javax.xml.stream.util.StreamReaderDelegate.next(StreamRe= aderDelegate.java:60) ~[na:1.6.0_31] at org.springframework.util.xml.StaxStreamXMLReader.parseIn= ternal(StaxStreamXMLReader.java:123) ~[spring-core-4.0.2.RELEASE.jar:4.0.2.= RELEASE] at org.springframework.util.xml.AbstractStaxXMLReader.parse= (AbstractStaxXMLReader.java:155) ~[spring-core-4.0.2.RELEASE.jar:4.0.2.RELE= ASE] at org.springframework.util.xml.AbstractStaxXMLReader.parse= (AbstractStaxXMLReader.java:139) ~[spring-core-4.0.2.RELEASE.jar:4.0.2.RELE= ASE] at org.apache.xalan.transformer.TransformerIdentityImpl.tra= nsform(TransformerIdentityImpl.java:485) ~[xalan-2.7.1.jar:na] at com.nucleus.integration.core.camel.converter.XmlConverte= r.sourceToInputStream(XmlConverter.java:53) ~[neutrino-integration-core-1.4= 1-SNAPSHOT.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Meth= od) ~[na:1.6.0_31] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethod= AccessorImpl.java:39) ~[na:1.6.0_31] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegati= ngMethodAccessorImpl.java:25) ~[na:1.6.0_31] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.= 6.0_31] at org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHe= lper.java:1001) ~[camel-core-2.12.3.jar:2.12.3] ... 55 common frames omitted Your help will be highly appreciated. Rgrds,Rohit ________________________________ This e-mail, along with any files transmitted with it, is confidential or p= roprietary or legally privileged and for the sole use of the intended recip= ient(s). If you happen to receive this e-mail and you are not the intended = recipient, please notify us immediately by reply e-mail, and delete this e-= mail message, including any file(s), from your system. Any unauthorised rev= iew, use, disclosure or distribution is prohibited and may be unlawful. Fur= ther, while we scan all emails for known virus, we cannot guarantee that an= y email is virus-free. Before opening any attachment please check them for = viruses and defects. Unless agreed otherwise, the Company (Nucleus Software= Exports Limited or its subsidiaries or Group Companies) shall not be liabl= e towards any unauthorized communication or its consequences. --_000_49D73E81F0141F4D8994E6329905EBCE1A4381NUCNOMAILnucleuss_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

I am using axiom-api-1.2.14.jar and axiom-impl-1.2.1= 4.jar.

My SOAP response returns List<String> whose si= ze is 150. Each string having size of 1.8 mb(avg).

When such huge data returns to axiom stax parsing, I= t suddenly increase the the heap memory by 600 mb which continued to reatai= n and not gets relaesed.

When I analyse this in visualvm I found that OMTextI= mpl class is taking this memory alone.

For the next hit this size increase to 1200mb and ag= ain this memory does not get freed.

 

For next 2-3 hits , system goes to OutOfMemory.=

 

I am using below configuration:

#messageFactory (axiom) configuration

messageFactory.payloadCaching=3Dtrue

 

 

When I use  messageFactory.payloadCaching=3D= false        (I don’t know whether this will solve the problem or not)

I face below exception:

23:21:19.467  = ; [http-bio-8080-exec-1] ERROR o.a.c.s.spi.TransactionErrorHandler - Failed= delivery for (MessageId: ID-NII414LEDF0240-62759-1448560261807-0-1 on Exch= angeId: ID-NII414LEDF0240-62759-1448560261807-0-2). Exhausted after delivery attempt: 2 caught: org.apache.camel.InvalidPayloa= dException: No body available of type: java.io.InputStream but has value: o= rg.springframework.util.xml.StaxSource@7fe0f13a of type: org.springframewor= k.util.xml.StaxSource on: SpringWebserviceMessage[AxiomSoapMessage]. Caused by: Error during type conversion from type: org.springframework.uti= l.xml.StaxSource to the required type: java.io.InputStream with value org.s= pringframework.util.xml.StaxSource@7fe0f13a due java.lang.NullPointerExcept= ion. Exchange[SpringWebserviceMessage[AxiomSoapMessage]]. Caused by: [org.apache.camel.TypeConversionException - Error during type c= onversion from type: org.springframework.util.xml.StaxSource to the require= d type: java.io.InputStream with value org.springframework.util.xml.StaxSou= rce@7fe0f13a due java.lang.NullPointerException]

 

Message History

-----------------------= ---------------------------------------------------------------------------= -------------------------------------

RouteId  &nbs= p;           ProcessorId&= nbsp;         Processor  =             &nb= sp;            =             &nb= sp;            =             &nb= sp;       Elapsed (ms)<= /p>

[searchGlobalCollat] [s= earchGlobalCollat] [         &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;      ] [      1029]

[searchGlobalCollat] [u= nmarshal2        ] [unmarshal[ref:jaxb]&= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;        ] [    =   1029]

 

Exchange

-----------------------= ---------------------------------------------------------------------------= -------------------------------------

Exchange[

    = ;            Id = ;            &n= bsp;    ID-NII414LEDF0240-62759-1448560261807-0-2=

    = ;            Exchang= ePattern     InOptionalOut

    = ;            Headers=              {b= readcrumbId=3DID-NII414LEDF0240-62759-1448560261807-0-1, CamelRedelivered= =3Dtrue, CamelRedeliveryCounter=3D1, CamelRedeliveryMaxCounter=3D1, CamelSp= ringWebserviceSoapHeader=3Dorg.springframework.util.xml.StaxSource@1143c2b6= }

    = ;            BodyTyp= e            org.spr= ingframework.util.xml.StaxSource

    = ;            Body&nb= sp;            =    [Body is instance of java.xml.transform.Source]

]=

 

Stacktrace

-----------------------= ---------------------------------------------------------------------------= -------------------------------------

org.apache.camel.Invali= dPayloadException: No body available of type: java.io.InputStream but has v= alue: org.springframework.util.xml.StaxSource@7fe0f13a of type: org.springf= ramework.util.xml.StaxSource on: SpringWebserviceMessage[AxiomSoapMessage]. Caused by: Error during type conversion from type: org.springframework.uti= l.xml.StaxSource to the required type: java.io.InputStream with value org.s= pringframework.util.xml.StaxSource@7fe0f13a due java.lang.NullPointerExcept= ion. Exchange[SpringWebserviceMessage[AxiomSoapMessage]]. Caused by: [org.apache.camel.TypeConversionException - Error during type c= onversion from type: org.springframework.util.xml.StaxSource to the require= d type: java.io.InputStream with value org.springframework.util.xml.StaxSou= rce@7fe0f13a due java.lang.NullPointerException]

    = ;            at org.= apache.camel.impl.MessageSupport.getMandatoryBody(MessageSupport.java:101) = ~[camel-core-2.12.3.jar:2.12.3]

    = ;            at org.= apache.camel.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:5= 9) ~[camel-core-2.12.3.jar:2.12.3]

    = ;            at org.= apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandle= r.java:398) ~[camel-core-2.12.3.jar:2.12.3]

    = ;            at org.= apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(Trans= actionErrorHandler.java:218) [camel-spring-2.12.3.jar:2.12.3]

    = ;            at org.= apache.camel.spring.spi.TransactionErrorHandler$1.doInTransactionWithoutRes= ult(TransactionErrorHandler.java:181) [camel-spring-2.12.3.jar:2.12.3]=

    = ;            at org.= springframework.transaction.support.TransactionCallbackWithoutResult.doInTr= ansaction(TransactionCallbackWithoutResult.java:34) [spring-tx-4.0.2.RELEAS= E.jar:4.0.2.RELEASE]

    = ;            at org.= springframework.transaction.support.TransactionTemplate.execute(Transaction= Template.java:133) [spring-tx-4.0.2.RELEASE.jar:4.0.2.RELEASE]

    = ;            at org.= apache.camel.spring.spi.TransactionErrorHandler.doInTransactionTemplate(Tra= nsactionErrorHandler.java:174) [camel-spring-2.12.3.jar:2.12.3]<= /span>

    = ;            at org.= apache.camel.spring.spi.TransactionErrorHandler.processInTransaction(Transa= ctionErrorHandler.java:134) [camel-spring-2.12.3.jar:2.12.3]

    = ;            at org.= apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHan= dler.java:103) [camel-spring-2.12.3.jar:2.12.3]

    = ;            at org.= apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHan= dler.java:112) [camel-spring-2.12.3.jar:2.12.3]

    = ;            at org.= apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcesso= r.java:191) [camel-core-2.12.3.jar:2.12.3]

    = ;            at org.= apache.camel.processor.Pipeline.process(Pipeline.java:118) [camel-core-2.12= .3.jar:2.12.3]

    = ;            at org.= apache.camel.processor.Pipeline.process(Pipeline.java:80) [camel-core-2.12.= 3.jar:2.12.3]

    = ;            at org.= apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcesso= r.java:191) [camel-core-2.12.3.jar:2.12.3]

    = ;            at org.= apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:10= 5) [camel-core-2.12.3.jar:2.12.3]

    = ;            at org.= apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcesso= r.java:87) [camel-core-2.12.3.jar:2.12.3]

    = ;            at org.= apache.camel.component.spring.ws.SpringWebserviceConsumer.invoke(SpringWebs= erviceConsumer.java:59) [camel-spring-ws-2.12.3.jar:2.12.3]

    = ;            at org.= springframework.ws.server.endpoint.adapter.MessageEndpointAdapter.invoke(Me= ssageEndpointAdapter.java:41) [spring-ws-core-2.1.4.RELEASE.jar:na]

    = ;            at org.= springframework.ws.server.MessageDispatcher.dispatch(MessageDispatcher.java= :233) [spring-ws-core-2.1.4.RELEASE.jar:na]

    = ;            at org.= springframework.ws.server.MessageDispatcher.receive(MessageDispatcher.java:= 173) [spring-ws-core-2.1.4.RELEASE.jar:na]

    = ;            at org.= springframework.ws.transport.support.WebServiceMessageReceiverObjectSupport= .handleConnection(WebServiceMessageReceiverObjectSupport.java:88) [spring-w= s-core-2.1.4.RELEASE.jar:na]

    = ;            at org.= springframework.ws.transport.http.WebServiceMessageReceiverHandlerAdapter.h= andle(WebServiceMessageReceiverHandlerAdapter.java:59) [spring-ws-core-2.1.= 4.RELEASE.jar:na]

    = ;            at org.= springframework.ws.transport.http.MessageDispatcherServlet.doService(Messag= eDispatcherServlet.java:292) [spring-ws-core-2.1.4.RELEASE.jar:na]

    = ;            at org.= springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServle= t.java:961) [spring-webmvc-4.0.2.RELEASE.jar:4.0.2.RELEASE]

    = ;            at org.= springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:8= 63) [spring-webmvc-4.0.2.RELEASE.jar:4.0.2.RELEASE]

    = ;            at java= x.servlet.http.HttpServlet.service(HttpServlet.java:647) [servlet-api.jar:n= a]

    = ;            at org.= springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:= 837) [spring-webmvc-4.0.2.RELEASE.jar:4.0.2.RELEASE]<= /p>

    = ;            at java= x.servlet.http.HttpServlet.service(HttpServlet.java:728) [servlet-api.jar:n= a]

    = ;            at org.= apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil= terChain.java:305) [catalina.jar:7.0.50]

    = ;            at org.= apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain= .java:210) [catalina.jar:7.0.50]

    = ;            at net.= bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:202) [javam= elody-core-1.51.0.jar:1.51.0]

    = ;            at net.= bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:180) [javam= elody-core-1.51.0.jar:1.51.0]

    = ;            at org.= apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil= terChain.java:243) [catalina.jar:7.0.50]

    = ;            at org.= apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain= .java:210) [catalina.jar:7.0.50]

    = ;            at com.= github.ziplet.filter.compression.CompressingFilter.doFilter(CompressingFilt= er.java:300) [ziplet-2.0.0.jar:na]

    = ;            at org.= apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil= terChain.java:243) [catalina.jar:7.0.50]

    = ;            at org.= apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain= .java:210) [catalina.jar:7.0.50]

    = ;            at org.= apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:= 222) [catalina.jar:7.0.50]

    = ;            at org.= apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:= 123) [catalina.jar:7.0.50]

    = ;            at org.= apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.ja= va:502) [catalina.jar:7.0.50]

    = ;            at org.= apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) [= catalina.jar:7.0.50]

    = ;            at org.= apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) [= catalina.jar:7.0.50]

    = ;            at org.= apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) [cata= lina.jar:7.0.50]

    = ;            at org.= apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:11= 8) [catalina.jar:7.0.50]

    = ;            at org.= apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:409) [ca= talina.jar:7.0.50]

    = ;            at org.= apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processo= r.java:1044) [tomcat-coyote.jar:7.0.50]

    = ;            at org.= apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractPr= otocol.java:607) [tomcat-coyote.jar:7.0.50]

    = ;            at org.= apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313= ) [tomcat-coyote.jar:7.0.50]

    = ;            at java= .util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:= 886) [na:1.6.0_31]

    = ;            at java= .util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)= [na:1.6.0_31]

    = ;            at java= .lang.Thread.run(Thread.java:662) [na:1.6.0_31]

Caused by: org.apache.c= amel.TypeConversionException: Error during type conversion from type: org.s= pringframework.util.xml.StaxSource to the required type: java.io.InputStrea= m with value org.springframework.util.xml.StaxSource@7fe0f13a due java.lang.NullPointerException

    = ;            at org.= apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(Ba= seTypeConverterRegistry.java:173) ~[camel-core-2.12.3.jar:2.12.3]

    = ;            at org.= apache.camel.impl.MessageSupport.getMandatoryBody(MessageSupport.java:99) ~= [camel-core-2.12.3.jar:2.12.3]

    = ;            ... 51 = common frames omitted

Caused by: org.apache.c= amel.RuntimeCamelException: java.lang.NullPointerException

    = ;            at org.= apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:= 1363) ~[camel-core-2.12.3.jar:2.12.3]

    = ;            at org.= apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:1005) ~[camel= -core-2.12.3.jar:2.12.3]

    = ;            at org.= apache.camel.impl.converter.InstanceMethodTypeConverter.convertTo(InstanceM= ethodTypeConverter.java:78) ~[camel-core-2.12.3.jar:2.12.3]

    = ;            at org.= apache.camel.impl.converter.BaseTypeConverterRegistry.doConvertTo(BaseTypeC= onverterRegistry.java:275) ~[camel-core-2.12.3.jar:2.12.3]

    = ;            at org.= apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(Ba= seTypeConverterRegistry.java:164) ~[camel-core-2.12.3.jar:2.12.3]

    = ;            ... 52 = common frames omitted

Caused by: java.lang.Nu= llPointerException: null

    = ;            at org.= apache.axiom.om.impl.llom.SwitchingWrapper.next(SwitchingWrapper.java:965) = ~[axiom-impl-1.2.14.jar:1.2.14]

    = ;            at java= x.xml.stream.util.StreamReaderDelegate.next(StreamReaderDelegate.java:60) ~= [na:1.6.0_31]

    = ;            at org.= springframework.util.xml.StaxStreamXMLReader.parseInternal(StaxStreamXMLRea= der.java:123) ~[spring-core-4.0.2.RELEASE.jar:4.0.2.RELEASE]

    = ;            at org.= springframework.util.xml.AbstractStaxXMLReader.parse(AbstractStaxXMLReader.= java:155) ~[spring-core-4.0.2.RELEASE.jar:4.0.2.RELEASE]<= /i>

    = ;            at org.= springframework.util.xml.AbstractStaxXMLReader.parse(AbstractStaxXMLReader.= java:139) ~[spring-core-4.0.2.RELEASE.jar:4.0.2.RELEASE]<= /i>

    = ;            at org.= apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdent= ityImpl.java:485) ~[xalan-2.7.1.jar:na]

    = ;            at com.= nucleus.integration.core.camel.converter.XmlConverter.sourceToInputStream(X= mlConverter.java:53) ~[neutrino-integration-core-1.41-SNAPSHOT.jar:na]=

    = ;            at sun.= reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_31]=

    = ;            at sun.= reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~= [na:1.6.0_31]

    = ;            at sun.= reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja= va:25) ~[na:1.6.0_31]

    = ;            at java= .lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_31]

    = ;            at org.= apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:1001) ~[camel= -core-2.12.3.jar:2.12.3]

    = ;            ... 55 = common frames omitted

 

Your help will be highly appreciated.

 

Rgrds,Rohit



This e-mail, along with any= files transmitted with it, is confidential or proprietary or legally privi= leged and for the sole use of the intended recipient(s). If you happen to r= eceive this e-mail and you are not the intended recipient, please notify us immediately by reply e-mail, and dele= te this e-mail message, including any file(s), from your system. Any unauth= orised review, use, disclosure or distribution is prohibited and may be unl= awful. Further, while we scan all emails for known virus, we cannot guarantee that any email is virus-free. = Before opening any attachment please check them for viruses and defects. Un= less agreed otherwise, the Company (Nucleus Software Exports Limited or its= subsidiaries or Group Companies) shall not be liable towards any unauthorized communication or its conseque= nces.
--_000_49D73E81F0141F4D8994E6329905EBCE1A4381NUCNOMAILnucleuss_--