deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Kildén <karl.kil...@gmail.com>
Subject Re: Problem with JSF module and exceptions
Date Sun, 23 Mar 2014 14:08:03 GMT
Yes it was null,

Talked to Thomas over hangout, he gave me some code to test locally, that
worked. I will create a ticket with all information later because I must do
something in between.

Thanks for the help


On 23 March 2014 14:35, Thomas Andraschko <andraschko.thomas@gmail.com>wrote:

> Hi,
>
> can't see any attached file.
> Is rootCause null?
>
>
>
> 2014-03-23 14:31 GMT+01:00 Karl Kildén <karl.kilden@gmail.com>:
>
> > Hi guys,
> >
> >
> > throwable = javax.faces.FacesException (see attached screenshot)
> >
> > Tomcat log outputs this:
> > mar 23, 2014 2:25:08 EM org.apache.catalina.core.ApplicationContext log
> >  at
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
> > at
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
> >  at
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > at
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> >  at
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
> > at
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
> >  at
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
> > at
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> >  at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> > at java.lang.Thread.run(Thread.java:722)
> >
> >
> > After I press F5 tomcat log outputs this:
> > mar 23, 2014 2:28:22 EM org.apache.catalina.core.StandardWrapperValve
> > invoke
> > SEVERE: Servlet.service() for servlet [Faces Servlet] in context with
> path
> > [] threw exception
> > java.lang.IllegalArgumentException: exception must not be null
> > at
> >
> org.apache.deltaspike.core.api.exception.control.event.ExceptionStackEvent.<init>(ExceptionStackEvent.java:60)
> >  at
> >
> org.apache.deltaspike.core.impl.exception.control.ExceptionHandlerBroadcaster.executeHandlers(ExceptionHandlerBroadcaster.java:75)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >  at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> > at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >  at java.lang.reflect.Method.invoke(Method.java:601)
> > at
> >
> org.apache.webbeans.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:266)
> >  at
> >
> org.apache.webbeans.event.NotificationManager.fireEvent(NotificationManager.java:481)
> > at
> >
> org.apache.webbeans.container.BeanManagerImpl.fireEvent(BeanManagerImpl.java:446)
> >  at
> >
> org.apache.webbeans.container.BeanManagerImpl.fireEvent(BeanManagerImpl.java:426)
> > at
> >
> org.apache.webbeans.container.InjectableBeanManager.fireEvent(InjectableBeanManager.java:105)
> >  at
> >
> org.apache.deltaspike.jsf.impl.exception.DeltaSpikeExceptionHandler.handle(DeltaSpikeExceptionHandler.java:86)
> > at
> >
> org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:217)
> >  at
> >
> org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:143)
> > at
> >
> org.apache.deltaspike.jsf.impl.listener.request.DeltaSpikeLifecycleWrapper.execute(DeltaSpikeLifecycleWrapper.java:89)
> >  at
> > javax.faces.lifecycle.LifecycleWrapper.execute(LifecycleWrapper.java:46)
> > at javax.faces.webapp.FacesServlet.service(FacesServlet.java:196)
> >  at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> >  at
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
> > at
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> >  at
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
> > at
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> >  at
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
> > at
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
> >  at
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > at
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> >  at
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
> > at
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
> >  at
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
> > at
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> >  at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> > at java.lang.Thread.run(Thread.java:722)
> >
> >
> >
> >
> > On 23 March 2014 14:11, John D. Ament <john.d.ament@gmail.com> wrote:
> >
> >> Also, if there really is more info in the tomcat logs, sending those
> >> over would help.
> >>
> >> Looks like some integration with DS Exception is a miss in the JSF
> Module.
> >>
> >> On Sun, Mar 23, 2014 at 9:10 AM, Thomas Andraschko
> >> <andraschko.thomas@gmail.com> wrote:
> >> > Hi,
> >> >
> >> > could you please debug in
> >> > DeltaSpikeExceptionHandler on line 84 if rootCause is null and whats
> the
> >> > type of throwable?
> >> >
> >> > Regards,
> >> > Thomas
> >>
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message