You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by ji...@apache.org on 2004/04/17 18:37:31 UTC

[jira] Closed: (CACTUS-36) result is null in AbstractWebTestCaller's doGetResults() method

Message:

   The following issue has been closed.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/CACTUS-36

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: CACTUS-36
    Summary: result is null in AbstractWebTestCaller's doGetResults() method
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: INCOMPLETE

    Project: Cactus
 Components: 
             Framework
   Fix Fors:
             1.5-rc1
   Versions:
             1.4.1

   Assignee: Vincent Massol
   Reporter: Jason Arndt

    Created: Wed, 5 Mar 2003 1:08 AM
    Updated: Sat, 17 Apr 2004 9:35 AM
Environment: Operating System: Solaris
Platform: Sun

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.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org