No.the request is huge but the resposne is just confirmation number.
I get the resposne, log it once and then I get Null pointer Exception.

This happens in a composite.
I do not know how to provide a test case.



Thanks,
Laxmi

On Wed, Oct 28, 2009 at 3:36 PM, Daniel Kulp <[email protected]> wrote:

>
>
> Without a reproducible test case, I'm not sure if there is anything I'm
> going
> to be able to do.
>
> One thought:  is the message coming back a fault?   (hard to imagine a
> fault
> that big, but I suppose it's possible)
>
> Dan
>
>
> On Wed October 28 2009 3:01:53 pm deepika vadapalli wrote:
> > Dan,
> >
> > I tried with latest version of CXF 2.1.7.
> > Still I have the problem. But this time atleast its not coming into my
> > interceptor code twice.
> > But I get some null pointer exception. Please help me out.
> > See the stack trace below:
> >
> > WARNING: Interceptor has thrown exception, unwinding now
> > *
> >
> > java.lang.NullPointerException
> > *
> >
> > at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(*
> > HTTPConduit.java:1935*)
> >
> > at org.apache.cxf.io.CacheAndWriteOutputStream.postClose(*
> > CacheAndWriteOutputStream.java:47*)
> >
> > at
> >
>  org.apache.cxf.io.CachedOutputStream.close(*CachedOutputStream.java:188*)
> >
> > at
> >
>  org.apache.cxf.transport.AbstractConduit.close(*AbstractConduit.java:66*)
> >
> > at
> org.apache.cxf.transport.http.HTTPConduit.close(*HTTPConduit.java:627*)
> >
> > at
> >
> org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInte
> > rceptor.handleMessage( *MessageSenderInterceptor.java:62*)
> >
> > at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(*
> > PhaseInterceptorChain.java:236*)
> >
> > at org.apache.cxf.endpoint.ClientImpl.invoke(*ClientImpl.java:478*)
> >
> > at org.apache.cxf.endpoint.ClientImpl.invoke(*ClientImpl.java:308*)
> >
> > at org.apache.cxf.endpoint.ClientImpl.invoke(*ClientImpl.java:260*)
> >
> > at org.apache.cxf.frontend.ClientProxy.invokeSync(*ClientProxy.java:73*)
> >
> > at
> >
>  org.apache.cxf.jaxws.JaxWsClientProxy.invoke(*JaxWsClientProxy.java:127*)
> >
> > at $Proxy129.book(Unknown Source)
> >
> > at com.wdw.se.reservation.service.SEShowDiningService.book(*
> > SEShowDiningService.java:118*)
> >
> > at
> >
>  com.wdw.se.reservation.controller.ReservationController.bookReservation(*
> >  ReservationController.java:905*)
> >
> > at com.wdw.se.utility.BookUtility.book(*BookUtility.java:658*)
> >
> > at com.wdw.se.shop.viewobject.ShoppingCart.book(*ShoppingCart.java:669*)
> >
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(*Native Method*)
> >
> > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> >
> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> >
> > at java.lang.reflect.Method.invoke(Unknown Source)
> >
> > at org.apache.el.parser.AstValue.invoke(*AstValue.java:131*)
> >
> > at
> >
>  org.apache.el.MethodExpressionImpl.invoke(*MethodExpressionImpl.java:276*
> >  )
> >
> > at com.sun.facelets.el.TagMethodExpression.invoke(*
> > TagMethodExpression.java:68*)
> >
> > at com.sun.facelets.el.LegacyMethodBinding.invoke(*
> > LegacyMethodBinding.java:69*)
> >
> > at com.sun.faces.application.ActionListenerImpl.processAction(*
> > ActionListenerImpl.java:91*)
> >
> > at javax.faces.component.UICommand.broadcast(*UICommand.java:383*)
> >
> > at org.ajax4jsf.component.AjaxActionComponent.broadcast(*
> > AjaxActionComponent.java:55*)
> >
> > at
> >
>  org.ajax4jsf.component.AjaxViewRoot.processEvents(*AjaxViewRoot.java:316*
> >  )
> >
> > at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(*
> > AjaxViewRoot.java:291*)
> >
> > at
> >
>  org.ajax4jsf.component.AjaxViewRoot.processPhase(*AjaxViewRoot.java:248*)
> >
> > at org.ajax4jsf.component.AjaxViewRoot.processApplication(*
> > AjaxViewRoot.java:461*)
> >
> > at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(*
> > InvokeApplicationPhase.java:97*)
> >
> > at com.sun.faces.lifecycle.LifecycleImpl.phase(*LifecycleImpl.java:251*)
> >
> > at
> com.sun.faces.lifecycle.LifecycleImpl.execute(*LifecycleImpl.java:117*)
> >
> > at javax.faces.webapp.FacesServlet.service(*FacesServlet.java:244*)
> >
> > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(*
> > ApplicationFilterChain.java:290*)
> >
> > at org.apache.catalina.core.ApplicationFilterChain.doFilter(*
> > ApplicationFilterChain.java:206*)
> >
> > at com.disney.corp.keystone.web.filter.LoginFilter.doFilter(Unknown
> Source)
> >
> > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(*
> > ApplicationFilterChain.java:235*)
> >
> > at org.apache.catalina.core.ApplicationFilterChain.doFilter(*
> > ApplicationFilterChain.java:206*)
> >
> > at
> >
> com.disney.corp.keystone.web.filter.SiteMinderLoginFilter.doFilter(Unknown
> > Source)
> >
> > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(*
> > ApplicationFilterChain.java:235*)
> >
> > at org.apache.catalina.core.ApplicationFilterChain.doFilter(*
> > ApplicationFilterChain.java:206*)
> >
> > at
> org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(*BaseXMLFilter.java:147*)
> >
> > at org.ajax4jsf.webapp.BaseFilter.handleRequest(*BaseFilter.java:256*)
> >
> > at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(*
> > BaseFilter.java:362*)
> >
> > at org.ajax4jsf.webapp.BaseFilter.doFilter(*BaseFilter.java:488*)
> >
> > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(*
> > ApplicationFilterChain.java:235*)
> >
> > at org.apache.catalina.core.ApplicationFilterChain.doFilter(*
> > ApplicationFilterChain.java:206*)
> >
> > at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(*
> > ReplyHeaderFilter.java:96*)
> >
> > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(*
> > ApplicationFilterChain.java:235*)
> >
> > at org.apache.catalina.core.ApplicationFilterChain.doFilter(*
> > ApplicationFilterChain.java:206*)
> >
> > at org.apache.catalina.core.StandardWrapperValve.invoke(*
> > StandardWrapperValve.java:230*)
> >
> > at org.apache.catalina.core.StandardContextValve.invoke(*
> > StandardContextValve.java:175*)
> >
> > at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(*
> > SecurityAssociationValve.java:179*)
> >
> > at org.jboss.web.tomcat.security.JaccContextValve.invoke(*
> > JaccContextValve.java:84*)
> >
> > at org.apache.catalina.core.StandardHostValve.invoke(*
> > StandardHostValve.java:127*)
> >
> > at org.apache.catalina.valves.ErrorReportValve.invoke(*
> > ErrorReportValve.java:102*)
> >
> > at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(*
> > CachedConnectionValve.java:157*)
> >
> > at org.apache.catalina.core.StandardEngineValve.invoke(*
> > StandardEngineValve.java:109*)
> >
> > at org.apache.catalina.connector.CoyoteAdapter.service(*
> > CoyoteAdapter.java:262*)
> >
> > at org.apache.coyote.http11.Http11Processor.process(*
> > Http11Processor.java:844*)
> >
> > at
> >
>  org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(*
> >  Http11Protocol.java:583*)
> >
> > at
> >
>  org.apache.tomcat.util.net.JIoEndpoint$Worker.run(*JIoEndpoint.java:446*)
> >
> > at java.lang.Thread.run(Unknown Source)
> > Thanks,
> > Deepika
> >
> > On Wed, Oct 28, 2009 at 12:29 PM, Daniel Kulp <[email protected]> wrote:
> > > I added a testcase to the jira that works fine.   Thus, I cannot
> > > reproduce this.  We'll need a full testcase.
> > >
> > > Dan
> > >
> > > On Wed October 28 2009 10:14:51 am deepika vadapalli wrote:
> > > > Hello,
> > > >
> > > > I have my own SELoggingInterceptor. But it is same as
> > >
> > > LoggingInInterceptor
> > >
> > > > code with no difference.
> > > >
> > > > I see that when message is larger than 64kb i.e. when
> > > > CachedOutputStream write to temp file, this interceptor is called
> > > > twice.
> > > > First time, I process the message and second time I get Stream is
> > > > closed Exception when I try to copy Message,content (InputStream) to
> > > > CachedOutputStream.
> > > >
> > > > I tried printing the interceptor chain and I see my interceptor only
> > >
> > > once.
> > >
> > > > It happens only with larger messages with CXF 2.1.5.
> > > >
> > > >
> > > > Please help me out.
> > > >
> > > >
> > > > Thanks,
> > > > Deepika
> > >
> > >  --
> > > Daniel Kulp
> > > [email protected]
> > > http://www.dankulp.com/blog
> >
>
> --
>  Daniel Kulp
> [email protected]
> http://www.dankulp.com/blog
>

Reply via email to