org.osgi.framework.BundleException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • [Axis2 1.4] Hot deployment fails
    via by R.F.J.G.Verbunt@delagelanden.com,
  • Build fails when Sonar is active, error as below: {noformat} [INFO] Cobertura Report generation was successful. [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1:23.941s [INFO] Finished at: Mon May 16 11:45:17 BST 2011 [INFO] Final Memory: 30M/400M [INFO] ------------------------------------------------------------------------ [INFO] Execute org.codehaus.mojo:cobertura-maven-plugin:2.4:cobertura done: 45150 ms [INFO] Execute maven plugin cobertura-maven-plugin done: 45151 ms [INFO] Sensor CoberturaSensor... [INFO] parsing /root/.hudson/jobs/***/workspace/***/target/site/cobertura/coverage.xml --------------------------------------------------- constituent[0]: file:/opt/storage/apache-maven-3.0.2/lib/sisu-inject-plexus-1.4.3.1.jar constituent[1]: file:/opt/storage/apache-maven-3.0.2/lib/aether-impl-1.9.jar constituent[2]: file:/opt/storage/apache-maven-3.0.2/lib/maven-embedder-3.0.2.jar constituent[3]: file:/opt/storage/apache-maven-3.0.2/lib/wagon-provider-api-1.0-beta-7.jar constituent[4]: file:/opt/storage/apache-maven-3.0.2/lib/wagon-http-lightweight-1.0-beta-7.jar constituent[5]: file:/opt/storage/apache-maven-3.0.2/lib/xercesMinimal-1.9.6.2.jar constituent[6]: file:/opt/storage/apache-maven-3.0.2/lib/maven-settings-3.0.2.jar constituent[7]: file:/opt/storage/apache-maven-3.0.2/lib/maven-core-3.0.2.jar constituent[8]: file:/opt/storage/apache-maven-3.0.2/lib/maven-artifact-3.0.2.jar constituent[9]: file:/opt/storage/apache-maven-3.0.2/lib/maven-settings-builder-3.0.2.jar constituent[10]: file:/opt/storage/apache-maven-3.0.2/lib/maven-aether-provider-3.0.2.jar constituent[11]: file:/opt/storage/apache-maven-3.0.2/lib/plexus-sec-dispatcher-1.3.jar constituent[12]: file:/opt/storage/apache-maven-3.0.2/lib/sisu-guice-2.9.1-noaop.jar constituent[13]: file:/opt/storage/apache-maven-3.0.2/lib/plexus-utils-2.0.4.jar constituent[14]: file:/opt/storage/apache-maven-3.0.2/lib/plexus-interpolation-1.14.jar constituent[15]: file:/opt/storage/apache-maven-3.0.2/lib/aether-api-1.9.jar constituent[16]: file:/opt/storage/apache-maven-3.0.2/lib/aether-util-1.9.jar constituent[17]: file:/opt/storage/apache-maven-3.0.2/lib/maven-compat-3.0.2.jar constituent[18]: file:/opt/storage/apache-maven-3.0.2/lib/aether-spi-1.9.jar constituent[19]: file:/opt/storage/apache-maven-3.0.2/lib/maven-model-builder-3.0.2.jar constituent[20]: file:/opt/storage/apache-maven-3.0.2/lib/commons-cli-1.2.jar constituent[21]: file:/opt/storage/apache-maven-3.0.2/lib/aether-connector-wagon-1.9.jar constituent[22]: file:/opt/storage/apache-maven-3.0.2/lib/wagon-http-shared-1.0-beta-7.jar constituent[23]: file:/opt/storage/apache-maven-3.0.2/lib/plexus-cipher-1.4.jar constituent[24]: file:/opt/storage/apache-maven-3.0.2/lib/sisu-inject-bean-1.4.3.1.jar constituent[25]: file:/opt/storage/apache-maven-3.0.2/lib/maven-repository-metadata-3.0.2.jar constituent[26]: file:/opt/storage/apache-maven-3.0.2/lib/maven-plugin-api-3.0.2.jar constituent[27]: file:/opt/storage/apache-maven-3.0.2/lib/maven-model-3.0.2.jar constituent[28]: file:/opt/storage/apache-maven-3.0.2/lib/plexus-component-annotations-1.5.5.jar constituent[29]: file:/opt/storage/apache-maven-3.0.2/lib/wagon-file-1.0-beta-7.jar constituent[30]: file:/opt/storage/apache-maven-3.0.2/lib/nekohtml-1.9.6.2.jar --------------------------------------------------- Exception in thread "main" javax.xml.stream.FactoryConfigurationError: Provider com.bea.xml.stream.MXParserFactory not found at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:72) at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:178) at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92) at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136) at org.sonar.api.utils.StaxParser.<init>(StaxParser.java:63) at org.sonar.api.utils.StaxParser.<init>(StaxParser.java:50) at org.sonar.plugins.cobertura.api.AbstractCoberturaParser.parseReport(AbstractCoberturaParser.java:35) at org.sonar.plugins.cobertura.CoberturaSensor.parseReport(CoberturaSensor.java:65) at org.sonar.plugins.cobertura.CoberturaSensor.analyse(CoberturaSensor.java:52) at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:60) at org.sonar.batch.phases.Phases.execute(Phases.java:72) at org.sonar.batch.ProjectBatch.execute(ProjectBatch.java:61) at org.sonar.batch.Batch.analyzeModule(Batch.java:149) at org.sonar.batch.Batch.analyzeModule(Batch.java:140) at org.sonar.batch.Batch.analyzeModules(Batch.java:106) at org.sonar.batch.Batch.execute(Batch.java:66) at org.sonar.maven3.SonarMojo.executeBatch(SonarMojo.java:136) at org.sonar.maven3.SonarMojo.execute(SonarMojo.java:127) at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:113) at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:65) at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:90) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:534) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) {noformat}
    via by Luke Robertson,
    • org.osgi.framework.BundleException: Exception in org.wso2.carbon.axis2.runtime.internal.Activator.start() of bundle axis2-runtime-new. at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:792) at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:721) at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:936) at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:319) at org.eclipse.osgi.container.Module.doStart(Module.java:571) at org.eclipse.osgi.container.Module.start(Module.java:439) at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:393) at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:412) at org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.startBundles(ConfigApplier.java:438) at org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.install(ConfigApplier.java:111) at org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:191) at org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:205) at org.eclipse.equinox.internal.simpleconfigurator.Activator.start(Activator.java:60) at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:771) at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:764) at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:721) at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:936) at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:319) at org.eclipse.osgi.container.Module.doStart(Module.java:571) at org.eclipse.osgi.container.Module.start(Module.java:439) at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:393) at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:412) at org.wso2.carbon.launcher.CarbonServer.loadInitialBundles(CarbonServer.java:243) at org.wso2.carbon.launcher.CarbonServer.start(CarbonServer.java:84) at org.wso2.carbon.launcher.Main.main(Main.java:83) Caused by: javax.xml.stream.FactoryConfigurationError: Requested factory com.ctc.wstx.stax.WstxInputFactory cannot be located. Classloader =org.eclipse.osgi.internal.loader.EquinoxClassLoader@1b74ac8 [org.apache.ws.commons.axiom.axiom-api:1.2.17(id=30)] at javax.xml.stream.FactoryLocator.loadFactory(FactoryLocator.java:120) at javax.xml.stream.FactoryLocator.locate(FactoryLocator.java:109) at javax.xml.stream.FactoryLocator.locate(FactoryLocator.java:54) at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:41) at org.apache.axiom.om.util.StAXUtils$1.run(StAXUtils.java:437) at java.security.AccessController.doPrivileged(Native Method) at org.apache.axiom.om.util.StAXUtils.newXMLInputFactory(StAXUtils.java:427) at org.apache.axiom.om.util.StAXUtils.getXMLInputFactory_singleton(StAXUtils.java:541) at org.apache.axiom.om.util.StAXUtils.getXMLInputFactory(StAXUtils.java:171) at org.apache.axiom.om.util.StAXUtils.getXMLInputFactory(StAXUtils.java:134) at org.apache.axiom.om.util.StAXUtils.createXMLStreamReader(StAXUtils.java:209) at org.apache.axiom.om.impl.common.factory.AbstractOMMetaFactory.createXMLStreamReader(AbstractOMMetaFactory.java:111) at org.apache.axiom.om.impl.common.factory.AbstractOMMetaFactory.createOMBuilder(AbstractOMMetaFactory.java:167) at org.apache.axiom.om.OMXMLBuilderFactory.createOMBuilder(OMXMLBuilderFactory.java:161) at org.apache.axiom.om.OMXMLBuilderFactory.createOMBuilder(OMXMLBuilderFactory.java:141) at org.apache.axiom.om.OMXMLBuilderFactory.createOMBuilder(OMXMLBuilderFactory.java:112) at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:590) at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:575) at org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBuilder.java:97) at org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:90) at org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:857) at org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:116) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210) at org.wso2.carbon.axis2.runtime.internal.Activator.start(Activator.java:51) at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:771) at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:764) ... 26 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    5 more bugmates