0 Replies Latest reply on Jul 5, 2018 2:56 AM by amit singh

    Exception in thread "main" javax.xml.parsers.FactoryConfigurationError: Provider __redirected.__SAXParserFactory could not be instantiated: java.lang.NullPointerException

    amit singh Newbie

      Hi,

       

      I am using JBOSS 7.1.1.Final and JDK 1.8.0_171. But when I am trying to start JBOSS server througn Standalon.bat file, server returning me following error:

      C:\Users\lenovo\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_171\jre\

       

      C:\Users\lenovo\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>set PATH=C:\Program Files\Java\jdk1.8.0_171\jre\/bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Microsoft MPI\Bin\;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio\;C:\Program Files\Java\jdk1.8.0_144;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files\dotnet\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Git\cmd;D:\Final Hosted Applications\flutter\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\nodejs\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Users\lenovo\AppData\Local\Microsoft\WindowsApps;C:\Users\lenovo\AppData\Local\Programs\Fiddler;;C:\Users\lenovo\AppData\Roaming\npm;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;

      Calling "C:\Users\lenovo\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin\standalone.conf.bat"

      ===============================================================================

       

        JBoss Bootstrap Environment

       

        JBOSS_HOME: C:\Users\lenovo\Desktop\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final

       

        JAVA: C:\Program Files\Java\jdk1.8.0_171\jre\\bin\java

       

        JAVA_OPTS: -XX:+TieredCompilation -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.server.default.config=standalone.xml

       

      ===============================================================================

       

      Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0

      Exception in thread "main" javax.xml.parsers.FactoryConfigurationError: Provider __redirected.__SAXParserFactory could not be instantiated: java.lang.NullPointerException

              at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:204)

              at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:152)

              at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:232)

              at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:127)

              at jdk.xml.internal.JdkXmlUtils.getSAXFactory(JdkXmlUtils.java:235)

              at jdk.xml.internal.JdkXmlUtils.<clinit>(JdkXmlUtils.java:78)

              at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaParsingConfig.<init>(SchemaParsingConfig.java:319)

              at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaParsingConfig.<init>(SchemaParsingConfig.java:254)

              at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.<init>(XSDHandler.java:480)

              at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.<init>(XSDHandler.java:487)

              at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.<init>(XMLSchemaLoader.java:357)

              at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.<init>(XMLSchemaLoader.java:292)

              at com.sun.org.apache.xerces.internal.jaxp.validation.XMLSchemaFactory.<init>(XMLSchemaFactory.java:97)

              at javax.xml.validation.SchemaFactoryFinder._newFactory(SchemaFactoryFinder.java:232)

              at javax.xml.validation.SchemaFactoryFinder.newFactory(SchemaFactoryFinder.java:146)

              at javax.xml.validation.SchemaFactory.newInstance(SchemaFactory.java:213)

              at __redirected.__SchemaFactory.<clinit>(__SchemaFactory.java:66)

              at __redirected.__JAXPRedirected.initAll(__JAXPRedirected.java:88)

              at org.jboss.modules.Module$1.run(Module.java:85)

              at org.jboss.modules.Module$1.run(Module.java:72)

              at java.security.AccessController.doPrivileged(Native Method)

              at org.jboss.modules.Module.<clinit>(Module.java:72)

              at org.jboss.modules.Main.main(Main.java:255)

      Caused by: java.lang.NullPointerException

              at __redirected.__RedirectedUtils.loadProvider(__RedirectedUtils.java:94)

              at __redirected.__RedirectedUtils.loadProvider(__RedirectedUtils.java:87)

              at __redirected.__SAXParserFactory.<init>(__SAXParserFactory.java:102)

              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 javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:192)

              ... 22 more

      Press any key to continue . . .

      Can anyone help me to fix the issue mentioned above.