[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1025) Exception when parser meets a certain character.
by Siarhei Dudzin (JIRA)
Exception when parser meets a certain character.
------------------------------------------------
Key: JBSEAM-1025
URL: http://jira.jboss.com/jira/browse/JBSEAM-1025
Project: JBoss Seam
Issue Type: Bug
Components: Wiki
Affects Versions: 1.2.0.GA
Reporter: Siarhei Dudzin
Assigned To: Christian Bauer
When the text contains ''«" or "»" the following following exception is encountered:
java.lang.RuntimeException: line 1:287: unexpected char: 0xAB
at org.jboss.seam.ui.UIFormattedText.encodeBegin(UIFormattedText.java:43)
at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242)
at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:573)
at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101)
at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:221)
at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)
at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106)
at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:75)
at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:213)
at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173)
at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274)
at com.caucho.server.port.TcpConnection.run(TcpConnection.java:511)
at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:520)
at com.caucho.util.ThreadPool.run(ThreadPool.java:442)
at java.lang.Thread.run(Thread.java:595)
Caused by: line 1:287: unexpected char: 0xAB
at org.jboss.seam.text.SeamTextLexer.nextToken(SeamTextLexer.java:203)
at antlr.TokenBuffer.fill(TokenBuffer.java:69)
at antlr.TokenBuffer.LA(TokenBuffer.java:80)
at antlr.LLkParser.LA(LLkParser.java:52)
at org.jboss.seam.text.SeamTextParser.line(SeamTextParser.java:677)
at org.jboss.seam.text.SeamTextParser.paragraph(SeamTextParser.java:341)
at org.jboss.seam.text.SeamTextParser.text(SeamTextParser.java:282)
at org.jboss.seam.text.SeamTextParser.startRule(SeamTextParser.java:169)
at org.jboss.seam.ui.UIFormattedText.encodeBegin(UIFormattedText.java:39)
... 25 more
--
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
16 years, 9 months