Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-415

Failure to run Clover on markdown11 module

    XMLWordPrintable

Details

    • N/A
    • N/A
    • The markdown syntax has been moved to a contrib extension and it's been refactored to use flexmark-java instead of pegdown.

    Description

      I get lots of:

      markdown11/specific/code2.test [markdown/1.1, event/1.0](org.xwiki.rendering.test.integration.RenderingTest)  Time elapsed: 0.01 sec  <<< ERROR!
      java.lang.RuntimeException: Error creating extended parser class: null
      	at org.parboiled.Parboiled.createParser(Parboiled.java:58)
      	at org.pegdown.plugins.PegDownPlugins$Builder.withPlugin(PegDownPlugins.java:113)
      	at org.xwiki.rendering.internal.parser.markdown11.Markdown11StreamParser.parse(Markdown11StreamParser.java:74)
      	at org.xwiki.rendering.internal.parser.markdown11.Markdown11Parser.parse(Markdown11Parser.java:64)
      	at org.xwiki.rendering.test.integration.RenderingTest.runTestInternal(RenderingTest.java:130)
      	at org.xwiki.rendering.test.integration.RenderingTest.execute(RenderingTest.java:103)
      	at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      	at org.xwiki.rendering.test.integration.RenderingTestSuite$TestClassRunnerForParameters.runChild(RenderingTestSuite.java:188)
      	at org.xwiki.rendering.test.integration.RenderingTestSuite$TestClassRunnerForParameters.runChild(RenderingTestSuite.java:103)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      	at org.junit.runners.Suite.runChild(Suite.java:128)
      	at org.junit.runners.Suite.runChild(Suite.java:27)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
      	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
      	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      Caused by: java.lang.NullPointerException
      

      Attachments

        Activity

          People

            vmassol Vincent Massol
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: