The manifest of the bundle looks strange. Can you remove the % signs and try again?
regards, Karl On Wed, Feb 3, 2010 at 5:40 PM, Jackson, Bruce <[email protected]> wrote: > Hi Karl > > Sure. Here it is. This is the bundle AFTER I ran it through dx using the > command: > > dx --dex --verbose --output=org.jdom_1.0.0.v200803070505.jar > org.jdom_1.0.0.v200803070505.jar > > > On 03/02/2010 16:32, "Karl Pauls" <[email protected]> wrote: > >> Can you send me the bundle in question? >> >> regards, >> >> Karl >> >> On Wed, Feb 3, 2010 at 5:24 PM, Jackson, Bruce <[email protected]> wrote: >>> Hi there >>> >>> I've been following the instructions for getting Felix running on Android. >>> Outside of the example bundles which are supplied with the distribution zip >>> file, has anyone managed to get any 'standard' bundles, for example: >>> >>> org.jdom_1.0.0.v200803070505.jar >>> >>> running on Felix? I've dexified this bundle with no errors or warnings, >>> installed it into Felix (as bundle 5 in the exmaple below), but when I run >>> up >>> the shell and run ps, I get: >>> >>> -> ps >>> START LEVEL 1 >>> ID State Level Name >>> [ 0] [Active ] [ 0] System Bundle (1.4.0) >>> [ 1] [Active ] [ 1] Apache Felix Shell Service (1.0.2) >>> [ 2] [Active ] [ 1] Apache Felix Shell TUI (1.0.2) >>> [ 4] [Installed ] [ 1] English dictionary (1.0.0) >>> ERROR: Unable to get module class path. (java.lang.NullPointerException) >>> java.lang.NullPointerException >>> at >>> org.apache.harmony.luni.util.InputStreamExposer.expose(InputStreamExposer.jav >>> a:111) >>> at java.util.jar.Manifest.read(Manifest.java:212) >>> at java.util.jar.Manifest.<init>(Manifest.java:95) >>> at >>> org.apache.felix.framework.searchpolicy.ContentLoaderImpl.calculateContentPat >>> h(ContentLoaderImpl.java:344) >>> at >>> org.apache.felix.framework.searchpolicy.ContentLoaderImpl.initializeContentPa >>> th(ContentLoaderImpl.java:315) >>> at >>> org.apache.felix.framework.searchpolicy.ContentLoaderImpl.getClassPath(Conten >>> tLoaderImpl.java:90) >>> at >>> org.apache.felix.framework.searchpolicy.ContentLoaderImpl.getResource(Content >>> LoaderImpl.java:192) >>> at >>> org.apache.felix.framework.BundleInfo.getCurrentLocalizedHeader(BundleInfo.ja >>> va:221) >>> at org.apache.felix.framework.Felix.getBundleHeaders(Felix.java:1381) >>> at org.apache.felix.framework.BundleImpl.getHeaders(BundleImpl.java:145) >>> at org.apache.felix.framework.BundleImpl.getHeaders(BundleImpl.java:127) >>> at >>> org.apache.felix.shell.impl.PsCommandImpl.execute(PsCommandImpl.java:128) >>> at >>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activat >>> or.java:276) >>> at >>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:167) >>> at java.lang.Thread.run(Thread.java:1096) >>> Unable to execute command: java.lang.NullPointerException >>> java.lang.NullPointerException >>> at >>> org.apache.felix.framework.searchpolicy.ContentLoaderImpl.getResource(Content >>> LoaderImpl.java:194) >>> at >>> org.apache.felix.framework.BundleInfo.getCurrentLocalizedHeader(BundleInfo.ja >>> va:221) >>> at org.apache.felix.framework.Felix.getBundleHeaders(Felix.java:1381) >>> at org.apache.felix.framework.BundleImpl.getHeaders(BundleImpl.java:145) >>> at org.apache.felix.framework.BundleImpl.getHeaders(BundleImpl.java:127) >>> at >>> org.apache.felix.shell.impl.PsCommandImpl.execute(PsCommandImpl.java:128) >>> at >>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activat >>> or.java:276) >>> at >>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:167) >>> at java.lang.Thread.run(Thread.java:1096) >>> >>> Has anyone any idea what is causing this, and how to fix it? >>> >>> Thanks >>> >>> Bruce >>> >> >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- Karl Pauls [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

