Let me look into the dirty error message problem, I think I know what the
issue might be (something to do with the way i append the argument, it is
doing a toString() of the class description ) . I will fix this as soon as I
can. Sorry for the inconvenience.

Regards

Ajay Ravichandran

On Mon, Oct 19, 2009 at 10: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?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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