[Webtest] java.lang.NullPointerException from getTextFromNode(VerifyElementText.java:118 (upon dns or http redirect ?)

Ralf Hauser webtest@lists.canoo.com
Fri, 23 May 2003 17:09:46 +0200


Hi,

It appears that Sandro ran into the same problem when a site redirects to
another URL a while ago
(http://lists.canoo.com/pipermail/webtest/2002q2/000090.html), but I can't
find the resolution in the  archives...

Exception raised:
java.lang.NullPointerExceptionjava.lang.NullPointerException
        at
com.canoo.webtest.steps.verify.VerifyElementText.getTextFromNode(VerifyEleme
ntText.java:118)
        at
com.canoo.webtest.steps.verify.VerifyElementText.doExecute(VerifyElementText
.java:87)
        at com.canoo.webtest.steps.Step.execute(Step.java:56)
        at com.canoo.webtest.engine.Engine.executeSteps(Engine.java:32)
        at
com.canoo.webtest.ant.TestSpecificationTask.execute(TestSpecificationTask.ja
va:55)
        at org.apache.tools.ant.Task.perform(Task.java:319)
...

Any hints? Many thanks in advance!

Rgds

	Ralf