Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 754FBEC08 for ; Tue, 12 Feb 2013 20:21:17 +0000 (UTC) Received: (qmail 52515 invoked by uid 500); 12 Feb 2013 20:21:13 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 52449 invoked by uid 500); 12 Feb 2013 20:21:13 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 52389 invoked by uid 99); 12 Feb 2013 20:21:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Feb 2013 20:21:13 +0000 Date: Tue, 12 Feb 2013 20:21:13 +0000 (UTC) From: "Karl Pauls (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Reopened] (FELIX-3893) Bundle in cache doesn't pass security check anymore. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FELIX-3893?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Karl Pauls reopened FELIX-3893: ------------------------------- =20 > Bundle in cache doesn't pass security check anymore. > ---------------------------------------------------- > > Key: FELIX-3893 > URL: https://issues.apache.org/jira/browse/FELIX-3893 > Project: Felix > Issue Type: Bug > Components: Framework Security > Affects Versions: framework.security-2.0.1 > Reporter: Reto Bachmann-Gm=C3=BCr > Assignee: Karl Pauls > Priority: Blocker > Fix For: framework.security-2.2.0 > > > After updating the felix component in Clerezza clerezza starts normally t= he first time. On subsequent starts it shows Errors. > The first one being: > ERROR: Bundle in cache doesn't pass security check anymore. > (java.lang.ArrayIndexOutOfBoundsException: -1) > java.lang.ArrayIndexOutOfBoundsException: -1 > =09at org.apache.felix.framework.security.verifier.BundleDNParser.getRoot= Chains(BundleDNParser.java:470) > =09at org.apache.felix.framework.security.verifier.BundleDNParser._getDNC= hains(BundleDNParser.java:246) > =09at org.apache.felix.framework.security.verifier.BundleDNParser.checkDN= Chains(BundleDNParser.java:145) > =09at org.apache.felix.framework.SecurityProviderImpl.checkBundle(Securit= yProviderImpl.java:63) > =09at org.apache.felix.framework.Felix.setBundleProtectionDomain(Felix.ja= va:854) > =09at org.apache.felix.framework.Felix.init(Felix.java:805) > =09at org.apache.felix.framework.Felix.start(Felix.java:882) > =09at org.apache.clerezza.platform.launcher.ClerezzaApp.start(ClerezzaApp= .java:184) > =09at org.apache.clerezza.platform.launcher.ClerezzaApp.start(ClerezzaApp= .java:167) > =09at org.apache.clerezza.platform.launcher.Main.main(Main.java:34) > To reproduce the error: > Compile the current trunk version from: https://svn.apache.org/repos/asf/= incubator/clerezza/trunk/ > cd platform.launcher.tdb/target > java -Xmx1024M -XX:MaxPermSize=3D400M -Xss512k -jar platform.launcher.tdb= -0.6-incubating-SNAPSHOT.jar -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira