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.java: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.calculateContentPath(ContentLoaderImpl.java:344)
    at 
org.apache.felix.framework.searchpolicy.ContentLoaderImpl.initializeContentPath(ContentLoaderImpl.java:315)
    at 
org.apache.felix.framework.searchpolicy.ContentLoaderImpl.getClassPath(ContentLoaderImpl.java:90)
    at 
org.apache.felix.framework.searchpolicy.ContentLoaderImpl.getResource(ContentLoaderImpl.java:192)
    at 
org.apache.felix.framework.BundleInfo.getCurrentLocalizedHeader(BundleInfo.java: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(Activator.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(ContentLoaderImpl.java:194)
    at 
org.apache.felix.framework.BundleInfo.getCurrentLocalizedHeader(BundleInfo.java: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(Activator.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

Reply via email to