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

FileImplExtractTest#testPptx NoClassDefFoundError: com/zaxxer/sparsebits/SparseBitSet

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: Master
    • Fix Version/s: None
    • Component/s: Core Infrastructure
    • Labels:

      Description

      Testray

      Jenkins

      Failure code

      junit.framework.AssertionFailedError
      

      I believe it is related to this error though

          [junit] java.lang.NoClassDefFoundError: com/zaxxer/sparsebits/SparseBitSet
          [junit] 	at org.apache.poi.xslf.usermodel.XSLFSheet.<init>(XSLFSheet.java:86)
          [junit] 	at org.apache.poi.xslf.usermodel.XSLFSlideMaster.<init>(XSLFSlideMaster.java:63)
          [junit] 	at org.apache.poi.ooxml.POIXMLFactory.createDocumentPart(POIXMLFactory.java:61)
          [junit] 	at org.apache.poi.ooxml.POIXMLDocumentPart.read(POIXMLDocumentPart.java:684)
          [junit] 	at org.apache.poi.ooxml.POIXMLDocument.load(POIXMLDocument.java:180)
          [junit] 	at org.apache.poi.xslf.usermodel.XMLSlideShow.<init>(XMLSlideShow.java:103)
          [junit] 	at org.apache.poi.xslf.extractor.XSLFPowerPointExtractor.<init>(XSLFPowerPointExtractor.java:63)
          [junit] 	at org.apache.tika.parser.microsoft.ooxml.OOXMLExtractorFactory.tryXSLF(OOXMLExtractorFactory.java:290)
          [junit] 	at org.apache.tika.parser.microsoft.ooxml.OOXMLExtractorFactory.parse(OOXMLExtractorFactory.java:163)
          [junit] 	at org.apache.tika.parser.microsoft.ooxml.OOXMLParser.parse(OOXMLParser.java:113)
          [junit] 	at org.apache.tika.parser.ParserDecorator.parse(ParserDecorator.java:188)
          [junit] 	at org.apache.tika.parser.ParserDecorator.parse(ParserDecorator.java:188)
          [junit] 	at org.apache.tika.parser.ParserDecorator.parse(ParserDecorator.java:188)
          [junit] 	at org.apache.tika.parser.ParserDecorator.parse(ParserDecorator.java:188)
          [junit] 	at org.apache.tika.parser.ParserDecorator.parse(ParserDecorator.java:188)
          [junit] 	at org.apache.tika.parser.ParserDecorator.parse(ParserDecorator.java:188)
          [junit] 	at org.apache.tika.parser.ParserDecorator.parse(ParserDecorator.java:188)
          [junit] 	at org.apache.tika.parser.ParserDecorator.parse(ParserDecorator.java:188)
          [junit] 	at org.apache.tika.parser.ParserDecorator.parse(ParserDecorator.java:188)
          [junit] 	at org.apache.tika.parser.ParserDecorator.parse(ParserDecorator.java:188)
          [junit] 	at org.apache.tika.parser.ParserDecorator.parse(ParserDecorator.java:188)
          [junit] 	at org.apache.tika.parser.ParserDecorator.parse(ParserDecorator.java:188)
          [junit] 	at org.apache.tika.parser.ParserDecorator.parse(ParserDecorator.java:188)
          [junit] 	at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280)
          [junit] 	at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280)
          [junit] 	at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:143)
          [junit] 	at org.apache.tika.Tika.parseToString(Tika.java:527)
          [junit] 	at com.liferay.portal.util.FileImpl._parseToString(FileImpl.java:1134)
          [junit] 	at com.liferay.portal.util.FileImpl.extractText(FileImpl.java:447)
          [junit] 	at com.liferay.portal.util.FileImpl.extractText(FileImpl.java:390)
          [junit] 	at com.liferay.portal.util.FileImplExtractTest.extractText(FileImplExtractTest.java:198)
          [junit] 	at com.liferay.portal.util.FileImplExtractTest.testPptx(FileImplExtractTest.java:140)
          [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          [junit] 	at java.lang.reflect.Method.invoke(Method.java:498)
          [junit] 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
          [junit] 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
          [junit] 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
          [junit] 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
          [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
          [junit] 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
          [junit] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
          [junit] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
          [junit] 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
          [junit] 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
          [junit] 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
          [junit] 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
          [junit] 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
          [junit] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
          [junit] 	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38)
          [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:532)
          [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1179)
          [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1030)
          [junit] Caused by: java.lang.ClassNotFoundException: com.zaxxer.sparsebits.SparseBitSet
          [junit] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
          [junit] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
          [junit] 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
          [junit] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
          [junit] 	... 54 more
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tina.tian Tina Tian
              Reporter:
              michael.eguina Michael Eguina
              Participants of an Issue:
              Recent user:
              Tomáš Polešovský
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 8 weeks, 4 days ago

                  Packages

                  Version Package