All,
I build 1.2.x trunk today to try some fixed bugs (which found in 1.2.6)
. After I deploy I got stack overflow:
java.lang.StackOverflowError
at java.lang.ThreadLocal.get(ThreadLocal.java:125)
at wicket.RequestCycle.get(RequestCycle.java:211)
at wicket.settings.Settings.getContextPath(Settings.java:451)
at wicket.protocol.http.servlet.ServletWebRequest.getContextPath(
ServletWebRequest.java:69)
at wicket.settings.Settings.getContextPath(Settings.java:453)
at wicket.protocol.http.servlet.ServletWebRequest.getContextPath(
ServletWebRequest.java:69)
at wicket.settings.Settings.getContextPath(Settings.java:453)
I notice ServletWebRequest.getContextPath implmentaton changed:
in 1.2.6:
public String getContextPath()
{
return httpServletRequest.getContextPath();
}
in 1.2.x trunk
public String getContextPath()
{
String contextPath = Application.get
().getApplicationSettings().getContextPath();
return contextPath != null ? contextPath :
httpServletRequest.getContextPath();
}
so the problem is caused by additional
Application.get().getApplicationSettings().getContextPath();
I know wicket has a bamboo to build trunk continuously, but I can't find it
to check trunk's health.
--
Ingram Chen
��便��啦: http://dinbendon.net
blog: http://www.javaworld.com.tw/roller/page/ingramchen
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user