Still no success here. Adapted the shale-usecases example to test this page - but still no success.
When i hit the submit button, the division by zero exception occurs.
But later in the log there are these exceptions:
ERROR http-8080-Processor23
org.apache.myfaces.lifecycle.PhaseListenerManager - Exception in
PhaseListener INVOKE_APPLICATION(5) afterPhase
java.lang.NullPointerException
at
net.sf.facestrace.utils.TraceUtils.getTraceData(TraceUtils.java:36)
at
net.sf.facestrace.phase.listener.InvokeApplicationPhaseListener.afterPhase(InvokeApplicationPhaseListener.java:33)
...
ERROR http-8080-Processor23
org.apache.myfaces.lifecycle.PhaseListenerManager - Exception in
PhaseListener RENDER_RESPONSE(6) beforePhase.
java.lang.NullPointerException
at
net.sf.facestrace.utils.TraceUtils.getTraceData(TraceUtils.java:36)
at
net.sf.facestrace.phase.listener.RenderResponsePhaseListener.beforePhase(RenderResponsePhaseListener.java:45)
at
org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:70)
...
ERROR http-8080-Processor23
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/frc-dev].[Faces
Servlet] - Servlet.service() for servlet Faces Servlet threw exception
java.lang.NullPointerException: context
at
javax.faces.component.UIComponentBase.getRenderer(UIComponentBase.java:738)
at
javax.faces.component.UIComponentBase.getRendersChildren(UIComponentBase.java:307)
...
ERROR http-8080-Processor23
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/frc-dev].[Faces
Servlet] - Servlet.service() for servlet Faces Servlet threw exception
java.lang.NullPointerException: context
at
javax.faces.component.UIComponentBase.getRenderer(UIComponentBase.java:738)
at
javax.faces.component.UIComponentBase.getRendersChildren(UIComponentBase.java:307)
Browser shows the 500 with the Null pointer exception - no navigation to
my error page happens.
I am using clay for both, the test page and the exception one.
Any hints?
Torsten
Am Mittwoch, den 18.10.2006, 08:39 +0200 schrieb Torsten Krah:
> Its hard to tell "whats not working".
>
> I've set the parameter and refer in a view to a property of a bean which
> does not exist to produce an exception causing a 500 code.
>
> My Page does not show up ... - hm i try to debug it, maybe i find
> something useful.
>
> Torsten
>
> Am Dienstag, den 17.10.2006, 22:02 -0700 schrieb Craig McClanahan:
> > On 10/17/06, Torsten Krah <[EMAIL PROTECTED]> wrote:
> > >
> > > https://issues.apache.org/struts/browse/SHALE-277
> > >
> > > Does anyone got it working - i mean the custom error page which is
> > > configured through the param mentioned there.
> > > If yes - any hints how to get it work or debug would be nice - because
> > > the resolution is "not a problem", but for me it is one ...
> >
> >
> > I closed the issue with that status because I could not reproduce the
> > situation you have found yourself in (which is a prerequisite for fixiing
> > such a problem :-). Plus, If you can tell me how to reproduce the
> > problems you see, please feel free to reopen the SHALE-277 issue and provide
> > the instructions for how to demonstrate that the current code is broken.
> > There is a use case in the shale-usecases app that works for me ... does it
> > work for you?
> >
> > Craig
> >
> >
> > kind regards
> > >
> > >
>
smime.p7s
Description: S/MIME cryptographic signature
