Manoj, As the error indicated, you don't have the entry "tellurium.bundle.maxMacroCmd" in your configuration file, is that true? Which wiki page you copied the configuration file from? Perhaps we did update the wiki correctly.
Thanks, Jian On Mon, Jul 12, 2010 at 3:35 PM, Manoj Chavan <[email protected]>wrote: > I am getting the following exception. I have the jar files from the bundle > in my classpath and > I have the correct config file in the path downloaded from wiki. > Can you please let me know what is missing? Thanks. > > Manoj > > > java.lang.ExceptionInInitializerError > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:169) > at > org.telluriumsource.framework.bootstrap.TelluriumSupport.class$(TelluriumSupport.groovy) > at > org.telluriumsource.framework.bootstrap.TelluriumSupport.$get$$class$org$telluriumsource$framework$TelluriumFrameworkMetaClass(TelluriumSupport.groovy) > at > org.telluriumsource.framework.bootstrap.TelluriumSupport.addSupport(TelluriumSupport.groovy:17) > at > org.telluriumsource.test.java.TelluriumJUnitTestCase.setUpForClass(TelluriumJUnitTestCase.java:19) > 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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) > at > org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27) > at > org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) > at org.junit.runners.ParentRunner.run(ParentRunner.java:236) > at > org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46) > at > org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) > Caused by: org.telluriumsource.exception.ConfigNotFoundException: Cannot > find Tellurium Configuration tellurium.bundle.maxMacroCmd, please check > http://code.google.com/p/aost/wiki/TelluriumConfig070 for updated > TelluriumConfig.groovy, or report to Tellurium user group at > http://groups.google.com/group/tellurium-users > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > at java.lang.reflect.Constructor.newInstance(Constructor.java:513) > at > org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77) > at > org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:107) > at > org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:52) > at > org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:192) > at > org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:200) > at > org.telluriumsource.framework.config.TelluriumConfigurator.checkConfig(TelluriumConfigurator.groovy:36) > 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.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:266) > at > org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:51) > at > org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:44) > at > org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:143) > at > org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:151) > at > org.telluriumsource.framework.config.TelluriumConfigurator.configEnvironment(TelluriumConfigurator.groovy:242) > 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.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:266) > at > org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:51) > at > org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:44) > at > org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:143) > at > org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:151) > at > org.telluriumsource.framework.config.TelluriumConfigurator.config(TelluriumConfigurator.groovy:303) > at > org.telluriumsource.framework.config.Configurator$config.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:125) > at > org.telluriumsource.framework.TelluriumFramework.<init>(TelluriumFramework.groovy:130) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > at java.lang.reflect.Constructor.newInstance(Constructor.java:513) > at > org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77) > at > org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:107) > at > org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:52) > at > org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:192) > at > org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:196) > at > org.telluriumsource.framework.TelluriumFrameworkMetaClass.<clinit>(TelluriumFrameworkMetaClass.groovy:11) > ... 22 more > > > > > *From:* Jian Fang <[email protected]> > *To:* [email protected] > *Sent:* Fri, June 25, 2010 2:31:47 PM > *Subject:* Re: tellurium-0.7 question. > > Please download the tar ball and you need all the following jars in your > class path. > > > | `-- lib > | |-- antlr-2.7.7.jar > > | |-- antlr-3.1.3.jar > | |-- antlr-runtime-3.1.3.jar > | |-- groovy-all-1.7.0.jar > | |-- json_simple-r1.jar > | |-- junit-4.7.jar > | |-- poi-3.0.1-FINAL.jar > | |-- reportng-0.9.8.jar > > | |-- selenium-java-client-driver-1.0.1.jar > | |-- stringtree-json-2.0.10.jar > | `-- testng-5.8-jdk15.jar > |-- dist > | |-- selenium-server-1.0.1-te3.jar > | |-- tellurium-core-0.7.0.jar > | `-- tellurium-udl-0.7.0.jar > > > Thanks, > > Jian > > On Fri, Jun 25, 2010 at 5:18 PM, Manoj Chavan <[email protected]>wrote: > >> Hi All, >> Have been away from Tellurium for a while now and am getting back into >> the >> game. >> I downloaded the latest jar file and using a Eclipse project (Not Maven). >> When I >> try to create a module groovy class and extending DslContext I am geting >> an >> error. >> >> What am I missing? The error goes away when I remove the "extends >> DslContext" >> for the groovy class. >> >> Regards, >> >> Manoj >> >> --------------------- Eclipse Error.------------------------------ >> >> Multiple markers at this line >> - The type org.stringtree.json.JSONReader cannot be resolved. It is >> indirectly referenced from >> >> required .class files >> - The type org.json.simple.JSONArray cannot be resolved. It is >> indirectly >> referenced from required .class >> >> files >> >> -- >> 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%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/tellurium-users?hl=en. >> >> > -- > 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%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/tellurium-users?hl=en. > > -- > 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%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/tellurium-users?hl=en. > -- 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.
