java.lang.IllegalArgumentException: Method '$spock_feature_0_2prov0([])' can't be called with parameters '[null]'!

GitHub | Vampire | 5 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Injection of data in data-driven methods is broken

    GitHub | 5 months ago | Vampire
    java.lang.IllegalArgumentException: Method '$spock_feature_0_2prov0([])' can't be called with parameters '[null]'!

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Method '$spock_feature_0_2prov0([])' can't be called with parameters '[null]'!

    at org.spockframework.util.ReflectionUtil.validateArguments()
  2. Spock Framework - Core Module
    MethodInfo.invoke
    1. org.spockframework.util.ReflectionUtil.validateArguments(ReflectionUtil.java:186)
    2. org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:173)
    3. org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:84)
    3 frames
  3. org.gradle.api
    SuiteTestClassProcessor.processTestClass
    1. org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:114)
    2. org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:57)
    3. org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:66)
    4. org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
    4 frames
  4. org.gradle.internal
    ProxyDispatchAdapter$DispatchingInvocationHandler.invoke
    1. org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
    2. org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
    3. org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
    4. org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
    4 frames
  5. org.gradle.api
    TestWorker.processTestClass
    1. org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109)
    1 frame
  6. org.gradle.internal
    MessageHub$Handler.run
    1. org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
    2. org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
    3. org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:377)
    3 frames
  7. Gradle Core
    StoppableExecutorImpl$1.run
    1. org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
    2. org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
    2 frames
  8. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames