java.lang.IllegalArgumentException: wrong number of arguments

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

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    wrong number of arguments

    at org.spockframework.util.ReflectionUtil.invokeMethod()
  2. Spock Framework - Core Module
    MethodInvocation.proceed
    1. org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:153)
    2. org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:84)
    3. org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:88)
    3 frames
  3. org.jboss.arquillian
    ArquillianInterceptor$1.invoke
    1. org.jboss.arquillian.spock.ArquillianInterceptor$1.invoke(ArquillianInterceptor.java:108)
    1 frame
  4. Arquillian Container Test Implementation Base
    LocalTestExecuter.execute
    1. org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60)
    1 frame
  5. Arquillian Core Implementation Base
    EventImpl.fire
    1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
    2. org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
    3. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
    4. org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145)
    5. org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116)
    6. org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
    6 frames
  6. Arquillian Container Test Implementation Base
    ClientTestExecuter.execute
    1. org.jboss.arquillian.container.test.impl.execution.ClientTestExecuter.execute(ClientTestExecuter.java:53)
    1 frame
  7. Arquillian Core Implementation Base
    EventContextImpl.proceed
    1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
    2. org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
    3. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
    3 frames
  8. Arquillian Container Test Implementation Base
    ContainerEventController.createTestContext
    1. org.jboss.arquillian.container.test.impl.client.ContainerEventController.createContext(ContainerEventController.java:142)
    2. org.jboss.arquillian.container.test.impl.client.ContainerEventController.createTestContext(ContainerEventController.java:129)
    2 frames
  9. Arquillian Core Implementation Base
    EventContextImpl.proceed
    1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
    2. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
    2 frames
  10. Arquillian Test Implementation Base
    TestContextHandler.createTestContext
    1. org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130)
    1 frame
  11. Arquillian Core Implementation Base
    EventContextImpl.proceed
    1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
    2. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
    2 frames
  12. Arquillian Test Implementation Base
    TestContextHandler.createClassContext
    1. org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92)
    1 frame
  13. Arquillian Core Implementation Base
    EventContextImpl.proceed
    1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
    2. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
    2 frames
  14. Arquillian Test Implementation Base
    TestContextHandler.createSuiteContext
    1. org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73)
    1 frame
  15. Arquillian Core Implementation Base
    ManagerImpl.fire
    1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
    2. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
    3. org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145)
    3 frames
  16. Arquillian Test Implementation Base
    EventTestRunnerAdaptor.test
    1. org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:136)
    1 frame
  17. org.jboss.arquillian
    ArquillianInterceptor.interceptFeatureMethod
    1. org.jboss.arquillian.spock.ArquillianInterceptor.interceptFeatureMethod(ArquillianInterceptor.java:91)
    1 frame
  18. Spock Framework - Core Module
    MethodInvocation.proceed
    1. org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:40)
    2. org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:87)
    2 frames
  19. org.jboss.arquillian
    ArquillianSputnik.run
    1. org.jboss.arquillian.spock.ArquillianSputnik.run(ArquillianSputnik.java:135)
    1 frame
  20. JUnit
    JUnitCore.run
    1. org.junit.runner.JUnitCore.run(JUnitCore.java:160)
    1 frame
  21. IntelliJ junit4 module
    JUnit4IdeaTestRunner.startRunnerWithArgs
    1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:119)
    2. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:42)
    2 frames
  22. IDEA
    AppMain.main
    1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
    2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
    3. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
    3 frames