The root cause should be here,

"Caused by: java.lang.NullPointerException: Cannot invoke method pause
() on null object"

Did you use openUrl() or connectSeleniumServer() + connectUrl before you
called pause()? If not, you need to.

Thanks,

Jian


On Wed, Oct 7, 2009 at 10:29 AM, dominicm <[email protected]>wrote:

>
> Hi,
>
> The following exception is thrown when I try to use the pause()
> method.
>
>
> Parse configuration file: org.tellurium.config.TelluriumConfigParser
> $_parse_closu...@1c88f2b
> Configure UI Object Builders using configuration file
> Configure widget modules using configuration file
> Configure event handler using configuration file
> Configure data accessor using configuration file
> Configure dispatcher using configuration file
> Configure Embedded Selenium Server using configuration file
> Use user extension file org.tellurium.server.SeleniumServerDaemon
> $_run_closu...@8c0d58
> Configure Selenium Client using configuration file
> Warning: property $org.tellurium.dsl.DslContext
> $_propertymissing_closur...@ca677f is missing, treat it as a String.
> com.betfair.JETT.exceptions.JETTFailFastException:
> java.lang.reflect.InvocationTargetException
>        at com.betfair.assertions.core.ClassParameterInjector.execute
> (ClassParameterInjector.java:84)
>        at com.betfair.assertions.core.TestStepExecutor.run
> (TestStepExecutor.java:34)
>        at com.betfair.assertions.core.TestController.process
> (TestController.java:93)
>        at
> com.betfair.assertions.core.TestController.run(TestController.java:
> 44)
>        at
> com.betfair.assertions.executor.testrunner.TestRunner.executeTests
> (TestRunner.java:169)
>        at com.betfair.assertions.executor.testrunner.TestRunner.run
> (TestRunner.java:50)
>        at com.betfair.assertions.executor.testrunner.ExecuteTestRun.run
> (ExecuteTestRun.java:36)
>        at Main.main(Main.java:11)
> Caused by: java.lang.reflect.InvocationTargetException
>        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 com.betfair.assertions.core.ClassParameterInjector.execute
> (ClassParameterInjector.java:60)
>        ... 7 more
> Caused by: java.lang.NullPointerException: Cannot invoke method pause
> () on null object
>        at org.codehaus.groovy.runtime.NullObject.invokeMethod
> (NullObject.java:77)
>        at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod
> (InvokerHelper.java:751)
>        at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod
> (InvokerHelper.java:728)
>        at org.codehaus.groovy.runtime.callsite.NullCallSite.call
> (NullCallSite.java:17)
>        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall
> (CallSiteArray.java:40)
>        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call
> (AbstractCallSite.java:117)
>        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call
> (AbstractCallSite.java:125)
>        at org.tellurium.dsl.BaseDslContext.pause(BaseDslContext.groovy:543)
>        at com.betfair.www.website.methods.BrowserManager.waitForNotCssClass
> (BrowserManager.java:2812)
>        ... 12 more
> Warning: property $org.tellurium.dsl.DslContext
> $_propertymissing_closur...@c221d7 is missing, treat it as a String.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tellurium-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to