Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-137386

RuntimeException: Error creating extended parser class: null on MarkdownConverterTest#testLiferayToHtmlSerializer

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 7.2.X, 7.3.X
    • Fix Version/s: None
    • Component/s: Knowledge Base widget
    • Labels:

      Description

      modules-unit-jdk8

      [exec] com.liferay.knowledge.base.markdown.converter.internal.MarkdownConverterTest > testLiferayToHtmlSerializer STARTED
           [exec] 
           [exec] com.liferay.knowledge.base.markdown.converter.internal.MarkdownConverterTest > testLiferayToHtmlSerializer FAILED
           [exec]     java.lang.RuntimeException: Error creating extended parser class: null
           [exec]         at org.parboiled.Parboiled.createParser(Parboiled.java:58)
           [exec]         at com.liferay.knowledge.base.markdown.converter.internal.pegdown.LiferayPegDownConverter.<init>(LiferayPegDownConverter.java:32)
           [exec]         at com.liferay.knowledge.base.markdown.converter.internal.pegdown.factory.MarkdownConverterFactoryImpl.create(MarkdownConverterFactoryImpl.java:33)
           [exec]         at com.liferay.knowledge.base.markdown.converter.internal.MarkdownConverterTest.testLiferayToHtmlSerializer(MarkdownConverterTest.java:47)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]         at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
           [exec]         at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
           [exec]         at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
           [exec]         at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]         at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
           [exec]         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
           [exec]         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
           [exec]         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
           [exec]         at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
           [exec]         at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
           [exec]         at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
           [exec]         at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
           [exec]         at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]         at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
           [exec]         at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110)
           [exec]         at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)
           [exec]         at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)
           [exec]         at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)
           [exec]         at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]         at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
           [exec]         at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
           [exec]         at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
           [exec]         at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
           [exec]         at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
           [exec]         at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:119)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]         at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]         at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
           [exec]         at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
           [exec]         at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)
           [exec]         at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)
           [exec]         at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:414)
           [exec]         at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
           [exec]         at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
           [exec]         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
           [exec]         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
           [exec]         at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
           [exec]         at java.lang.Thread.run(Thread.java:745)
           [exec] 
           [exec]         Caused by:
           [exec]         java.lang.IllegalStateException
           [exec]             at org.objectweb.asm.tree.ClassNode.<init>(ClassNode.java:144)
           [exec]             at org.parboiled.transform.ParserClassNode.<init>(ParserClassNode.java:41)
           [exec]             at org.parboiled.transform.ParserTransformer.extendParserClass(ParserTransformer.java:43)
           [exec]             at org.parboiled.transform.ParserTransformer.transformParser(ParserTransformer.java:38)
           [exec]             at org.parboiled.Parboiled.createParser(Parboiled.java:54)
           [exec]             ... 54 more
           [exec] There were failing tests. See the report at: file:///opt/dev/projects/github/liferay-portal-7.3.x/modules/apps/knowledge-base/knowledge-base-markdown-converter-impl/build/reports/tests/test/index.html
           [exec] 
      

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            sylvia.luan Sylvia Luan
            Participants of an Issue:
            Recent user:
            Yvonne Han
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              13 weeks, 3 days ago

                Packages

                Version Package