When run Tellurium with default settings, the follow exception happens:
Parse configuration file: TelluriumConfig.groovy
Cannot open configuration file TelluriumConfig.groovy:
D:\Tellurium\TelluriumConfig.groovy (The system cannot find the file
specified)
Configure Embedded Selenium Server with default values
org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot
cast object '4444' with class 'java.lang.String' to class
'java.lang.Integer'
at
org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.castToNumber(
DefaultTypeTransformation.java:
127)
at
org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.intUnbox(Defa
ultTypeTransformation.java:
56)
at
org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.castToType(De
faultTypeTransformation.java:
300)
at
org.codehaus.groovy.reflection.CachedField.setProperty(CachedField.java:
78)
at groovy.lang.MetaClassImpl.setProperty(MetaClassImpl.java:1972)
at groovy.lang.MetaClassImpl.setProperty(MetaClassImpl.java:2591)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:
25)
at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:
86)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
at
org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHelper.java:
766)
at
org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:
754)
at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAd
apter.java:
170)
at
org.tellurium.server.EmbeddedSeleniumServer.setProperty(EmbeddedSeleniumServer.g
roovy)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:
25)
at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:
86)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
at
org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:
778)
at
org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:
758)
at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAd
apter.java:
170)
at
org.tellurium.config.TelluriumConfigurator.configEmbeededServerDefaultValues(Tel
luriumConfigurator.groovy:
32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:
25)
at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:
86)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptB
ytecodeAdapter.java:
78)
at
org.tellurium.config.TelluriumConfigurator.config(TelluriumConfigurator.groovy:
117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:
25)
at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:
86)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
at
org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:
778)
at
org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:
758)
at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAd
apter.java:
170)
at
org.tellurium.framework.TelluriumFramework.start(TelluriumFramework.groovy:
70)
at
org.tellurium.test.java.TelluriumJavaTestCase.setUpForClass(Unknown
Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:
25)
at org.junit.internal.runners.ClassRoadie.runBefores(ClassRoadie.java:
49)
at
org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:
36)
at
org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:
42)
at com.intellij.rt.junit4.Junit4ClassSuite.run(Junit4ClassSuite.java:
99)
at
com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:
40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:
25)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:
90)
Seems it is complaining about the following line in the
TelluriumConfigurator.groovy
server.setProperty("port","4444")
and it cannot automatically convert the "4444" to integer.
Original issue reported on code.google.com by John.Jian.Fang@gmail.com on 28 Aug 2008 at 4:18
Original issue reported on code.google.com by
John.Jian.Fang@gmail.com
on 28 Aug 2008 at 4:18