Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-10618

ArrayIndexOutOfBoundsException in TikaExtractionOsgiIT

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.60.0
    • None
    • indexing, osgi
    • None

    Description

      Every time I run tests with the integration profile in oak-it-osgi, TikaExtractionOsgiIT outputs the following stack trace which clutters the tests output:

      java.lang.ArrayIndexOutOfBoundsException: Index 19 out of bounds for length 19
          at aQute.bnd.osgi.Clazz.parseClassFile(Clazz.java:579)
          at aQute.bnd.osgi.Clazz.parseClassFile(Clazz.java:497)
          at aQute.bnd.osgi.Clazz.parseClassFileWithCollector(Clazz.java:486)
          at aQute.bnd.osgi.Clazz.parseClassFile(Clazz.java:476)
          at aQute.bnd.osgi.Analyzer.analyzeJar(Analyzer.java:2196)
          at aQute.bnd.osgi.Analyzer.analyzeBundleClasspath(Analyzer.java:2102)
          at aQute.bnd.osgi.Analyzer.analyze(Analyzer.java:139)
          at aQute.bnd.osgi.Analyzer.calcManifest(Analyzer.java:618)
          at org.ops4j.pax.swissbox.bnd.BndUtils.createBundle(BndUtils.java:161)
          at org.ops4j.pax.url.wrap.internal.Connection.getInputStream(Connection.java:83)
          at java.base/java.net.URL.openStream(URL.java:1165)
          at org.ops4j.pax.exam.forked.provision.StreamUtils.streamCopy(StreamUtils.java:103)
          at org.ops4j.pax.exam.forked.provision.PlatformImpl.download(PlatformImpl.java:133)
          at org.ops4j.pax.exam.forked.ForkedTestContainer.downloadBundle(ForkedTestContainer.java:356)
          at org.ops4j.pax.exam.forked.ForkedTestContainer.installAndStartBundles(ForkedTestContainer.java:284)
          at org.ops4j.pax.exam.forked.ForkedTestContainer.start(ForkedTestContainer.java:165)
          at org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor.setUp(EagerSingleStagedReactor.java:86)
          at org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor.beforeClass(EagerSingleStagedReactor.java:136)
          at org.ops4j.pax.exam.spi.reactors.ReactorManager.beforeClass(ReactorManager.java:457)
          at org.ops4j.pax.exam.junit.impl.ProbeRunner.run(ProbeRunner.java:97)
          at org.ops4j.pax.exam.junit.PaxExam.run(PaxExam.java:93)
          at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
          at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
          at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
          at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
          at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
          at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
          at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
          at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
      java.lang.ArrayIndexOutOfBoundsException: Index 19 out of bounds for length 19
          at aQute.bnd.osgi.Clazz.parseClassFile(Clazz.java:579)
          at aQute.bnd.osgi.Clazz.parseClassFile(Clazz.java:497)
          at aQute.bnd.osgi.Clazz.parseClassFileWithCollector(Clazz.java:486)
          at aQute.bnd.osgi.Clazz.parseClassFile(Clazz.java:476)
          at aQute.bnd.osgi.Analyzer.analyzeJar(Analyzer.java:2196)
          at aQute.bnd.osgi.Analyzer.analyzeBundleClasspath(Analyzer.java:2102)
          at aQute.bnd.osgi.Analyzer.analyze(Analyzer.java:139)
          at aQute.bnd.osgi.Analyzer.calcManifest(Analyzer.java:618)
          at org.ops4j.pax.swissbox.bnd.BndUtils.createBundle(BndUtils.java:161)
          at org.ops4j.pax.url.wrap.internal.Connection.getInputStream(Connection.java:83)
          at java.base/java.net.URL.openStream(URL.java:1165)
          at org.ops4j.pax.exam.forked.provision.StreamUtils.streamCopy(StreamUtils.java:103)
          at org.ops4j.pax.exam.forked.provision.PlatformImpl.download(PlatformImpl.java:133)
          at org.ops4j.pax.exam.forked.ForkedTestContainer.downloadBundle(ForkedTestContainer.java:356)
          at org.ops4j.pax.exam.forked.ForkedTestContainer.installAndStartBundles(ForkedTestContainer.java:284)
          at org.ops4j.pax.exam.forked.ForkedTestContainer.start(ForkedTestContainer.java:165)
          at org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor.setUp(EagerSingleStagedReactor.java:86)
          at org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor.beforeClass(EagerSingleStagedReactor.java:136)
          at org.ops4j.pax.exam.spi.reactors.ReactorManager.beforeClass(ReactorManager.java:457)
          at org.ops4j.pax.exam.junit.impl.ProbeRunner.run(ProbeRunner.java:97)
          at org.ops4j.pax.exam.junit.PaxExam.run(PaxExam.java:93)
          at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
          at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
          at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
          at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
          at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
          at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
          at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
          at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
      java.lang.ArrayIndexOutOfBoundsException: Index 19 out of bounds for length 19
          at aQute.bnd.osgi.Clazz.parseClassFile(Clazz.java:579)
          at aQute.bnd.osgi.Clazz.parseClassFile(Clazz.java:497)
          at aQute.bnd.osgi.Clazz.parseClassFileWithCollector(Clazz.java:486)
          at aQute.bnd.osgi.Clazz.parseClassFile(Clazz.java:476)
          at aQute.bnd.osgi.Analyzer.analyzeJar(Analyzer.java:2196)
          at aQute.bnd.osgi.Analyzer.analyzeBundleClasspath(Analyzer.java:2102)
          at aQute.bnd.osgi.Analyzer.analyze(Analyzer.java:139)
          at aQute.bnd.osgi.Analyzer.calcManifest(Analyzer.java:618)
          at org.ops4j.pax.swissbox.bnd.BndUtils.createBundle(BndUtils.java:161)
          at org.ops4j.pax.url.wrap.internal.Connection.getInputStream(Connection.java:83)
          at java.base/java.net.URL.openStream(URL.java:1165)
          at org.ops4j.pax.exam.forked.provision.StreamUtils.streamCopy(StreamUtils.java:103)
          at org.ops4j.pax.exam.forked.provision.PlatformImpl.download(PlatformImpl.java:133)
          at org.ops4j.pax.exam.forked.ForkedTestContainer.downloadBundle(ForkedTestContainer.java:356)
          at org.ops4j.pax.exam.forked.ForkedTestContainer.installAndStartBundles(ForkedTestContainer.java:284)
          at org.ops4j.pax.exam.forked.ForkedTestContainer.start(ForkedTestContainer.java:165)
          at org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor.setUp(EagerSingleStagedReactor.java:86)
          at org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor.beforeClass(EagerSingleStagedReactor.java:136)
          at org.ops4j.pax.exam.spi.reactors.ReactorManager.beforeClass(ReactorManager.java:457)
          at org.ops4j.pax.exam.junit.impl.ProbeRunner.run(ProbeRunner.java:97)
          at org.ops4j.pax.exam.junit.PaxExam.run(PaxExam.java:93)
          at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
          at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
          at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
          at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
          at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
          at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
          at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
          at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
      java.lang.ArrayIndexOutOfBoundsException: Index 19 out of bounds for length 19
          at aQute.bnd.osgi.Clazz.parseClassFile(Clazz.java:579)
          at aQute.bnd.osgi.Clazz.parseClassFile(Clazz.java:497)
          at aQute.bnd.osgi.Clazz.parseClassFileWithCollector(Clazz.java:486)
          at aQute.bnd.osgi.Clazz.parseClassFile(Clazz.java:476)
          at aQute.bnd.osgi.Analyzer.analyzeJar(Analyzer.java:2196)
          at aQute.bnd.osgi.Analyzer.analyzeBundleClasspath(Analyzer.java:2102)
          at aQute.bnd.osgi.Analyzer.analyze(Analyzer.java:139)
          at aQute.bnd.osgi.Analyzer.calcManifest(Analyzer.java:618)
          at org.ops4j.pax.swissbox.bnd.BndUtils.createBundle(BndUtils.java:161)
          at org.ops4j.pax.url.wrap.internal.Connection.getInputStream(Connection.java:83)
          at java.base/java.net.URL.openStream(URL.java:1165)
          at org.ops4j.pax.exam.forked.provision.StreamUtils.streamCopy(StreamUtils.java:103)
          at org.ops4j.pax.exam.forked.provision.PlatformImpl.download(PlatformImpl.java:133)
          at org.ops4j.pax.exam.forked.ForkedTestContainer.downloadBundle(ForkedTestContainer.java:356)
          at org.ops4j.pax.exam.forked.ForkedTestContainer.installAndStartBundles(ForkedTestContainer.java:284)
          at org.ops4j.pax.exam.forked.ForkedTestContainer.start(ForkedTestContainer.java:165)
          at org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor.setUp(EagerSingleStagedReactor.java:86)
          at org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor.beforeClass(EagerSingleStagedReactor.java:136)
          at org.ops4j.pax.exam.spi.reactors.ReactorManager.beforeClass(ReactorManager.java:457)
          at org.ops4j.pax.exam.junit.impl.ProbeRunner.run(ProbeRunner.java:97)
          at org.ops4j.pax.exam.junit.PaxExam.run(PaxExam.java:93)
          at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
          at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
          at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
          at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
          at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
          at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
          at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
          at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
      java.lang.ArrayIndexOutOfBoundsException: Index 19 out of bounds for length 19
          at aQute.bnd.osgi.Clazz.parseClassFile(Clazz.java:579)
          at aQute.bnd.osgi.Clazz.parseClassFile(Clazz.java:497)
          at aQute.bnd.osgi.Clazz.parseClassFileWithCollector(Clazz.java:486)
          at aQute.bnd.osgi.Clazz.parseClassFile(Clazz.java:476)
          at aQute.bnd.osgi.Analyzer.analyzeJar(Analyzer.java:2196)
          at aQute.bnd.osgi.Analyzer.analyzeBundleClasspath(Analyzer.java:2102)
          at aQute.bnd.osgi.Analyzer.analyze(Analyzer.java:139)
          at aQute.bnd.osgi.Analyzer.calcManifest(Analyzer.java:618)
          at org.ops4j.pax.swissbox.bnd.BndUtils.createBundle(BndUtils.java:161)
          at org.ops4j.pax.url.wrap.internal.Connection.getInputStream(Connection.java:83)
          at java.base/java.net.URL.openStream(URL.java:1165)
          at org.ops4j.pax.exam.forked.provision.StreamUtils.streamCopy(StreamUtils.java:103)
          at org.ops4j.pax.exam.forked.provision.PlatformImpl.download(PlatformImpl.java:133)
          at org.ops4j.pax.exam.forked.ForkedTestContainer.downloadBundle(ForkedTestContainer.java:356)
          at org.ops4j.pax.exam.forked.ForkedTestContainer.installAndStartBundles(ForkedTestContainer.java:284)
          at org.ops4j.pax.exam.forked.ForkedTestContainer.start(ForkedTestContainer.java:165)
          at org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor.setUp(EagerSingleStagedReactor.java:86)
          at org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor.beforeClass(EagerSingleStagedReactor.java:136)
          at org.ops4j.pax.exam.spi.reactors.ReactorManager.beforeClass(ReactorManager.java:457)
          at org.ops4j.pax.exam.junit.impl.ProbeRunner.run(ProbeRunner.java:97)
          at org.ops4j.pax.exam.junit.PaxExam.run(PaxExam.java:93)
          at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
          at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
          at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
          at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
          at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
          at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
          at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
          at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) 

      Attachments

        Activity

          People

            Unassigned Unassigned
            adulceanu Andrei Dulceanu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: