[jbossseam-issues] [JBoss JIRA] Assigned: (JBSEAM-2024) log interpolation not failsafe
Norman Richards (JIRA)
jira-events at lists.jboss.org
Tue Oct 2 11:49:12 EDT 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-2024?page=all ]
Norman Richards reassigned JBSEAM-2024:
---------------------------------------
Assignee: Norman Richards
> log interpolation not failsafe
> ------------------------------
>
> Key: JBSEAM-2024
> URL: http://jira.jboss.com/jira/browse/JBSEAM-2024
> Project: JBoss Seam
> Issue Type: Bug
> Environment: wiki http://in.relation.to/Bloggers/FullTextSearchForHibernateGoesFinal
> Reporter: Emmanuel Bernard
> Assigned To: Norman Richards
> Priority: Critical
> Fix For: 2.0.0.CR2
>
>
> I have this stacktrace on the wiki
> java.util.NoSuchElementException
> java.util.StringTokenizer.nextToken(StringTokenizer.java:332)
> org.jboss.seam.core.Interpolator.interpolateExpressions(Interpolator.java:94)
> org.jboss.seam.core.Interpolator.interpolate(Interpolator.java:66)
> org.jboss.seam.log.LogImpl.interpolate(LogImpl.java:143)
> org.jboss.seam.log.LogImpl.warn(LogImpl.java:100)
> (detail below)
> I probably would be better to be failsafe on message interpolation when logging.
> javax.servlet.ServletException
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:256)
> org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:195)
> org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:159)
> org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
> org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
> org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:406)
> org.jboss.seam.wiki.core.ui.WikiUrlRewriteFilter.doFilter(WikiUrlRewriteFilter.java:45)
> org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
> org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)
> org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)
> org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
> org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
> org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
> org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
> org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
> org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
> org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
> org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
> org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
> org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
> org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:150)
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
> root cause
> java.util.NoSuchElementException
> java.util.StringTokenizer.nextToken(StringTokenizer.java:332)
> org.jboss.seam.core.Interpolator.interpolateExpressions(Interpolator.java:94)
> org.jboss.seam.core.Interpolator.interpolate(Interpolator.java:66)
> org.jboss.seam.log.LogImpl.interpolate(LogImpl.java:143)
> org.jboss.seam.log.LogImpl.warn(LogImpl.java:100)
> org.jboss.seam.wiki.core.ui.UIWikiFormattedText.encodeBegin(UIWikiFormattedText.java:224)
> com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:269)
> com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:276)
> com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:276)
> com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:242)
> javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812)
> javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
> javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
> javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
> javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
> javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
> javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
> javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
> javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
> com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:577)
> org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
> org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
> com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
> com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
> com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
> org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:195)
> org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:159)
> org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
> org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
> org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:406)
> org.jboss.seam.wiki.core.ui.WikiUrlRewriteFilter.doFilter(WikiUrlRewriteFilter.java:45)
> org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
> org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)
> org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)
> org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
> org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
> org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
> org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
> org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
> org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
> org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
> org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
> org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
> org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
> org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:150)
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list