Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-25251

Spock client throws Nullpointer exception when a setup or cleanup method fails

XMLWordPrintable

      java.lang.NullPointerException
      at org.imaginea.jenkins.testinprogress.spock.SpockTestInProgressExtension.getTestMethodName(SpockTestInProgressExtension.java:102)
      at org.imaginea.jenkins.testinprogress.spock.SpockTestInProgressExtension.error(SpockTestInProgressExtension.java:185)
      at org.spockframework.runtime.MasterRunListener.error(MasterRunListener.java:64)
      at org.spockframework.runtime.JUnitSupervisor.error(JUnitSupervisor.java:99)
      at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:332)
      at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:311)
      at org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:91)
      at org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:82)
      at org.spockframework.runtime.Sputnik.run(Sputnik.java:63)
      at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:80)
      at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:47)
      at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:69)
      at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:49)
      at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
      at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      at org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
      at org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
      at $Proxy2.processTestClass(Unknown Source)
      at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:103)
      at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
      at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      at org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:355)
      at org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:66)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:722)

            menonvarun Varun Menon
            menonvarun Varun Menon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: