Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 52863 invoked from network); 12 Feb 2010 14:52:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Feb 2010 14:52:49 -0000 Received: (qmail 58293 invoked by uid 500); 12 Feb 2010 14:52:49 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 58226 invoked by uid 500); 12 Feb 2010 14:52:49 -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 58148 invoked by uid 99); 12 Feb 2010 14:52:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Feb 2010 14:52:49 +0000 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; Fri, 12 Feb 2010 14:52:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3076C234C052 for ; Fri, 12 Feb 2010 06:52:28 -0800 (PST) Message-ID: <1416390719.233281265986348197.JavaMail.jira@brutus.apache.org> Date: Fri, 12 Feb 2010 14:52:28 +0000 (UTC) From: "Lars Heinemann (JIRA)" To: dev@felix.apache.org Subject: [jira] Updated: (FELIX-2071) Missing checks inside ModuleImpl (in Framework) which causes exceptions In-Reply-To: <1661284532.233271265986348148.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FELIX-2071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lars Heinemann updated FELIX-2071: ---------------------------------- Attachment: ModuleImpl.java.patch Applied patch > Missing checks inside ModuleImpl (in Framework) which causes exceptions > ----------------------------------------------------------------------- > > Key: FELIX-2071 > URL: https://issues.apache.org/jira/browse/FELIX-2071 > Project: Felix > Issue Type: Improvement > Components: Framework > Affects Versions: felix-2.0.3 > Reporter: Lars Heinemann > Attachments: ModuleImpl.java.patch > > > The method > {code} > public Class getClassByDelegation(String name) throws ClassNotFoundException > {code} > lacks check for null or empty name parameter which causes trouble... > {code} > at java.lang.String.charAt(String.java:686) > at org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:635) > at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1543) > at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:887) > {code} > Please review and apply the patch. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.