Uploaded image for project: 'Cactus'
  1. Cactus
  2. CACTUS-36

result is null in AbstractWebTestCaller's doGetResults() method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 1.4.1
    • 1.5-rc1
    • Framework
    • None
    • Operating System: Solaris
      Platform: Sun
    • 17653

    Description

      1 [Thread-29] DEBUG org.apache.cactus.server.AbstractWebTestCaller - Test
      Result = [null]
      1 [Thread-29] DEBUG org.apache.cactus.server.AbstractWebTestCaller - Test
      Result = [null]
      1 [Thread-29] DEBUG org.apache.cactus.server.AbstractWebTestCaller - Test
      Result = [null]
      java.lang.NullPointerException
      at org.apache.cactus.server.AbstractWebTestCaller.doGetResults
      (AbstractWebTestCaller.java:196)
      at
      org.apache.cactus.server.AbstractWebTestController.dispatch87_handleRequest
      (AbstractWebTestController.java;org/apache/cactus/util/log/LogAspect.aj
      (1k):131)
      at
      org.apache.cactus.server.AbstractWebTestController.around87_handleRequest
      (AbstractWebTestController.java;org/apache/cactus/util/log/LogAspect.aj
      (1k):1156)
      at org.apache.cactus.server.AbstractWebTestController.handleRequest
      (AbstractWebTestController.java;org/apache/cactus/util/log/LogAspect.aj
      (1k):101)
      at org.apache.cactus.server.JspTestRedirector.dispatch90_doGet
      (JspTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):93)
      at org.apache.cactus.server.JspTestRedirector.around90_doGet
      (JspTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):1156)
      at org.apache.cactus.server.JspTestRedirector.doGet
      (JspTestRedirector.java;org/apache/cactus/util/log/LogAspect.aj(1k):87)
      at jsp.APPS.pubdocaccess.jspRedirector._jspService
      (jspRedirector.java:85)
      at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at com.netscape.server.servlet.servletrunner.ServletInfo.service
      (Unknown Source)
      at com.netscape.server.servlet.servletrunner.ServletRunner.execute
      (Unknown Source)
      at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
      at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
      at com.kivasoft.thread.ThreadBasic.run(Native Method)
      at java.lang.Thread.run(Thread.java:484)
      [04/Mar/2003 17:11:34:8] error: Exception: SERVLET-execution_failed: Error in
      executing servlet JspRedirector: javax.servlet.ServletException

      This happens on the iPlanet 6.5 sp3 Application server running on the solaris
      platform. The web server is the iPlanet 6.0 web server running on a separate
      solaris server using a web connector.

      What is strange is that after running the test about 4 times in a row it will
      work, but the application will then be messed up and the server needs to be
      bounced. Once this is done, the app works, but the test fails until the forth
      time.

      What I mean by the application is messed up is that the struts action is being
      lost on the submit buttons. For example:
      http://dmws01s/NASApp/pubdocaccess/search.do?searchText=joe&submit=Search
      becomes
      http://dmws01s/NASApp/pubdocaccess/?searchText=joe&submit=Search

      The solaris box is our dev integration box and the code seems to work fine on
      my local dev box, which is Win XP running both iAS 6.5 sp3 and the iWS 6.0
      servers locally.

      Oh yeah, we are using J2EE 1.2.1, servlet 2.2, jdk 1.3, struts 1.0, cactus
      1.4.1, and junit 3.7.

      Please let me know if you need any additional information to help reproduce
      this bug.

      Attachments

        Activity

          People

            vmassol Vincent Massol
            jarndt196@yahoo.com Jason Arndt
            Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: