1 Reply Latest reply on Nov 30, 2010 9:02 AM by ssilvert

    HTTP 500 error with JSFUnit with Glassfish 3

    scounthorpe

      Hi,

       

      I am new to JSFUnit and i am having difficulty getting it to work. I would appreciate some help with this

       

      I have included my war file:

       

      URL = http://localhost:8080/webapps/jsfunit

       

      Note: I have read a few related discussions and still can overcome the Exception. I tried putting xercesImpl-2.8.1 in ../Glassfish/../domains/domain1/lib folder.

       

      Glassfish Log:

       

       

      [#|2010-11-24T18:35:39.089+0000|WARNING|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=33;_ThreadName=Thread-1;|StandardWrapperValve[default]: PWC1406: Servlet.service() for servlet default threw exception
      java.lang.NullPointerException
          at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:732)
          at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:404)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
          at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
          at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
          at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
          at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:226)
          at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)
          at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
          at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
          at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
          at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
          at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
          at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
          at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
          at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
          at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
          at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
          at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
          at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
          at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
          at java.lang.Thread.run(Thread.java:662)
      |#]