Thanks Jian

I moved to Idea 10. But now I get the following exception.


java.lang.NullPointerException: Cannot invoke method Form() on null
object
        at
org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:
77)
        at
org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:
45)
        at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:
40)
        at
org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:
32)
        at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:
40)
        at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:
116)
        at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:
128)
        at com.zedo.test.ui.LoginUi.defineUi(LoginUi.groovy:20)
        at com.zedo.test.ui.LoginTest.initUi(LoginTest.java:22)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
        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.junit.runner.JUnitCore.run(JUnitCore.java:157)
        at
com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:
94)
        at
com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:
196)
        at
com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:
65)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
        at com.intellij.rt.execution.application.AppMain.main(AppMain.java:
115)

11:36:01.748 INFO - Stopped HttpContext[/,/]
11:36:01.748 INFO - Stopped org.mortbay.jetty.Server@1c63e8c


What do you think must be the cause?

Rohan

On Jan 14, 7:34 pm, Jian Fang <[email protected]> wrote:
> Looks like something is wrong in the @BeforeClass method, please see the
> issue here:
>
> http://youtrack.jetbrains.net/issue/IDEA-38287
>
> Check your @BeforeClass method.
>
> Thanks,
>
> Jian
>
> On Fri, Jan 14, 2011 at 5:27 AM, Rohan <[email protected]> wrote:
> > Hi,
>
> > I get the following error when I run my test class.
>
> > Configure Selenium Client using configuration
> > 15:56:53.140 INFO - Stopping Acceptor
> > ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=4444]
> > 15:56:53.239 INFO - Stopped SocketListener on 0.0.0.0:4444
> > 15:56:53.347 INFO - Stopped HttpContext[/selenium-server/driver,/
> > selenium-server/driver]
> > 15:56:53.427 INFO - Stopped HttpContext[/selenium-server,/selenium-
> > server]
> > 15:56:53.510 INFO - Stopped HttpContext[/,/]
> > 15:56:53.510 INFO - Stopped org.mortbay.jetty.Server@b914b3
> > Wrong test finished. Last started: null stopped: Dummyclass
> > com.intellij.rt.junit4.Junit4ClassSuite$1false
>
> > I am running 0.7.0
>
> > Please advise.
>
> > ROhan
>
> > --
> > 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.

Reply via email to