Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 27325 invoked from network); 14 Jun 2008 13:40:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Jun 2008 13:40:12 -0000 Received: (qmail 12235 invoked by uid 500); 14 Jun 2008 13:40:08 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 12173 invoked by uid 500); 14 Jun 2008 13:40:08 -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 12160 invoked by uid 99); 14 Jun 2008 13:40:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Jun 2008 06:40:07 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Jun 2008 13:39:26 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EC6E4234C139 for ; Sat, 14 Jun 2008 06:39:44 -0700 (PDT) Message-ID: <1562184732.1213450784954.JavaMail.jira@brutus> Date: Sat, 14 Jun 2008 06:39:44 -0700 (PDT) From: "Richard S. Hall (JIRA)" To: dev@felix.apache.org Subject: [jira] Commented: (FELIX-606) Exception when loading a class through DynamicImport-Package In-Reply-To: <1949379579.1213360005370.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FELIX-606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12605075#action_12605075 ] Richard S. Hall commented on FELIX-606: --------------------------------------- Yes, I think I see the problem. Let me know if the attached patch fixes it. > Exception when loading a class through DynamicImport-Package > ------------------------------------------------------------ > > Key: FELIX-606 > URL: https://issues.apache.org/jira/browse/FELIX-606 > Project: Felix > Issue Type: Bug > Components: Framework > Affects Versions: felix-1.0.4 > Reporter: Guillaume Nodet > Attachments: FELIX-606.patch > > > ERROR: Unable to dynamically import package. (java.lang.ArrayStoreException) > java.lang.ArrayStoreException > at java.lang.System.arraycopy(Native Method) > at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.attemptDynamicImport(R4SearchPolicyCore.java:711) > at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.searchDynamicImports(R4SearchPolicyCore.java:526) > at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClassOrResource(R4SearchPolicyCore.java:480) > at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClass(R4SearchPolicyCore.java:187) > at org.apache.felix.framework.searchpolicy.R4SearchPolicy.findClass(R4SearchPolicy.java:45) > at org.apache.felix.moduleloader.ModuleImpl.getClass(ModuleImpl.java:146) > at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1501) > at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:358) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.