[ https://issues.apache.org/jira/browse/FELIX-3674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Pauls updated FELIX-3674: ------------------------------ Description: http://www.mail-archive.com/users@felix.apache.org/msg12978.html Hi, i trying to work with apache felix on android. My Bundles starting without any problems but i found one problem. If i trying to load a ressource property: ResourceBundle bundle = ResourceBundle.getBundle("bundle0.services.propertyfile"); i getting following nullpointer exception: 09-21 12:26:08.450: I/System.out(2178): Caused by: java.lang.NullPointerException 09-21 12:26:08.450: I/System.out(2178): at org.apache.felix.framework.BundleWiringImpl.doImplicitBootDelegation(BundleWiringImpl.java:1626) 09-21 12:26:08.450: I/System.out(2178): at org.apache.felix.framework.BundleWiringImpl.searchDynamicImports(BundleWiringImpl.java:1603) 09-21 12:26:08.450: I/System.out(2178): at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1439) 09-21 12:26:08.450: I/System.out(2178): at org.apache.felix.framework.BundleWiringImpl.getResourceByDelegation(BundleWiringImpl.java:1360) 09-21 12:26:08.450: I/System.out(2178): at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.getResource(BundleWiringImpl.java:2256) 09-21 12:26:08.450: I/System.out(2178): at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:434) 09-21 12:26:08.450: I/System.out(2178): at java.util.ResourceBundle.handleGetBundle(ResourceBundle.java:514) 09-21 12:26:08.450: I/System.out(2178): at java.util.ResourceBundle.getBundle(ResourceBundle.java:227) 09-21 12:26:08.460: I/System.out(2178): at java.util.ResourceBundle.getBundle(ResourceBundle.java:140) This problem occurs also if i trying to load jTDS driver to conntect to a database, because they trying to load some property file. I actually running the release version of felix and components. Following components of felix im using: felix.jar bundlerespository.jar ipojo.jar ipojo-annotation.jar ipojo-arch.jar shell.jar Regards, mustafa was: http://www.mail-archive.com/users@felix.apache.org/msg12978.html Hi, i trying to work with apache felix on android. My Bundles starting without any problems but i found one problem. If i trying to load a ressource property: ResourceBundle bundle = ResourceBundle.getBundle("bundle0.services.propertyfile"); i getting following nullpointer exception: 09-21 12:26:08.450: I/System.out(2178): Caused by: java.lang.NullPointerException 09-21 12:26:08.450: I/System.out(2178): at org.apache.felix.framework.BundleWiringImpl.doImplicitBootDelegation(BundleWiringImpl.java:1626) 09-21 12:26:08.450: I/System.out(2178): at org.apache.felix.framework.BundleWiringImpl.searchDynamicImports(BundleWiringImpl.java:1603) 09-21 12:26:08.450: I/System.out(2178): at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1439) 09-21 12:26:08.450: I/System.out(2178): at org.apache.felix.framework.BundleWiringImpl.getResourceByDelegation(BundleWiringImpl.java:1360) 09-21 12:26:08.450: I/System.out(2178): at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.getResource(BundleWiringImpl.java:2256) 09-21 12:26:08.450: I/System.out(2178): at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:434) 09-21 12:26:08.450: I/System.out(2178): at java.util.ResourceBundle.handleGetBundle(ResourceBundle.java:514) 09-21 12:26:08.450: I/System.out(2178): at java.util.ResourceBundle.getBundle(ResourceBundle.java:227) 09-21 12:26:08.460: I/System.out(2178): at java.util.ResourceBundle.getBundle(ResourceBundle.java:140) This problem occurs also if i trying to load jTDS driver to conntect to a database, because they trying to load some property file. I actually running the release version of felix and components. Following components of felix im using: felix.jar bundlerespository.jar ipojo.jar ipojo-annotation.jar ipojo-arch.jar shell.jar Regards, mustafa > Embedded Felix on Android - loading Ressource > ---------------------------------------------- > > Key: FELIX-3674 > URL: https://issues.apache.org/jira/browse/FELIX-3674 > Project: Felix > Issue Type: Bug > Components: Framework > Affects Versions: framework-4.0.3 > Environment: Android > Reporter: Mustafa > Assignee: Karl Pauls > Priority: Critical > > http://www.mail-archive.com/users@felix.apache.org/msg12978.html > Hi, > i trying to work with apache felix on android. My Bundles starting without > any problems but i found one problem. If i trying to load a ressource > property: > ResourceBundle bundle = > ResourceBundle.getBundle("bundle0.services.propertyfile"); > i getting following nullpointer exception: > 09-21 12:26:08.450: I/System.out(2178): Caused by: > java.lang.NullPointerException > 09-21 12:26:08.450: I/System.out(2178): at > org.apache.felix.framework.BundleWiringImpl.doImplicitBootDelegation(BundleWiringImpl.java:1626) > 09-21 12:26:08.450: I/System.out(2178): at > org.apache.felix.framework.BundleWiringImpl.searchDynamicImports(BundleWiringImpl.java:1603) > 09-21 12:26:08.450: I/System.out(2178): at > org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1439) > 09-21 12:26:08.450: I/System.out(2178): at > org.apache.felix.framework.BundleWiringImpl.getResourceByDelegation(BundleWiringImpl.java:1360) > 09-21 12:26:08.450: I/System.out(2178): at > org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.getResource(BundleWiringImpl.java:2256) > 09-21 12:26:08.450: I/System.out(2178): at > java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:434) > 09-21 12:26:08.450: I/System.out(2178): at > java.util.ResourceBundle.handleGetBundle(ResourceBundle.java:514) > 09-21 12:26:08.450: I/System.out(2178): at > java.util.ResourceBundle.getBundle(ResourceBundle.java:227) > 09-21 12:26:08.460: I/System.out(2178): at > java.util.ResourceBundle.getBundle(ResourceBundle.java:140) > This problem occurs also if i trying to load jTDS driver to conntect to a > database, because they trying to load some property file. > I actually running the release version of felix and components. > Following components of felix im using: > felix.jar > bundlerespository.jar > ipojo.jar > ipojo-annotation.jar > ipojo-arch.jar > shell.jar > Regards, > mustafa -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira