org.testng.internal.reflect.MethodMatcherException

Data provider mismatch Method: moveFileFails([Parameter{index=0, type=com.cgi.rbsfta.IFileMonitor, declaredAnnotations=[@mockit.Mocked(stubOutClassInitialization=false)]}]) Arguments: [(java.lang.String)]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web5

  • Data provider mismatch Method: moveFileFails([Parameter{index=0, type=com.cgi.rbsfta.IFileMonitor, declaredAnnotations=[@mockit.Mocked(stubOutClassInitialization=false)]}]) Arguments: [(java.lang.String)]
  • Data provider mismatch Method: testStore([Parameter{index=0, type=by.common.model.DummyDomain, declaredAnnotations=[@mockit.Mocked(stubOutClassInitialization=false)]}]) Arguments: [(java.lang.String)]
  • via GitHub by krmahadevan
    , 6 months ago
    Data provider mismatch Method: theTest([Parameter{index=0, type=java.lang.String, declaredAnnotations=[]}]) Arguments: [(java.lang.Integer)4]
  • Stack trace

    • org.testng.internal.reflect.MethodMatcherException: Data provider mismatch Method: moveFileFails([Parameter{index=0, type=com.cgi.rbsfta.IFileMonitor, declaredAnnotations=[@mockit.Mocked(stubOutClassInitialization=false)]}]) Arguments: [(java.lang.String)] at org.testng.internal.reflect.DataProviderMethodMatcher.getConformingArguments(DataProviderMethodMatcher.java:52) at org.testng.internal.Invoker.injectParameters(Invoker.java:1228) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1125) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112) at org.testng.TestRunner.privateRun(TestRunner.java:778) at org.testng.TestRunner.run(TestRunner.java:632) at org.testng.SuiteRunner.runTest(SuiteRunner.java:366) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319) at org.testng.SuiteRunner.run(SuiteRunner.java:268) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1225) at org.testng.TestNG.runSuitesLocally(TestNG.java:1150) at org.testng.TestNG.runSuites(TestNG.java:1075) at org.testng.TestNG.run(TestNG.java:1047) at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:126) at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:137) at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:58)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 10 months ago
    9 times, 3 months ago