Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-2789

DevStudio 12.9 does not build Thorntail sample, "NullPointerException"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.9.3.Final
    • 3.9.1.Final
    • None
    • None
    • Hide

      Using DevStudio 12.9, install Thorntail:
      addon-install-from-git --url https://github.com/forge/thorntail-addon.git

      Validate installation, start a sample Thorntail project:
      [temp]$ addon-list |grep thorn
      [temp]$ org.jboss.forge.addon:thorntail,2.3.1-SNAPSHOT
      [temp]$ version
      JBoss Forge, version [ 3.9.1.Final ] - JBoss, by Red Hat, Inc. [ http://jboss.org/forge ]
      [temp]$ project-new --named thornDemo --type thorntail --stack JAVA_EE_7
      **SUCCESS** Project named 'thornDemo' has been created.
      **SUCCESS** Stack 'Java EE 7' installed in project
      **SUCCESS** Thorntail is now set up! Enjoy!
      [thornDemo]$ build
      [INFO] Scanning for projects...
      [INFO]
      [INFO] ---------------------< org.thornDemo:thornDemo >----------------------
      [INFO] Building thornDemo 1.0.0-SNAPSHOT
      [INFO] -------------------------------[ war ]--------------------------------

      A short while later, note ERROR (may need to 'export VERBOSE=true'
      [INFO] Adding fractions: bean-validation:2.3.0.Final, cdi-config:2.3.0.Final, cdi:2.3.0.Final, container:2.3.0.Final, ee:2.3.0.Final, jaxrs-cdi:2.3.0.Final, jaxrs:2.3.0.Final, logging:2.3.0.Final, security:2.3.0.Final, transactions:2.3.0.Final, undertow:2.3.0.Final
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 3.537 s
      [INFO] Finished at: 2019-03-15T10:56:45-05:00
      [INFO] ------------------------------------------------------------------------
      **ERROR** Error while executing 'Build'
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
      at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
      at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
      at org.jboss.forge.addon.maven.projects.MavenFacetImpl_$$jvst3d2_118.executeMavenEmbedded(MavenFacetImpl$$_jvst3d2_118.java)
      at org.jboss.forge.addon.maven.projects.MavenProjectBuilder.build(MavenProjectBuilder.java:110)
      at org.jboss.forge.addon.projects.ui.BuildCommand.execute(BuildCommand.java:96)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
      at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
      at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
      at org.jboss.forge.addon.projects.ui.BuildCommand_$$jvst3d2_3b.execute(BuildCommand$$_jvst3d2_3b.java)
      at org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.execute(SingleCommandControllerImpl.java:94)
      at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:97)
      at org.jboss.forge.addon.shell.aesh.ForgeCommandContainer.executeCommand(ForgeCommandContainer.java:88)
      at org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:311)
      at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:53)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)
      Caused by: javax.xml.parsers.FactoryConfigurationError: Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created
      at javax.xml.parsers.FactoryFinder.findServiceProvider(FactoryFinder.java:311)
      at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:267)
      at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:120)
      at org.jboss.shrinkwrap.descriptor.spi.node.dom.XmlDomNodeImporterImpl.importAsNode(XmlDomNodeImporterImpl.java:62)
      at org.wildfly.swarm.tools.ModuleAnalyzer.<init>(ModuleAnalyzer.java:53)
      at org.wildfly.swarm.tools.ResolvedDependencies.findModuleXmls(ResolvedDependencies.java:80)
      at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:267)
      at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
      at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
      at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1553)
      at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
      at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
      at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
      at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
      at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
      at org.wildfly.swarm.tools.DependencyManager.analyzeModuleDependencies(DependencyManager.java:217)
      at org.wildfly.swarm.tools.DependencyManager.analyzeDependencies(DependencyManager.java:132)
      at org.wildfly.swarm.tools.BuildTool.analyzeDependencies(BuildTool.java:310)
      at org.wildfly.swarm.tools.BuildTool.addFractions(BuildTool.java:380)
      at org.wildfly.swarm.tools.BuildTool.addWildflySwarmBootstrapJar(BuildTool.java:399)
      at org.wildfly.swarm.tools.BuildTool.build(BuildTool.java:245)
      at org.wildfly.swarm.tools.BuildTool.build(BuildTool.java:195)
      at org.wildfly.swarm.plugin.maven.PackageMojo.executeSpecific(PackageMojo.java:220)
      at org.wildfly.swarm.plugin.maven.AbstractSwarmMojo.execute(AbstractSwarmMojo.java:129)
      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
      at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:956)
      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:290)
      at org.jboss.forge.addon.maven.projects.MavenFacetImpl.doExecuteMavenEmbedded(MavenFacetImpl.java:294)
      at org.jboss.forge.addon.maven.projects.MavenFacetImpl.executeMavenEmbedded(MavenFacetImpl.java:267)
      at org.jboss.forge.addon.maven.projects.MavenFacetImpl.executeMavenEmbedded(MavenFacetImpl.java:246)
      ... 26 more
      Caused by: java.lang.RuntimeException: Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created
      at javax.xml.parsers.FactoryFinder.findServiceProvider(FactoryFinder.java:308)
      ... 66 more
      Caused by: java.util.ServiceConfigurationError: javax.xml.parsers.DocumentBuilderFactory: Provider _redirected._DocumentBuilderFactory could not be instantiated
      at java.util.ServiceLoader.fail(ServiceLoader.java:232)
      at java.util.ServiceLoader.access$100(ServiceLoader.java:185)
      at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384)
      at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
      at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
      at javax.xml.parsers.FactoryFinder$1.run(FactoryFinder.java:294)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.xml.parsers.FactoryFinder.findServiceProvider(FactoryFinder.java:289)
      ... 66 more
      Caused by: javax.xml.parsers.FactoryConfigurationError: Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created
      at javax.xml.parsers.FactoryFinder.findServiceProvider(FactoryFinder.java:311)
      at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:267)
      at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:120)
      at __redirected.JDKSpecific.getPlatformDocumentBuilderFactorySupplier(JDKSpecific.java:83)
      at _redirected.DocumentBuilderFactory.<clinit>(_DocumentBuilderFactory.java:38)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      at java.lang.Class.newInstance(Class.java:442)
      at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)
      ... 71 more
      Caused by: java.lang.RuntimeException: Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created
      at javax.xml.parsers.FactoryFinder.findServiceProvider(FactoryFinder.java:308)
      ... 81 more
      Caused by: java.util.ServiceConfigurationError: javax.xml.parsers.DocumentBuilderFactory: Provider _redirected._DocumentBuilderFactory could not be instantiated
      at java.util.ServiceLoader.fail(ServiceLoader.java:232)
      at java.util.ServiceLoader.access$100(ServiceLoader.java:185)
      at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384)
      at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
      at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
      at javax.xml.parsers.FactoryFinder$1.run(FactoryFinder.java:294)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.xml.parsers.FactoryFinder.findServiceProvider(FactoryFinder.java:289)
      ... 81 more
      Caused by: java.lang.NullPointerException
      at _redirected.DocumentBuilderFactory.<init>(_DocumentBuilderFactory.java:67)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      at java.lang.Class.newInstance(Class.java:442)
      at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)
      ... 86 more

      Show
      Using DevStudio 12.9, install Thorntail: addon-install-from-git --url https://github.com/forge/thorntail-addon.git Validate installation, start a sample Thorntail project: [temp] $ addon-list |grep thorn [temp] $ org.jboss.forge.addon:thorntail,2.3.1-SNAPSHOT [temp] $ version JBoss Forge, version [ 3.9.1.Final ] - JBoss, by Red Hat, Inc. [ http://jboss.org/forge ] [temp] $ project-new --named thornDemo --type thorntail --stack JAVA_EE_7 ** SUCCESS ** Project named 'thornDemo' has been created. ** SUCCESS ** Stack 'Java EE 7' installed in project ** SUCCESS ** Thorntail is now set up! Enjoy! [thornDemo] $ build [INFO] Scanning for projects... [INFO] [INFO] --------------------- < org.thornDemo:thornDemo > ---------------------- [INFO] Building thornDemo 1.0.0-SNAPSHOT [INFO] ------------------------------- [ war ] -------------------------------- A short while later, note ERROR (may need to 'export VERBOSE=true' [INFO] Adding fractions: bean-validation:2.3.0.Final, cdi-config:2.3.0.Final, cdi:2.3.0.Final, container:2.3.0.Final, ee:2.3.0.Final, jaxrs-cdi:2.3.0.Final, jaxrs:2.3.0.Final, logging:2.3.0.Final, security:2.3.0.Final, transactions:2.3.0.Final, undertow:2.3.0.Final [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.537 s [INFO] Finished at: 2019-03-15T10:56:45-05:00 [INFO] ------------------------------------------------------------------------ ** ERROR ** Error while executing 'Build' java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87) at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42) at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103) at org.jboss.forge.addon.maven.projects.MavenFacetImpl_$$ jvst3d2_118.executeMavenEmbedded(MavenFacetImpl $$_jvst3d2_118.java) at org.jboss.forge.addon.maven.projects.MavenProjectBuilder.build(MavenProjectBuilder.java:110) at org.jboss.forge.addon.projects.ui.BuildCommand.execute(BuildCommand.java:96) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87) at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42) at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103) at org.jboss.forge.addon.projects.ui.BuildCommand_$$ jvst3d2_3b.execute(BuildCommand $$_jvst3d2_3b.java) at org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.execute(SingleCommandControllerImpl.java:94) at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:97) at org.jboss.forge.addon.shell.aesh.ForgeCommandContainer.executeCommand(ForgeCommandContainer.java:88) at org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:311) at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:53) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: javax.xml.parsers.FactoryConfigurationError: Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created at javax.xml.parsers.FactoryFinder.findServiceProvider(FactoryFinder.java:311) at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:267) at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:120) at org.jboss.shrinkwrap.descriptor.spi.node.dom.XmlDomNodeImporterImpl.importAsNode(XmlDomNodeImporterImpl.java:62) at org.wildfly.swarm.tools.ModuleAnalyzer.<init>(ModuleAnalyzer.java:53) at org.wildfly.swarm.tools.ResolvedDependencies.findModuleXmls(ResolvedDependencies.java:80) at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:267) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1553) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) at org.wildfly.swarm.tools.DependencyManager.analyzeModuleDependencies(DependencyManager.java:217) at org.wildfly.swarm.tools.DependencyManager.analyzeDependencies(DependencyManager.java:132) at org.wildfly.swarm.tools.BuildTool.analyzeDependencies(BuildTool.java:310) at org.wildfly.swarm.tools.BuildTool.addFractions(BuildTool.java:380) at org.wildfly.swarm.tools.BuildTool.addWildflySwarmBootstrapJar(BuildTool.java:399) at org.wildfly.swarm.tools.BuildTool.build(BuildTool.java:245) at org.wildfly.swarm.tools.BuildTool.build(BuildTool.java:195) at org.wildfly.swarm.plugin.maven.PackageMojo.executeSpecific(PackageMojo.java:220) at org.wildfly.swarm.plugin.maven.AbstractSwarmMojo.execute(AbstractSwarmMojo.java:129) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:956) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:290) at org.jboss.forge.addon.maven.projects.MavenFacetImpl.doExecuteMavenEmbedded(MavenFacetImpl.java:294) at org.jboss.forge.addon.maven.projects.MavenFacetImpl.executeMavenEmbedded(MavenFacetImpl.java:267) at org.jboss.forge.addon.maven.projects.MavenFacetImpl.executeMavenEmbedded(MavenFacetImpl.java:246) ... 26 more Caused by: java.lang.RuntimeException: Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created at javax.xml.parsers.FactoryFinder.findServiceProvider(FactoryFinder.java:308) ... 66 more Caused by: java.util.ServiceConfigurationError: javax.xml.parsers.DocumentBuilderFactory: Provider _ redirected. _DocumentBuilderFactory could not be instantiated at java.util.ServiceLoader.fail(ServiceLoader.java:232) at java.util.ServiceLoader.access$100(ServiceLoader.java:185) at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384) at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404) at java.util.ServiceLoader$1.next(ServiceLoader.java:480) at javax.xml.parsers.FactoryFinder$1.run(FactoryFinder.java:294) at java.security.AccessController.doPrivileged(Native Method) at javax.xml.parsers.FactoryFinder.findServiceProvider(FactoryFinder.java:289) ... 66 more Caused by: javax.xml.parsers.FactoryConfigurationError: Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created at javax.xml.parsers.FactoryFinder.findServiceProvider(FactoryFinder.java:311) at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:267) at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:120) at __redirected.JDKSpecific.getPlatformDocumentBuilderFactorySupplier(JDKSpecific.java:83) at _ redirected. DocumentBuilderFactory.<clinit>( _DocumentBuilderFactory.java:38) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.lang.Class.newInstance(Class.java:442) at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380) ... 71 more Caused by: java.lang.RuntimeException: Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created at javax.xml.parsers.FactoryFinder.findServiceProvider(FactoryFinder.java:308) ... 81 more Caused by: java.util.ServiceConfigurationError: javax.xml.parsers.DocumentBuilderFactory: Provider _ redirected. _DocumentBuilderFactory could not be instantiated at java.util.ServiceLoader.fail(ServiceLoader.java:232) at java.util.ServiceLoader.access$100(ServiceLoader.java:185) at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384) at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404) at java.util.ServiceLoader$1.next(ServiceLoader.java:480) at javax.xml.parsers.FactoryFinder$1.run(FactoryFinder.java:294) at java.security.AccessController.doPrivileged(Native Method) at javax.xml.parsers.FactoryFinder.findServiceProvider(FactoryFinder.java:289) ... 81 more Caused by: java.lang.NullPointerException at _ redirected. DocumentBuilderFactory.<init>( _DocumentBuilderFactory.java:67) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.lang.Class.newInstance(Class.java:442) at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380) ... 86 more

      Using DevStudio, Forge will not successfully build a sample Thorntail application.

      The failure ends with:
      Caused by: java.lang.NullPointerException
      at _redirected.DocumentBuilderFactory.<init>(_DocumentBuilderFactory.java:67)

              rhn-support-ggastald George Gastaldi
              rhn-support-rick Rick Wagner
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: