java.lang.IllegalArgumentException: wrong number of arguments

GitHub | kriegaex | 5 months ago
  1. 0

    With "Prune stale remote-tracking branches" enabled, builds fail with this stacktrace: {code} Started by an SCM change Building remotely on ciwin8 in workspace c:\ci\workspace\foo Fetching changes from the remote Git repository Fetching upstream changes from origin Checking out Revision 9dcf1a0d1098ceaa45e56fa199705eb182691b80 (origin/master) FATAL: wrong number of arguments java.lang.IllegalArgumentException: wrong number of arguments at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:60) at java.lang.Thread.run(Unknown Source) {code}

    Jenkins JIRA | 3 years ago | Christian Hofstaedtler
    java.lang.IllegalArgumentException: wrong number of arguments
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    reflection & varargs

    Oracle Community | 10 years ago | 807607
    java.lang.IllegalArgumentException: wrong number of arguments
  4. 0

    reflection & varargs

    Oracle Community | 10 years ago | 807607
    java.lang.IllegalArgumentException: wrong number of arguments

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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