Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 95674 invoked from network); 2 Nov 2009 04:57:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Nov 2009 04:57:26 -0000 Received: (qmail 95055 invoked by uid 500); 2 Nov 2009 04:57:26 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 94838 invoked by uid 500); 2 Nov 2009 04:57:24 -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 94826 invoked by uid 99); 2 Nov 2009 04:57:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Nov 2009 04:57:24 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI 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; Mon, 02 Nov 2009 04:57:22 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C748A234C498 for ; Sun, 1 Nov 2009 20:57:01 -0800 (PST) Message-ID: <1605085820.1257137821814.JavaMail.jira@brutus> Date: Mon, 2 Nov 2009 04:57:01 +0000 (UTC) From: "Don Brown (JIRA)" To: dev@felix.apache.org Subject: [jira] Reopened: (FELIX-1573) Occasional NPE in URLHandlersBundleStreamHandler In-Reply-To: <1624291213.1252453617564.JavaMail.jira@brutus> 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-1573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Don Brown reopened FELIX-1573: ------------------------------ I don't know how I missed this, but the class name is still wrong - should be: {code} org.apache.felix.framework.ModuleImpl$ModuleClassLoader {code} not, as it is now, {code} org.apache.felix.framework.searchpolicy.ModuleImpl$ModuleClassLoader {code} > Occasional NPE in URLHandlersBundleStreamHandler > ------------------------------------------------ > > Key: FELIX-1573 > URL: https://issues.apache.org/jira/browse/FELIX-1573 > Project: Felix > Issue Type: Bug > Components: Framework > Affects Versions: felix-1.8.1, felix-2.0.0 > Reporter: Don Brown > Assignee: Karl Pauls > Fix For: felix-2.0.1 > > > I'm occasionally seeing startup failures in my integration tests due to an NPE in URLHandlersBundleStreamHandler that looks like some sort of race condition: > - Started bundle org.springframework (5) > 08-Sep-2009 02:54:37 - Loading XML bean definitions from OSGi resource[bundle://6.0:0/META-INF/spring/extender/spring-event-bridge.xml|bnd.id=6|bnd.sym=org.springframework.osgi.extender] > 08-Sep-2009 02:54:37 - Unable to process extender configuration > 08-Sep-2009 02:54:37 org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from OSGi resource[bundle://6.0:0/META-INF/spring/extender/spring-event-bridge.xml|bnd.id=6|bnd.sym=org.springframework.osgi.extender]; nested exception is java.io.IOException: No framework context found > 08-Sep-2009 02:54:37 at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:349) > 08-Sep-2009 02:54:37 at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310) > 08-Sep-2009 02:54:37 at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143) > 08-Sep-2009 02:54:37 at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178) > 08-Sep-2009 02:54:37 at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149) > 08-Sep-2009 02:54:37 at org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:176) > 08-Sep-2009 02:54:37 at org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:142) > 08-Sep-2009 02:54:37 at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123) > 08-Sep-2009 02:54:37 at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422) > 08-Sep-2009 02:54:37 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352) > 08-Sep-2009 02:54:37 at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$301(AbstractDelegatedExecutionApplicationContext.java:69) > 08-Sep-2009 02:54:37 at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$1.run(AbstractDelegatedExecutionApplicationContext.java:186) > 08-Sep-2009 02:54:37 at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85) > 08-Sep-2009 02:54:37 at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.normalRefresh(AbstractDelegatedExecutionApplicationContext.java:182) > 08-Sep-2009 02:54:37 at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$NoDependenciesWaitRefreshExecutor.refresh(AbstractDelegatedExecutionApplicationContext.java:89) > 08-Sep-2009 02:54:37 at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:175) > 08-Sep-2009 02:54:37 at org.springframework.osgi.extender.internal.support.ExtenderConfiguration.(ExtenderConfiguration.java:169) > 08-Sep-2009 02:54:37 at org.springframework.osgi.extender.internal.activator.ContextLoaderListener.start(ContextLoaderListener.java:380) > 08-Sep-2009 02:54:37 at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589) > 08-Sep-2009 02:54:37 at org.apache.felix.framework.Felix.startBundle(Felix.java:1461) > 08-Sep-2009 02:54:37 at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984) > 08-Sep-2009 02:54:37 at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263) > 08-Sep-2009 02:54:37 at java.lang.Thread.run(Thread.java:595) > 08-Sep-2009 02:54:37 Caused by: java.io.IOException: No framework context found > 08-Sep-2009 02:54:37 at org.apache.felix.framework.URLHandlersBundleStreamHandler.openConnection(URLHandlersBundleStreamHandler.java:72) > 08-Sep-2009 02:54:37 at java.net.URL.openConnection(URL.java:943) > 08-Sep-2009 02:54:37 at org.springframework.osgi.io.OsgiBundleResource.getInputStream(OsgiBundleResource.java:180) > 08-Sep-2009 02:54:37 at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336) > 08-Sep-2009 02:54:37 ... 22 more -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.