title: javax.xml.parsers.FactoryConfigurationError running JBoss AS 7.1 with Java 7 update 171
body: <p>Upgrading Java from <strong>7u161</strong> to <strong>7u171</strong> prevents <strong>JBoss AS 7.1.1.Final</strong> from starting. I know JBoss AS 7.1.1 is EOL but for compatibility reasons, we still need to run this version.</p>
  
  <p>Very early in the startup, a NullPointerException occurs in some JBoss method. Following is the exception: </p>
  
  <pre><code>Exception in thread "main" javax.xml.parsers.FactoryConfigurationError: Provider __redirected.__SAXParserFactory could not be instantiated: java.lang.NullPointerException
  [...]
  Caused by: java.lang.NullPointerException
  at __redirected.__RedirectedUtils.loadProvider(__RedirectedUtils.java:94)
  </code></pre>
  
  <p>The <a href="https://gist.github.com/dleborgne/565dfe2adb80d441f9c30e9089734e6a" rel="noreferrer">full stack</a> is here.</p>