1 Reply Latest reply on Aug 1, 2009 1:55 AM by Yasser Hawari

    NPE and pages.xml

    Arbi Sookazian Master

      I am getting JBoss Seam debug page for a NPE.


      This is the catchall exception config in pages.xml:


       <exception>
              <redirect view-id="/error.xhtml">
                  <message>Unexpected error, please try again</message>
              </redirect>
          </exception>



      will that not catch and redirect a NPE (or any other Runtime Exception) to error.xhtml?


      or do I have to turn off debug below in components.xml?


      <core:init debug="@debug@" jndi-pattern="@jndiPattern@"/>