Ah OK panic over! I added the i18n section to TelluriumConfig.groovy and all is OK
Thanks P.S. is there any way that if something is missing from the config, an error could be thrown or a default value inserted? On Oct 7, 4:00 pm, Jian Fang <[email protected]> wrote: > Sorry, then it should be the i18n related problem. Ajay, please take a look. > > Thanks, > > Jian > > On Wed, Oct 7, 2009 at 10:58 AM, dominicm <[email protected]>wrote: > > > > > > > All was OK with build no 28 from yesterday - it's only 29 that's > > failing. > > > From a class that inherits BaseTelluriumJavaTestCase > > > tellurium = TelluriumSupport.addSupport(); > > ((TelluriumFramework)tellurium).start(); > > connector = (SeleniumConnector)tellurium.getProperty("connector"); > > BaseTelluriumJavaTestCase.connectSeleniumServer(); > > connectUrl(urlBuilder.toString()); > > > portal = new Portal(); > > uiObjects.put("portal", portal); > > portal.useJQuerySelector(); > > portal.defineUi(); > > > String currentLoc = portal.getLocation(); > > connectUrl(loginRequest); > > portal.pause(200); > > > The pause statement is where it's throwing the error. As I say this > > was working yesterday and still does if I revert to using build 28. > > > On Oct 7, 3:48 pm, Jian Fang <[email protected]> wrote: > > > 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.- > > Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
