java.lang.ArrayIndexOutOfBoundsException: -1

felix-users | Reto Bachmann-Gmür | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    felix security: Bundle in cache doesn't pass security check anymore.

    felix-users | 4 years ago | Reto Bachmann-Gmür
    java.lang.ArrayIndexOutOfBoundsException: -1

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      -1

      at org.apache.felix.framework.security.verifier.BundleDNParser.getRootChains()
    2. Apache Felix Security Provider
      BundleDNParser.checkDNChains
      1. org.apache.felix.framework.security.verifier.BundleDNParser.getRootChains(BundleDNParser.java:470)
      2. org.apache.felix.framework.security.verifier.BundleDNParser._getDNChains(BundleDNParser.java:246)
      3. org.apache.felix.framework.security.verifier.BundleDNParser.checkDNChains(BundleDNParser.java:145)
      3 frames
    3. Apache Felix Framework
      Felix.start
      1. org.apache.felix.framework.SecurityProviderImpl.checkBundle(SecurityProviderImpl.java:63)
      2. org.apache.felix.framework.Felix.setBundleProtectionDomain(Felix.java:854)
      3. org.apache.felix.framework.Felix.init(Felix.java:805)
      4. org.apache.felix.framework.Felix.start(Felix.java:882)
      4 frames
    4. org.apache.clerezza
      Main.main
      1. org.apache.clerezza.platform.launcher.ClerezzaApp.start(ClerezzaApp.java:184)
      2. org.apache.clerezza.platform.launcher.ClerezzaApp.start(ClerezzaApp.java:167)
      3. org.apache.clerezza.platform.launcher.Main.main(Main.java:34)
      3 frames