javax.xml.stream.FactoryConfigurationError

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.

  • 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,
  • POIƒƒ‚(Hishidama's Apache POI Memo)
    via by Unknown author,
  • Eureka - Old Time Buddy
    via by Unknown author,
    • 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:176) at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92) at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136) at com.sun.xml.internal.ws.streaming.XMLStreamReaderFactory.<clinit>(XMLStreamReaderFactory.java:65) at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:162) at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parseWSDL(RuntimeWSDLParser.java:190) at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:68) at com.sun.xml.internal.ws.wsdl.WSDLContext.<init>(WSDLContext.java:59) at com.sun.xml.internal.ws.client.ServiceContextBuilder.build(ServiceContextBuilder.java:62) at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:125) at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:52) at javax.xml.ws.Service.<init>(Service.java:57) at org.jbia.ws.HelloService.<init>(HelloService.java:45) at org.jbia.ws.HelloWsClient.main(HelloWsClient.java:18)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,