All working again - thanks!

On Dec 18, 12:55 am, Jian Fang <[email protected]> wrote:
> I believe that I have fixed the problem. The problem is caused by the fact
> that we didn't pass
> a WorkflowContext object as the first parameter in the customDirectCall
> method body. Please update
> from our Maven repo and see if it works for you.
>
> Thanks,
>
> Jian
>
> On Thu, Dec 17, 2009 at 11:33 AM, Jian Fang <[email protected]>wrote:
>
>
>
> > Too bad, I will create a test case for that.
>
> > For the time being, please revert to use an older version of tellurium core
> > snapshot from
>
> >http://maven.kungfuters.org/content/repositories/snapshots/tellurium/...
>
> > Sorry again.
>
> > Jian
>
> > On Thu, Dec 17, 2009 at 11:29 AM, dominicm 
> > <[email protected]>wrote:
>
> >> Have tried disabling macro command but no change
>
> >> Thanks
>
> >> On Dec 17, 2:21 pm, Jian Fang <[email protected]> wrote:
> >> > Sorry for the inconvenience. Have you tried to disable the Macro
> >> > command and see if it works?
>
> >> >     bundle{
> >> >         useMacroCommand = false
> >> >     }
>
> >> > We will look into the problem.
>
> >> > Thanks,
>
> >> > Jian
>
> >> > On Thu, Dec 17, 2009 at 8:19 AM, dominicm <[email protected]
> >> >wrote:
>
> >> > > Hi,
>
> >> > > I've worked through the Maven and config updates but now find that I
> >> > > can no longer use customDirectCall.
>
> >> > > Code is as follows:
>
> >> > > return (Boolean) frames.customDirectCall("waitForPageReady",
> >> > >                                new Object[0]);
>
> >> > > I get a similar error for any call, whether it is to a selenium
> >> > > function or to a custom function.
>
> >> > > Stack trace:
> >> > > Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
> >> > >        at
> >> > > org.codehaus.groovy.runtime.dgmimpl.arrays.ObjectArrayGetAtMetaMethod
> >> > > $MyPojoMetaMethodSite.call(ObjectArrayGetAtMetaMethod.java:57)
> >> > >        at org.telluriumsource.bundle.BundleProcessor.process
> >> > > (BundleProcessor.groovy:224)
> >> > >        at
> >> org.telluriumsource.bundle.BundleProcessor$process.callCurrent
> >> > > (Unknown Source)
> >> > >        at org.telluriumsource.bundle.BundleProcessor.methodMissing
> >> > > (BundleProcessor.groovy:239)
> >> > >        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.MetaClassImpl.invokeMissingMethod(MetaClassImpl.java:
> >> > > 813)
> >> > >        at groovy.lang.MetaClassImpl.invokePropertyOrMissing
> >> > > (MetaClassImpl.java:1098)
> >> > >        at
> >> groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1051)
> >> > >        at
> >> groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:880)
> >> > >        at groovy.lang.DelegatingMetaClass.invokeMethod
> >> > > (DelegatingMetaClass.java:149)
> >> > >        at groovy.lang.MetaObjectProtocol$invokeMethod$0.call(Unknown
> >> > > Source)
> >> > >        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:133)
> >> > >        at org.telluriumsource.extend.Extension.methodMissing
> >> > > (Extension.groovy:20)
> >> > >        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.MetaClassImpl.invokeMissingMethod(MetaClassImpl.java:
> >> > > 813)
> >> > >        at groovy.lang.MetaClassImpl.invokePropertyOrMissing
> >> > > (MetaClassImpl.java:1098)
> >> > >        at
> >> groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1051)
> >> > >        at
> >> groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:880)
> >> > >        at
> >> groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:706)
> >> > >        at org.telluriumsource.extend.Extension.invokeMethod
> >> > > (Extension.groovy)
> >> > >        at groovy.lang.GroovyObject$invokeMethod.call(Unknown Source)
> >> > >        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:129)
> >> > >        at org.telluriumsource.dsl.BaseDslContext.customDirectCall
> >> > > (BaseDslContext.groovy:106)
> >> > >        at
> >> > > com.betfair.www.website.methods.BrowserManager.waitForPageComplete
> >> > > (BrowserManager.java:3428)
>
> >> > > Any help appreciated.
>
> >> > > Thanks
>
> >> > > --
>
> >> > > 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]<tellurium-users%2bunsubscr...@­googlegroups.com>
> >> <tellurium-users%2bunsubscr...@­googlegroups.com>
> >> > > .
> >> > > For more options, visit this group at
> >> > >http://groups.google.com/group/tellurium-users?hl=en.-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]<tellurium-users%2bunsubscr...@­googlegroups.com>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/tellurium-users?hl=en.- 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.


Reply via email to