org.osgi.framework.BundleException

Only the system bundle can have extension bundles.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web6087

  • Only the system bundle can have extension bundles.
  • Only the system bundle can have extension bundles.
  • via mendix.com by Unknown author, 1 year ago
    Unable to cache bundle: file:model/bundles/project.jar
  • Stack trace

    • org.osgi.framework.BundleException: Only the system bundle can have extension bundles. at org.apache.felix.framework.util.manifestparser.ManifestParser.parseExtensionBundleHeader(ManifestParser.java:1492) at org.apache.felix.framework.util.manifestparser.ManifestParser.checkExtensionBundle(ManifestParser.java:1207) at org.apache.felix.framework.util.manifestparser.ManifestParser.<init>(ManifestParser.java:267) at org.apache.felix.framework.BundleRevisionImpl.<init>(BundleRevisionImpl.java:114) at org.apache.felix.framework.BundleImpl.createRevision(BundleImpl.java:1196) at org.apache.felix.framework.BundleImpl.<init>(BundleImpl.java:95) at org.apache.felix.framework.Felix.installBundle(Felix.java:2732) at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:165) at com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner.install(BundleProvisioner.java:446) at com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner.installBundles(BundleProvisioner.java:208) at com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishRuntimeBuilder.build(OSGiGlassFishRuntimeBuilder.java:139) at org.glassfish.embeddable.GlassFishRuntime._bootstrap(GlassFishRuntime.java:157) at org.glassfish.embeddable.GlassFishRuntime.bootstrap(GlassFishRuntime.java:110) at com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch(GlassFishMain.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:97) at com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:55)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    10 times, 9 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    4 more bugmates