2 Replies Latest reply on Jan 25, 2002 10:33 PM by Todd Marshall

    PetStore, JB-2.4.3_TC-4.0 & ClassCastException w/

    jim a Newbie

      Hacked Debug.java to turn on debugging.
      Hacked web.xml to get attributes ordered correctly.

      [Default] MainServlet: Initializing
      [Default] ScreenFlowXmlDAO error: java.lang.ClassCastException: org.apache.crimson.jaxp.DocumentBuilderFactoryImpl
      [EmbeddedCatalinaServiceSX] StandardWrapperValve[webTierEntryPoint]: Allocate exception for servlet webTierEntryPoint
      javax.servlet.ServletException: Servlet.init() for servlet webTierEntryPoint threw exception
      at org.apache.catalina.core.StandardWrapper.load(Unknown Source)
      at org.apache.catalina.core.StandardWrapper.allocate(Unknown Source)
      at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
      at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
      at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)

      ...

      at org.apache.catalina.connector.http.HttpProcessor.process(Unknown Source)
      at org.apache.catalina.connector.http.HttpProcessor.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      [EmbeddedCatalinaServiceSX] ----- Root Cause -----
      java.lang.NullPointerException
      at com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.getRequestMappings(ScreenFlowXmlDAO.java:249)
      at com.sun.j2ee.blueprints.petstore.control.web.ScreenFlowXmlDAO.loadRequestMappings(ScreenFlowXmlDAO.java:115)
      at com.sun.j2ee.blueprints.petstore.control.web.MainServlet.init(MainServlet.java:47)
      at javax.servlet.GenericServlet.init(GenericServlet.java:258)
      at org.apache.catalina.core.StandardWrapper.load(Unknown Source)
      at org.apache.catalina.core.StandardWrapper.allocate(Unknown Source)
      at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)

      ....