org.osgi.framework.BundleException: Could not create bundle object.


Samebug tips1

Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. Applications can subclass this class to indicate similar exceptions.


7 months ago
Expert tip

Solutions on the web59

Solution icon of oraclecommunity
via Oracle Community by k.Ramu, 1 year ago
Could not create bundle object.

Solution icon of stackoverflow
Could not create bundle object.

Solution icon of web
Could not create bundle object.

Solution icon of stackoverflow
via Stack Overflow by DES
, 1 year ago
Could not create bundle object.

Solution icon of stackoverflow
Could not create bundle object.

Solution icon of web
Could not create bundle object.

Solution icon of web
via developpez.net by Unknown author, 1 year ago
Could not create bundle object.

Solution icon of web
Could not create bundle object.

Solution icon of stackoverflow
via Stack Overflow by Mani Rathinam
, 2 months ago
Could not create bundle object.

Solution icon of web
Could not create bundle object.

Stack trace

org.osgi.framework.BundleException: Could not create bundle object.
	at org.apache.felix.framework.Felix.installBundle(Felix.java:2785)
	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:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:491)
	at com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:97)
	at com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:55)
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.rangeCheck(ArrayList.java:638)
	at java.util.ArrayList.get(ArrayList.java:414)
	at org.apache.felix.framework.ExtensionManager.addExtensionBundle(ExtensionManager.java:401)
	at org.apache.felix.framework.Felix.installBundle(Felix.java:2751)
	... 13 more

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

2 times, 5 hours ago
18 times, 13 hours ago
5 times, 3 days ago
Once, 1 week ago
13 times, 1 week ago
251 more bugmates