This certainly fixes the problem with getParentAttribute(). I'll take a look at the other erros tomorrow.
Thanks On Oct 19, 5:47 pm, Jian Fang <[email protected]> wrote: > Did a new deployment and please do a Maven update or download the new jar > directly from > > http://kungfuters.org/nexus/content/repositories/snapshots/tellurium/... > > Let us know if this can resolve your problems. > > Thanks, > > Jian > > On Mon, Oct 19, 2009 at 12:39 PM, Jian Fang <[email protected]>wrote: > > > > > I checked the code and seems we missed couple header files. Maybe some > > merge problems there. I will add them back and deploy a new snapshot. > > > Sorry for the inconvenience. > > > Thanks, > > > Jian > > > On Mon, Oct 19, 2009 at 12:26 PM, dominicm > > <[email protected]>wrote: > > >> I think that the i18n changes may be causing ugly error messages, but > >> would they cause diagnose() and getParentAttribute() APIs to fail? > > >> As I said the element in question can be accessed by other methods > > >> On Oct 19, 4:48 pm, Jian Fang <[email protected]> wrote: > >> > Might be related to recent i18n changes to localize the error message. > >> Ajay, > >> > could you double check this? > > >> > Thanks, > > >> > Jian > > >> > On Mon, Oct 19, 2009 at 11:41 AM, dominicm <[email protected] > >> >wrote: > > >> > > Hi all, > > >> > > I've noticed that recent builds seem to be more error prone than the > >> > > usual trouble free usage I'm used to > > >> > > For example, at the moment getParentAttribute() and diagnose() are > >> > > throwing errors > > >> > > Warning: property $org.tellurium.dsl.DslContext > >> > > $_propertymissing_closur...@3fee22 is missing, treat it as a String. > >> > > java.lang.NullPointerException: Cannot invoke method popLast() 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 > >> > > $_getParentAttribute_closure81.doCall(BaseDslContext.groovy:1111) > >> > > 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 org.codehaus.groovy.reflection.CachedMethod.invoke > >> > > (CachedMethod.java:86) > >> > > at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:234) > >> > > at > >> > > org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod > >> > > (ClosureMetaClass.java:272) > >> > > at > >> groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:880) > >> > > at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call > >> > > (PogoMetaClassSite.java:39) > >> > > at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call > >> > > (AbstractCallSite.java:129) > >> > > at > >> org.tellurium.object.UiObject.getAttribute(UiObject.groovy:102) > >> > > at org.tellurium.object.UiObject$getAttribute.call(Unknown > >> Source) > >> > > at > >> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callSafe > >> > > (AbstractCallSite.java:97) > >> > > at org.tellurium.dsl.BaseDslContext.getParentAttribute > >> > > (BaseDslContext.groovy:1108) > >> > > at > >> com.betfair.www.website.methods.BrowserManager.getParentAttribute > >> > > (BrowserManager.java:362) > > >> > > The error indicates null object but click() works on the same element. > > >> > > Also, I now get quite a dirty error message when Tellurium cannot find > >> > > a UI element. What I used to get wuld be: > > >> > > Cannot find UI Object uid > > >> > > Now I get > >> > > Cannot find UI Object org.tellurium.dsl.BaseDslContext > >> > > $_walktowithexception_closu...@1f5910e > > >> > > Does anyone else have these problems?- 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 -~----------~----~----~----~------~----~------~--~---
