watij.runtime.ie.IE.text() needs to check that getBody() didn't return a null pointer before it invokes body.getText()
you can reach me at jneal@tripwire.com
java.lang.NullPointerException
at watij.runtime.ie.IE.text(IE.java:174)
at watij.runtime.ie.IE.containsText(IE.java:463)
at com.tripwire.guiTests.TEHelper.isLoggedIn(TEHelper.java:135)
at com.tripwire.guiTests.TEHelper.acquireInterface(TEHelper.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at fit.ActionFixture.press(ActionFixture.java:64)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at fit.ActionFixture.doCells(ActionFixture.java:24)
at fit.Fixture.doRow(Fixture.java:172)
at fit.Fixture.doRows(Fixture.java:165)
at fit.Fixture.doTable(Fixture.java:157)
at fit.Fixture.interpretTables(Fixture.java:96)
at fit.Fixture.doTables(Fixture.java:73)
at fit.FitServer.process(FitServer.java:74)
at fit.FitServer.run(FitServer.java:50)
at fit.FitServer.main(FitServer.java:41)
Can you please attach the HTML source that caused the problem to the issue? The only valid HTML files that have no bodies are framesets. If your HTML was not a frameset, then the problem is that the HTML file is invalid. Watij can only flex so far outside the realm of valid HTML files before it breaks...