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 bu...@apache.org on 2003/11/06 23:14:02 UTC

DO NOT REPLY [Bug 23978] - Cactus doesn't properly integrate w/HttpUnit. External Javascript generates NullPointerException

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23978>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23978

Cactus doesn't properly integrate w/HttpUnit. External Javascript generates NullPointerException





------- Additional Comments From drabe@opentext.com  2003-11-06 22:14 -------
For what it's worth, I think I'm running into the same thing (httpunit-1.5.3):

java.lang.NullPointerException
at com.meterware.httpunit.ParsedHTML.getIncludedScript(ParsedHTML.java:273)
at com.meterware.httpunit.ParsedHTML.getScript(ParsedHTML.java:257)
at com.meterware.httpunit.ParsedHTML.interpretScriptElement(ParsedHTML.java:237)
at com.meterware.httpunit.ParsedHTML.access$600(ParsedHTML.java:37)
at com.meterware.httpunit.ParsedHTML$ScriptFactory.recordElement
(ParsedHTML.java:372)
at com.meterware.httpunit.ParsedHTML$2.processElement(ParsedHTML.java:524)
at com.meterware.httpunit.NodeUtils$PreOrderTraversal.perform
(NodeUtils.java:169)
at com.meterware.httpunit.ParsedHTML.loadElements(ParsedHTML.java:534)
at com.meterware.httpunit.ParsedHTML.getApplets(ParsedHTML.java:125)
at com.meterware.httpunit.WebResponse.getApplets(WebResponse.java:416)
at com.mycompany.myproject.webapp.MyServletTest.endServletPOST
(KHermesServletTest.java:162)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at 
org.apache.cactus.internal.client.WebClientTestCaseDelegate.callGenericEndMethod
(WebClientTestCaseDelegate.java;org/apache/cactus/util/log/LogAspect.aj[1k]:189)
at 
org.apache.cactus.internal.client.WebClientTestCaseDelegate.dispatch75_callEndMe
thod(WebClientTestCaseDelegate.java;org/apache/cactus/util/log/LogAspect.aj
[1k]:244)
at 
org.apache.cactus.internal.client.WebClientTestCaseDelegate.around75_callEndMeth
od(WebClientTestCaseDelegate.java;org/apache/cactus/util/log/LogAspect.aj
[1k]:1240)
at org.apache.cactus.internal.client.WebClientTestCaseDelegate.callEndMethod
(WebClientTestCaseDelegate.java;org/apache/cactus/util/log/LogAspect.aj[1k]:240)
at org.apache.cactus.internal.client.WebClientTestCaseDelegate.runGenericTest
(WebClientTestCaseDelegate.java;org/apache/cactus/util/log/LogAspect.aj[1k]:285)
at org.apache.cactus.internal.client.WebClientTestCaseDelegate.runTest
(WebClientTestCaseDelegate.java;org/apache/cactus/util/log/LogAspect.aj[1k]:258)
at org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:289)
at org.apache.cactus.ServletTestCase.runBare(ServletTestCase.java:251)

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