Uploaded image for project: 'Markdown Syntax'
  1. Markdown Syntax
  2. MARKDOWN-13

End of page causes NullPointerException on Save

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • Previous version in xwiki-rendering
    • markdown/1.1
    • None
    • Ubuntu 14.04

    Description

      When you end a page like the following, you receive a NullPointer as shown in the Catalina logs.

      Note: For the bug to occur, there must be no newline at the end. Eg the page finished with the ` of the inline code block.

      Page: (can also be found here: https://paste.fedoraproject.org/256349/99150101/)

      # Bitrix setup for NCER
       
      * Install CentOS 6.x
       
      > We added Port 22 to the SSH config, as bitrix has a tendency to override our iptables.
       
      ## Download and install Bitrix
       
      Get the launcher script and install bitrix.
       
      ```
      wget http://repos.1c-bitrix.ru/yum/bitrix-env.sh  
      chmod +x bitrix-env.sh  
      ./bitrix-env.sh
      ```
       
      This should fail, then perform the following steps to fix the installation.
       
      ```
      yum install perl-XML-SAX-0.96-7.el6.noarch
      yum install bitrix-env
      ```
       
      Then run `./bitrix-env.sh` again to finish installation.
       
      Reboot.
       
      ## Configure Bitrix
       
      * Backups are made in `/home/bitrix/backup/archive`

      End of document.

      LOGS

      2015-08-17 14:54:19,237 [https://lcsb-wiki.uni.lu/xwiki/wiki/lcsbbiocore/preview/lcsb-sysadmins/NCER-bitrix] ERROR c.x.x.d.XWikiDocument          - Failed to get the default edit mode for [lcsbbiocore:lcsb-sysadmins.NCER-bitrix] 
      java.lang.NullPointerException: null
      	at org.xwiki.rendering.listener.chaining.BlockStateChainingListener.beginListItem(BlockStateChainingListener.java:305) ~[xwiki-rendering-legacy-api-7.1.1.jar:na]
      	at org.xwiki.rendering.listener.chaining.AbstractChainingListener.beginListItem(AbstractChainingListener.java:146) ~[xwiki-rendering-legacy-api-7.1.1.jar:na]
      	at org.xwiki.rendering.listener.CompositeListener.beginListItem(CompositeListener.java:136) ~[xwiki-rendering-legacy-api-7.1.1.jar:na]
      	at org.xwiki.rendering.internal.parser.markdown.AbstractListPegdownVisitor.visit(AbstractListPegdownVisitor.java:51) ~[xwiki-rendering-syntax-markdown10-7.1.1.jar:na]
      	at org.pegdown.ast.ListItemNode.accept(ListItemNode.java:29) ~[pegdown-1.4.1.jar:1.4.1]
      	at org.xwiki.rendering.internal.parser.markdown.AbstractPegdownVisitor.visitChildren(AbstractPegdownVisitor.java:114) ~[xwiki-rendering-syntax-markdown10-7.1.1.jar:na]
      	at org.xwiki.rendering.internal.parser.markdown.AbstractListPegdownVisitor.visit(AbstractListPegdownVisitor.java:44) ~[xwiki-rendering-syntax-markdown10-7.1.1.jar:na]
      	at org.pegdown.ast.BulletListNode.accept(BulletListNode.java:29) ~[pegdown-1.4.1.jar:1.4.1]
      	at org.xwiki.rendering.internal.parser.markdown.AbstractPegdownVisitor.visitChildren(AbstractPegdownVisitor.java:114) ~[xwiki-rendering-syntax-markdown10-7.1.1.jar:na]
      	at org.xwiki.rendering.internal.parser.markdown.AbstractPegdownVisitor.visit(AbstractPegdownVisitor.java:103) ~[xwiki-rendering-syntax-markdown10-7.1.1.jar:na]
      	at org.pegdown.ast.RootNode.accept(RootNode.java:51) ~[pegdown-1.4.1.jar:1.4.1]
      	at org.xwiki.rendering.internal.parser.markdown.AbstractPegdownVisitor.visit(AbstractPegdownVisitor.java:88) ~[xwiki-rendering-syntax-markdown10-7.1.1.jar:na]
      	at org.xwiki.rendering.internal.parser.markdown.AbstractMarkdownStreamParser.parse(AbstractMarkdownStreamParser.java:56) ~[xwiki-rendering-syntax-markdown10-7.1.1.jar:na]
      	at org.xwiki.rendering.internal.parser.markdown11.Markdown11StreamParser.parse(Markdown11StreamParser.java:85) ~[xwiki-rendering-syntax-markdown11-7.1.1.jar:na]
      	at org.xwiki.rendering.internal.parser.markdown11.Markdown11Parser.parse(Markdown11Parser.java:64) ~[xwiki-rendering-syntax-markdown11-7.1.1.jar:na]
      	at org.xwiki.rendering.internal.parser.DefaultContentParser.parse(DefaultContentParser.java:68) ~[xwiki-platform-rendering-xwiki-7.1.1.jar:na]
      	at com.xpn.xwiki.doc.XWikiDocument.parseContent(XWikiDocument.java:8444) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at com.xpn.xwiki.doc.XWikiDocument.parseContent(XWikiDocument.java:8433) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at com.xpn.xwiki.doc.XWikiDocument.getXDOM(XWikiDocument.java:8280) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at com.xpn.xwiki.doc.XWikiDocument.getDefaultEditModeInternal(XWikiDocument.java:6749) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at com.xpn.xwiki.doc.XWikiDocument.getDefaultEditMode(XWikiDocument.java:6711) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at com.xpn.xwiki.internal.sheet.DefaultModelBridge.getDefaultEditMode(DefaultModelBridge.java:71) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at org.xwiki.sheet.internal.SheetDocumentDisplayer.isSheetExpected(SheetDocumentDisplayer.java:138) [xwiki-platform-sheet-api-7.1.1.jar:na]
      	at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:93) [xwiki-platform-sheet-api-7.1.1.jar:na]
      	at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50) [xwiki-platform-sheet-api-7.1.1.jar:na]
      	at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67) [xwiki-platform-display-api-7.1.1.jar:na]
      	at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41) [xwiki-platform-display-api-7.1.1.jar:na]
      	at com.xpn.xwiki.doc.XWikiDocument.getRenderedTitle(XWikiDocument.java:1473) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at com.xpn.xwiki.doc.XWikiDocument.getRenderedTitle(XWikiDocument.java:1493) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl.onEvent(ActivityStreamImpl.java:888) [xwiki-platform-activitystream-api-7.1.1.jar:na]
      	at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:304) [xwiki-commons-observation-local-7.1.1.jar:na]
      	at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:269) [xwiki-commons-observation-local-7.1.1.jar:na]
      	at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1475) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:170) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:187) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:407) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:180) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) [struts-core-1.3.10.jar:1.3.10]
      	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) [struts-core-1.3.10.jar:1.3.10]
      	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) [struts-core-1.3.10.jar:1.3.10]
      	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462) [struts-core-1.3.10.jar:1.3.10]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:646) [tomcat-servlet-api-3.0.jar:na]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [tomcat-servlet-api-3.0.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) [xwiki-platform-wysiwyg-server-7.1.1.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-7.1.1.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-7.1.1.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:105) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) [xwiki-platform-wysiwyg-server-7.1.1.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63) [xwiki-platform-container-servlet-7.1.1.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) [xwiki-platform-webdav-server-7.1.1.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-7.1.1.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-7.1.1.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137) [xwiki-platform-resource-servlet-7.1.1.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193) [tomcat-coyote-7.0.52.jar:7.0.52]
      	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) [tomcat-coyote-7.0.52.jar:7.0.52]
      	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313) [tomcat-coyote-7.0.52.jar:7.0.52]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]
      	at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]
      2015-08-17 14:54:19,237 [XWiki Solr index thread] ERROR .DocumentSolrMetadataExtractor - Failed to render content for document [lcsbbiocore:lcsb-sysadmins.NCER-bitrix()] 
      2015-08-17 14:54:36,407 [XWiki Solr index thread] ERROR c.x.x.d.XWikiDocument          - Failed to get the default edit mode for [lcsbbiocore:lcsb-sysadmins.NCER-bitrix] 
      java.lang.IllegalStateException: Unbalanced begin/end Block events, missing 1 calls to endBlockList().
      	at org.xwiki.rendering.internal.parser.XDOMBuilder.getXDOM(XDOMBuilder.java:58) ~[xwiki-rendering-legacy-api-7.1.1.jar:na]
      	at org.xwiki.rendering.internal.parser.XDOMGeneratorListener.getXDOM(XDOMGeneratorListener.java:79) ~[xwiki-rendering-legacy-api-7.1.1.jar:na]
      	at org.xwiki.rendering.internal.parser.markdown11.Markdown11Parser.parse(Markdown11Parser.java:65) ~[xwiki-rendering-syntax-markdown11-7.1.1.jar:na]
      	at org.xwiki.rendering.internal.parser.DefaultContentParser.parse(DefaultContentParser.java:68) ~[xwiki-platform-rendering-xwiki-7.1.1.jar:na]
      	at com.xpn.xwiki.doc.XWikiDocument.parseContent(XWikiDocument.java:8444) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at com.xpn.xwiki.doc.XWikiDocument.parseContent(XWikiDocument.java:8433) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at com.xpn.xwiki.doc.XWikiDocument.getXDOM(XWikiDocument.java:8280) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at com.xpn.xwiki.doc.XWikiDocument.getDefaultEditModeInternal(XWikiDocument.java:6749) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at com.xpn.xwiki.doc.XWikiDocument.getDefaultEditMode(XWikiDocument.java:6711) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at com.xpn.xwiki.internal.sheet.DefaultModelBridge.getDefaultEditMode(DefaultModelBridge.java:71) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at org.xwiki.sheet.internal.SheetDocumentDisplayer.isSheetExpected(SheetDocumentDisplayer.java:138) [xwiki-platform-sheet-api-7.1.1.jar:na]
      	at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:93) [xwiki-platform-sheet-api-7.1.1.jar:na]
      	at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50) [xwiki-platform-sheet-api-7.1.1.jar:na]
      	at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67) [xwiki-platform-display-api-7.1.1.jar:na]
      	at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41) [xwiki-platform-display-api-7.1.1.jar:na]
      	at com.xpn.xwiki.doc.XWikiDocument.getRenderedTitle(XWikiDocument.java:1473) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at org.xwiki.search.solr.internal.metadata.DocumentSolrMetadataExtractor.setFieldsInternal(DocumentSolrMetadataExtractor.java:112) [xwiki-platform-search-solr-api-7.1.1.jar:na]
      	at org.xwiki.search.solr.internal.metadata.AbstractSolrMetadataExtractor.getSolrDocument(AbstractSolrMetadataExtractor.java:132) [xwiki-platform-search-solr-api-7.1.1.jar:na]
      	at org.xwiki.search.solr.internal.DefaultSolrIndexer.getSolrDocument(DefaultSolrIndexer.java:501) [xwiki-platform-search-solr-api-7.1.1.jar:na]
      	at org.xwiki.search.solr.internal.DefaultSolrIndexer.processBatch(DefaultSolrIndexer.java:411) [xwiki-platform-search-solr-api-7.1.1.jar:na]
      	at org.xwiki.search.solr.internal.DefaultSolrIndexer.run(DefaultSolrIndexer.java:384) [xwiki-platform-search-solr-api-7.1.1.jar:na]
      	at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]
      2015-08-17 14:54:36,408 [https://lcsb-wiki.uni.lu/xwiki/wiki/lcsbbiocore/preview/lcsb-sysadmins/NCER-bitrix] ERROR c.x.x.d.XWikiDocument          - Failed to get the default edit mode for [lcsbbiocore:lcsb-sysadmins.NCER-bitrix] 
      java.util.NoSuchElementException: null
      	at java.util.LinkedList.removeFirst(LinkedList.java:268) ~[na:1.7.0_79]
      	at java.util.LinkedList.remove(LinkedList.java:683) ~[na:1.7.0_79]
      	at org.xwiki.rendering.listener.QueueListener.consumeEvents(QueueListener.java:95) ~[xwiki-rendering-legacy-api-7.1.1.jar:na]
      	at org.xwiki.rendering.internal.parser.markdown.AbstractHeadingPegdownVisitor.visit(AbstractHeadingPegdownVisitor.java:72) ~[xwiki-rendering-syntax-markdown10-7.1.1.jar:na]
      	at org.pegdown.ast.HeaderNode.accept(HeaderNode.java:42) ~[pegdown-1.4.1.jar:1.4.1]
      	at org.xwiki.rendering.internal.parser.markdown.AbstractPegdownVisitor.visitChildren(AbstractPegdownVisitor.java:114) ~[xwiki-rendering-syntax-markdown10-7.1.1.jar:na]
      	at org.xwiki.rendering.internal.parser.markdown.AbstractPegdownVisitor.visit(AbstractPegdownVisitor.java:103) ~[xwiki-rendering-syntax-markdown10-7.1.1.jar:na]
      	at org.pegdown.ast.RootNode.accept(RootNode.java:51) ~[pegdown-1.4.1.jar:1.4.1]
      	at org.xwiki.rendering.internal.parser.markdown.AbstractPegdownVisitor.visit(AbstractPegdownVisitor.java:88) ~[xwiki-rendering-syntax-markdown10-7.1.1.jar:na]
      	at org.xwiki.rendering.internal.parser.markdown.AbstractMarkdownStreamParser.parse(AbstractMarkdownStreamParser.java:56) ~[xwiki-rendering-syntax-markdown10-7.1.1.jar:na]
      	at org.xwiki.rendering.internal.parser.markdown11.Markdown11StreamParser.parse(Markdown11StreamParser.java:85) ~[xwiki-rendering-syntax-markdown11-7.1.1.jar:na]
      	at org.xwiki.rendering.internal.parser.markdown11.Markdown11Parser.parse(Markdown11Parser.java:64) ~[xwiki-rendering-syntax-markdown11-7.1.1.jar:na]
      	at org.xwiki.rendering.internal.parser.DefaultContentParser.parse(DefaultContentParser.java:68) ~[xwiki-platform-rendering-xwiki-7.1.1.jar:na]
      	at com.xpn.xwiki.doc.XWikiDocument.parseContent(XWikiDocument.java:8444) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at com.xpn.xwiki.doc.XWikiDocument.parseContent(XWikiDocument.java:8433) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at com.xpn.xwiki.doc.XWikiDocument.getXDOM(XWikiDocument.java:8280) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at com.xpn.xwiki.doc.XWikiDocument.getDefaultEditModeInternal(XWikiDocument.java:6749) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at com.xpn.xwiki.doc.XWikiDocument.getDefaultEditMode(XWikiDocument.java:6711) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at com.xpn.xwiki.internal.sheet.DefaultModelBridge.getDefaultEditMode(DefaultModelBridge.java:71) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at org.xwiki.sheet.internal.SheetDocumentDisplayer.isSheetExpected(SheetDocumentDisplayer.java:138) [xwiki-platform-sheet-api-7.1.1.jar:na]
      	at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:93) [xwiki-platform-sheet-api-7.1.1.jar:na]
      	at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50) [xwiki-platform-sheet-api-7.1.1.jar:na]
      	at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67) [xwiki-platform-display-api-7.1.1.jar:na]
      	at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41) [xwiki-platform-display-api-7.1.1.jar:na]
      	at com.xpn.xwiki.doc.XWikiDocument.getRenderedTitle(XWikiDocument.java:1473) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at com.xpn.xwiki.doc.XWikiDocument.getRenderedTitle(XWikiDocument.java:1493) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl.onEvent(ActivityStreamImpl.java:888) [xwiki-platform-activitystream-api-7.1.1.jar:na]
      	at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:304) [xwiki-commons-observation-local-7.1.1.jar:na]
      	at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:269) [xwiki-commons-observation-local-7.1.1.jar:na]
      	at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1475) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:170) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:187) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:407) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:180) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) [struts-core-1.3.10.jar:1.3.10]
      	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) [struts-core-1.3.10.jar:1.3.10]
      	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) [struts-core-1.3.10.jar:1.3.10]
      	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462) [struts-core-1.3.10.jar:1.3.10]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:646) [tomcat-servlet-api-3.0.jar:na]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [tomcat-servlet-api-3.0.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) [xwiki-platform-wysiwyg-server-7.1.1.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-7.1.1.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-7.1.1.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:105) [xwiki-platform-legacy-oldcore-7.1.1.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) [xwiki-platform-wysiwyg-server-7.1.1.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63) [xwiki-platform-container-servlet-7.1.1.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) [xwiki-platform-webdav-server-7.1.1.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-7.1.1.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-7.1.1.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137) [xwiki-platform-resource-servlet-7.1.1.jar:na]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) [tomcat-catalina-7.0.52.jar:7.0.52]
      	at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193) [tomcat-coyote-7.0.52.jar:7.0.52]
      	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) [tomcat-coyote-7.0.52.jar:7.0.52]
      	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313) [tomcat-coyote-7.0.52.jar:7.0.52]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]
      	at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]
      

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              Trefex Christophe Trefois
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: