java.lang.ClassCastException

XWiki.org JIRA | Vincent Massol | 4 years ago
  1. 0

    {noformat} <h1 class="gadget-title wikigeneratedheader"><span>Activity Stream</span></h1><div class="gadget-content"><div class="xwikirenderingerror">Failed to execute the [velocity] macro</div><div class="xwikirenderingerrordescription hidden"><pre>org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Velocity Macro for content [#set ($displayUI = true) #handleMessageAction($displayUI) #if ($displayUI) &#123;&#123;html}} &lt;div class='activity'&gt; #initDateVariables() #addStateHiddenInput() #displayActivity() &lt;/div&gt; &#123;&#123;/html}} #end] at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:131) at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:50) at org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:302) at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:198) at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:59) at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:188) at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:135) at org.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacro.execute(DefaultWikiMacro.java:224) at org.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacro.execute(DefaultWikiMacro.java:59) at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:188) at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:135) at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:84) at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:250) at org.xwiki.display.internal.DocumentContentDisplayer.displayInIsolatedExecutionContext(DocumentContentDisplayer.java:217) at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:124) at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:54) at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:80) at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:38) at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:113) at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50) at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67) at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41) at org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:168) at org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:55) at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:188) at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:135) at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:84) at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:250) at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:124) at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:54) at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:80) at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:38) at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:113) at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50) at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67) at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41) at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:901) at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:880) at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:911) at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:603) at sun.reflect.GeneratedMethodAccessor290.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567) 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:342) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105) at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1765) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1705) at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:854) at sun.reflect.GeneratedMethodAccessor119.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207) 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:342) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105) at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1765) at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:155) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:241) 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:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) at org.eclipse.jetty.server.Server.handle(Server.java:346) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589) at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529) at java.lang.Thread.run(Thread.java:680) Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with id [unknown namespace] at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:243) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184) at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:124) ... 125 more Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getDisplayTitle' in class com.xpn.xwiki.api.Document threw exception org.parboiled.errors.ParserRuntimeException: Error while parsing action 'Root/Sequence/ZeroOrMore/Sequence/Block/FirstOf/Heading/FirstOf/AtxHeading/OneOrMore/Sequence/AtxHeading_Action1' at input position (line 1, pos 10): ## Errata ^ java.lang.ClassCastException at unknown namespace[line 677, column 57] at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:223) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) at org.apache.velocity.runtime.parser.node.ASTStringLiteral.value(ASTStringLiteral.java:330) 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.ASTIfStatement.render(ASTIfStatement.java:87) 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.directive.VelocimacroProxy.render(VelocimacroProxy.java:216) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207) 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.directive.Foreach.render(Foreach.java:420) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207) 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.ASTIfStatement.render(ASTIfStatement.java:87) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:420) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207) 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.directive.VelocimacroProxy.render(VelocimacroProxy.java:216) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207) 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.SimpleNode.render(SimpleNode.java:342) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224) ... 127 more Caused by: org.parboiled.errors.ParserRuntimeException: Error while parsing action 'Root/Sequence/ZeroOrMore/Sequence/Block/FirstOf/Heading/FirstOf/AtxHeading/OneOrMore/Sequence/AtxHeading_Action1' at input position (line 1, pos 10): ## Errata ^ java.lang.ClassCastException at org.parboiled.MatcherContext.runMatcher(MatcherContext.java:345) at org.parboiled.matchers.SequenceMatcher.match(SequenceMatcher.java:46) at org.parboiled.parserunners.BasicParseRunner.match(BasicParseRunner.java:77) at org.parboiled.MatcherContext.runMatcher(MatcherContext.java:330) at org.parboiled.matchers.OneOrMoreMatcher.match(OneOrMoreMatcher.java:38) at org.parboiled.parserunners.BasicParseRunner.match(BasicParseRunner.java:77) at org.parboiled.MatcherContext.runMatcher(MatcherContext.java:330) at org.parboiled.matchers.SequenceMatcher.match(SequenceMatcher.java:46) at org.parboiled.parserunners.BasicParseRunner.match(BasicParseRunner.java:77) at org.parboiled.MatcherContext.runMatcher(MatcherContext.java:330) at org.parboiled.matchers.FirstOfMatcher.match(FirstOfMatcher.java:41) at org.parboiled.parserunners.BasicParseRunner.match(BasicParseRunner.java:77) at org.parboiled.MatcherContext.runMatcher(MatcherContext.java:330) at org.parboiled.matchers.SequenceMatcher.match(SequenceMatcher.java:46) at org.parboiled.parserunners.BasicParseRunner.match(BasicParseRunner.java:77) at org.parboiled.MatcherContext.runMatcher(MatcherContext.java:330) at org.parboiled.matchers.FirstOfMatcher.match(FirstOfMatcher.java:41) at org.parboiled.parserunners.BasicParseRunner.match(BasicParseRunner.java:77) at org.parboiled.MatcherContext.runMatcher(MatcherContext.java:330) at org.parboiled.matchers.SequenceMatcher.match(SequenceMatcher.java:46) at org.parboiled.parserunners.BasicParseRunner.match(BasicParseRunner.java:77) at org.parboiled.MatcherContext.runMatcher(MatcherContext.java:330) at org.parboiled.matchers.SequenceMatcher.match(SequenceMatcher.java:46) at org.parboiled.parserunners.BasicParseRunner.match(BasicParseRunner.java:77) at org.parboiled.MatcherContext.runMatcher(MatcherContext.java:330) at org.parboiled.matchers.ZeroOrMoreMatcher.match(ZeroOrMoreMatcher.java:39) at org.parboiled.parserunners.BasicParseRunner.match(BasicParseRunner.java:77) at org.parboiled.MatcherContext.runMatcher(MatcherContext.java:330) at org.parboiled.matchers.SequenceMatcher.match(SequenceMatcher.java:46) at org.parboiled.parserunners.BasicParseRunner.match(BasicParseRunner.java:77) at org.parboiled.MatcherContext.runMatcher(MatcherContext.java:330) at org.parboiled.matchers.SequenceMatcher.match(SequenceMatcher.java:46) at org.parboiled.parserunners.BasicParseRunner.match(BasicParseRunner.java:77) at org.parboiled.MatcherContext.runMatcher(MatcherContext.java:330) at org.parboiled.parserunners.BasicParseRunner.run(BasicParseRunner.java:72) at org.parboiled.parserunners.ReportingParseRunner.runBasicMatch(ReportingParseRunner.java:86) at org.parboiled.parserunners.ReportingParseRunner.run(ReportingParseRunner.java:66) at org.parboiled.parserunners.AbstractParseRunner.run(AbstractParseRunner.java:81) at org.pegdown.Parser.parseToParsingResult(Parser.java:1284) at org.pegdown.Parser.parseInternal(Parser.java:1272) at org.pegdown.Parser.parse(Parser.java:76) at org.pegdown.PegDownProcessor.parseMarkdown(PegDownProcessor.java:88) at org.xwiki.rendering.internal.parser.markdown.MarkdownParser.parse(MarkdownParser.java:80) at com.xpn.xwiki.doc.XWikiDocument.parseContent(XWikiDocument.java:7677) at com.xpn.xwiki.doc.XWikiDocument.parseContent(XWikiDocument.java:7666) at com.xpn.xwiki.doc.XWikiDocument.getXDOM(XWikiDocument.java:7493) at com.xpn.xwiki.doc.XWikiDocument.getDefaultEditMode(XWikiDocument.java:6065) at com.xpn.xwiki.internal.sheet.DefaultModelBridge.getDefaultEditMode(DefaultModelBridge.java:80) at org.xwiki.sheet.internal.SheetDocumentDisplayer.isSheetExpected(SheetDocumentDisplayer.java:138) at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:93) at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50) at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67) at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41) at com.xpn.xwiki.doc.XWikiDocument.getRenderedTitle(XWikiDocument.java:1172) at com.xpn.xwiki.api.Document.getDisplayTitle(Document.java:316) at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:142) at org.apache.velocity.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:539) at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:198) ... 170 more Caused by: java.lang.ClassCastException </pre></div></div></div></div><div class="clearfloats"></div></div></div> </div> {noformat}

    XWiki.org JIRA | 4 years ago | Vincent Massol
    java.lang.ClassCastException
  2. 0

    ClassCastException : PortableRemoteObject.

    Oracle Community | 1 decade ago | 403765
    java.lang.ClassCastException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    ClassCastExcepiton Using POI

    Coderanch | 1 decade ago | chetan
    java.lang.ClassCastException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      No message provided

      at org.parboiled.MatcherContext.runMatcher()
    2. parboiled-core
      AbstractParseRunner.run
      1. org.parboiled.MatcherContext.runMatcher(MatcherContext.java:345)
      2. org.parboiled.matchers.SequenceMatcher.match(SequenceMatcher.java:46)
      3. org.parboiled.parserunners.BasicParseRunner.match(BasicParseRunner.java:77)
      4. org.parboiled.MatcherContext.runMatcher(MatcherContext.java:330)
      5. org.parboiled.matchers.OneOrMoreMatcher.match(OneOrMoreMatcher.java:38)
      6. org.parboiled.parserunners.BasicParseRunner.match(BasicParseRunner.java:77)
      7. org.parboiled.MatcherContext.runMatcher(MatcherContext.java:330)
      8. org.parboiled.matchers.SequenceMatcher.match(SequenceMatcher.java:46)
      9. org.parboiled.parserunners.BasicParseRunner.match(BasicParseRunner.java:77)
      10. org.parboiled.MatcherContext.runMatcher(MatcherContext.java:330)
      11. org.parboiled.matchers.FirstOfMatcher.match(FirstOfMatcher.java:41)
      12. org.parboiled.parserunners.BasicParseRunner.match(BasicParseRunner.java:77)
      13. org.parboiled.MatcherContext.runMatcher(MatcherContext.java:330)
      14. org.parboiled.matchers.SequenceMatcher.match(SequenceMatcher.java:46)
      15. org.parboiled.parserunners.BasicParseRunner.match(BasicParseRunner.java:77)
      16. org.parboiled.MatcherContext.runMatcher(MatcherContext.java:330)
      17. org.parboiled.matchers.FirstOfMatcher.match(FirstOfMatcher.java:41)
      18. org.parboiled.parserunners.BasicParseRunner.match(BasicParseRunner.java:77)
      19. org.parboiled.MatcherContext.runMatcher(MatcherContext.java:330)
      20. org.parboiled.matchers.SequenceMatcher.match(SequenceMatcher.java:46)
      21. org.parboiled.parserunners.BasicParseRunner.match(BasicParseRunner.java:77)
      22. org.parboiled.MatcherContext.runMatcher(MatcherContext.java:330)
      23. org.parboiled.matchers.SequenceMatcher.match(SequenceMatcher.java:46)
      24. org.parboiled.parserunners.BasicParseRunner.match(BasicParseRunner.java:77)
      25. org.parboiled.MatcherContext.runMatcher(MatcherContext.java:330)
      26. org.parboiled.matchers.ZeroOrMoreMatcher.match(ZeroOrMoreMatcher.java:39)
      27. org.parboiled.parserunners.BasicParseRunner.match(BasicParseRunner.java:77)
      28. org.parboiled.MatcherContext.runMatcher(MatcherContext.java:330)
      29. org.parboiled.matchers.SequenceMatcher.match(SequenceMatcher.java:46)
      30. org.parboiled.parserunners.BasicParseRunner.match(BasicParseRunner.java:77)
      31. org.parboiled.MatcherContext.runMatcher(MatcherContext.java:330)
      32. org.parboiled.matchers.SequenceMatcher.match(SequenceMatcher.java:46)
      33. org.parboiled.parserunners.BasicParseRunner.match(BasicParseRunner.java:77)
      34. org.parboiled.MatcherContext.runMatcher(MatcherContext.java:330)
      35. org.parboiled.parserunners.BasicParseRunner.run(BasicParseRunner.java:72)
      36. org.parboiled.parserunners.ReportingParseRunner.runBasicMatch(ReportingParseRunner.java:86)
      37. org.parboiled.parserunners.ReportingParseRunner.run(ReportingParseRunner.java:66)
      38. org.parboiled.parserunners.AbstractParseRunner.run(AbstractParseRunner.java:81)
      38 frames
    3. pegdown
      PegDownProcessor.parseMarkdown
      1. org.pegdown.Parser.parseToParsingResult(Parser.java:1284)
      2. org.pegdown.Parser.parseInternal(Parser.java:1272)
      3. org.pegdown.Parser.parse(Parser.java:76)
      4. org.pegdown.PegDownProcessor.parseMarkdown(PegDownProcessor.java:88)
      4 frames
    4. org.xwiki.rendering
      MarkdownParser.parse
      1. org.xwiki.rendering.internal.parser.markdown.MarkdownParser.parse(MarkdownParser.java:80)
      1 frame
    5. com.xpn.xwiki
      DefaultModelBridge.getDefaultEditMode
      1. com.xpn.xwiki.doc.XWikiDocument.parseContent(XWikiDocument.java:7677)
      2. com.xpn.xwiki.doc.XWikiDocument.parseContent(XWikiDocument.java:7666)
      3. com.xpn.xwiki.doc.XWikiDocument.getXDOM(XWikiDocument.java:7493)
      4. com.xpn.xwiki.doc.XWikiDocument.getDefaultEditMode(XWikiDocument.java:6065)
      5. com.xpn.xwiki.internal.sheet.DefaultModelBridge.getDefaultEditMode(DefaultModelBridge.java:80)
      5 frames
    6. org.xwiki.sheet
      SheetDocumentDisplayer.display
      1. org.xwiki.sheet.internal.SheetDocumentDisplayer.isSheetExpected(SheetDocumentDisplayer.java:138)
      2. org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:93)
      3. org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
      3 frames
    7. org.xwiki.display
      ConfiguredDocumentDisplayer.display
      1. org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
      2. org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
      2 frames
    8. com.xpn.xwiki
      Document.getDisplayTitle
      1. com.xpn.xwiki.doc.XWikiDocument.getRenderedTitle(XWikiDocument.java:1172)
      2. com.xpn.xwiki.api.Document.getDisplayTitle(Document.java:316)
      2 frames
    9. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    10. Apache Velocity
      ASTIdentifier.execute
      1. org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:142)
      2. org.apache.velocity.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:539)
      3. org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:198)
      3 frames