Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via XWiki.org JIRA by Arnaud Héritier, 1 year ago
Lexical error: org.apache.velocity.runtime.parser.TokenMgrError: Lexical error at line 119, column 264. Encountered: "l" (108), after : "."
via YouTrack by Unknown author, 2 years ago
Lexical error: org.apache.velocity.runtime.parser.TokenMgrError: Lexical error at line 40, column 61. Encountered: "l" (108), after : "."
org.apache.velocity.runtime.parser.ParseException: Lexical error: org.apache.velocity.runtime.parser.TokenMgrError: Lexical error at line 119, column 264.  Encountered: "l" (108), after : "."	at org.apache.velocity.runtime.parser.Parser.parse(Parser.java:124)	at org.apache.velocity.runtime.RuntimeInstance.parse(RuntimeInstance.java:1131)	at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:189)	at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:161)	at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)	at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:93)	at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:292)	at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:222)	at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:190)	at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:179)	at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:819)	at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:867)	at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:527)	at sun.reflect.GeneratedMethodAccessor310.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)	at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)	at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)	at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)	at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)	at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:196)	at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:161)	at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)	at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1855)	at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1793)	at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:841)	at sun.reflect.GeneratedMethodAccessor149.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)	at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)	at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)	at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)	at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)	at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)	at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)	at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:196)	at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:161)	at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)	at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1855)	at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:155)	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:225)	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)	at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)	at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)	at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:774)	at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)	at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:896)	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)	at java.lang.Thread.run(Thread.java:595)