could it be this code that's not logging the whole exception?

        protected void logRuntimeException(RuntimeException e)
        {
                log.error(e.getMessage(), e);
        }


Jonathan Locke wrote:
> 
> 
> aha.  we might have two of these bugs, but i'm getting this trace now. 
> does anyone have any idea what line of code it is that is failing to print
> the stack trace for this NPE into the log?  it looks like an NPE is
> causing the processing step to restart over and over again.  would be a
> good fix to wicket to have it print that stack trace and not just the
> exception message.
> 
> [10:19:01] ERROR - RequestCycle? - java.lang.NullPointerException?
> [10:19:01] ERROR - RequestCycle? - java.lang.NullPointerException?
> [10:19:01] ERROR - RequestCycle? - java.lang.NullPointerException?
> [10:19:01] ERROR - RequestCycle? - java.lang.NullPointerException?
> [10:19:01] ERROR - RequestCycle? - java.lang.NullPointerException?
> [10:19:01] ERROR - RequestCycle? - java.lang.NullPointerException?
> [10:19:01] ERROR - RequestCycle? - java.lang.NullPointerException?
> [10:19:01] ERROR - RequestCycle? - java.lang.NullPointerException?
> [10:19:01] ERROR - RequestCycle? - java.lang.NullPointerException?
> [10:19:01] ERROR - RequestCycle? - java.lang.NullPointerException?
> [10:19:01] ERROR - RequestCycle? - java.lang.NullPointerException?
> [10:19:01] ERROR - RequestCycle? - java.lang.NullPointerException?
> [10:19:01] ERROR - RequestCycle? - java.lang.NullPointerException?
> [10:19:01] ERROR - [default] - Servlet.service() for servlet default threw
> exception java.lang.IllegalStateException?: Request processing executed
> 32767 steps, which means it is probably in an infinite loop.
> 
> at org.apache.wicket.RequestCycle?.steps(RequestCycle?.java:1187) at
> org.apache.wicket.RequestCycle?.request(RequestCycle?.java:510) at
> org.apache.wicket.protocol.http.WicketFilter?.doGet(WicketFilter?.java:251)
> at
> org.apache.wicket.protocol.http.WicketFilter?.doFilter(WicketFilter?.java:125)
> at
> org.apache.catalina.core.ApplicationFilterChain?.internalDoFilter(ApplicationFilterChain?.java:202)
> at
> org.apache.catalina.core.ApplicationFilterChain?.doFilter(ApplicationFilterChain?
> 
> 
> Al Maw wrote:
>> 
>> I've seen this happen if you run behind a mod_proxy and fail to set up
>> the ProxyPassReverse setting properly. Make sure you have
>> ProxyPassReverseCookiePath, too. See the wiki for details.
>> 
>> Al
>> 
>> Jonathan Locke wrote:
>>> 
>>> anyone have any ideas on what might cause this?  in particular can a
>>> user
>>> exception cause it or is it definitely a wicket bug?
>>> 
>>> java.lang.IllegalStateException?: Request processing executed 32767
>>> steps,
>>> which means it is probably in an infinite loop.
>>> 
>>> at org.apache.wicket.RequestCycle?.steps(RequestCycle?.java:1187) at
>>> org.apache.wicket.RequestCycle?.request(RequestCycle?.java:510) at
>>> org.apache.wicket.protocol.http.WicketFilter?.doGet(WicketFilter?.java:251)
>>> at
>>> org.apache.wicket.protocol.http.WicketFilter?.doFilter(WicketFilter?.java:125)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain?.internalDoFilter(ApplicationFilterChain?.java:202)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain?.doFilter(ApplicationFilterChain?.java:173)
>>> at
>>> org.apache.catalina.core.StandardWrapperValve?.invoke(StandardWrapperValve?.java:213)
>>> at
>>> org.apache.catalina.core.StandardContextValve?.invoke(StandardContextValve?.java:178)
>>> at
>>> org.apache.catalina.core.StandardHostValve?.invoke(StandardHostValve?.java:126)
>>> at
>>> org.apache.catalina.cluster.tcp.ReplicationValve?.invoke(ReplicationValve?.java:346)
>>> at
>>> org.apache.catalina.valves.ErrorReportValve?.invoke(ErrorReportValve?.java:105)
>>> at
>>> org.apache.catalina.core.StandardEngineValve?.invoke(StandardEngineValve?.java:107)
>>> at
>>> org.apache.catalina.connector.CoyoteAdapter?.service(CoyoteAdapter?.java:148)
>>> at
>>> org.apache.coyote.ajp.AjpAprProcessor?.process(AjpAprProcessor?.java:425)
>>> at
>>> org.apache.coyote.ajp.AjpAprProtocol?$AjpConnectionHandler?.process(AjpAprProtocol?.java:452)
>>> at
>>> org.apache.tomcat.util.net.AprEndpoint?$Worker.run(AprEndpoint?.java:1285)
>>> at java.lang.Thread.run(Thread.java:619)
>>> 
>>> 
>> 
>> 
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> Wicket-user mailing list
>> Wicket-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/infinite-loop-tf3933416.html#a11167893
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to