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)]

GitHub | simplylewis | 5 months ago
  1. 1

    Problem with TestNG Eclipse plugin version 6.9.11.201604020423

    GitHub | 5 months ago | simplylewis
    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)]
  2. 0

    Better error message when "org.testng.internal.reflect.MethodMatcherException: Data provider mismatch "

    GitHub | 8 months ago | hemanthsridhar
    org.testng.internal.reflect.MethodMatcherException: Data provider mismatch Method: TC_PA_008_TC_PA_009_TC_PA_010__TC_PA_011_TC_PA_012_TC_PA_013_TC_PA_014_TC_PA_015_TC_PA_016_TC_A_017_TC_PA_018_TC_PA_019_TC_PA_020_TC_PA_021_TC_PA_022_errorScenarios([Parameter{index=0, type=java.lang.String, declaredAnnotations=[]}, Parameter{index=1, type=java.lang.String, declaredAnnotations=[]}, Parameter{index=2, type=java.lang.String, declaredAnnotations=[]}, Parameter{index=3, type=java.lang.String, declaredAnnotations=[]}, Parameter{index=4, type=java.lang.String, declaredAnnotations=[]}, Parameter{index=5, type=java.lang.String, declaredAnnotations=[]}, Parameter{index=6, type=java.lang.String, declaredAnnotations=[]}, Parameter{index=7, type=java.lang.String, declaredAnnotations=[]}, Parameter{index=8, type=java.lang.String, declaredAnnotations=[]}, Parameter{index=9, type=java.lang.String, declaredAnnotations=[]}, Parameter{index=10, type=java.lang.String, declaredAnnotations=[]}, Parameter{index=11, type=java.lang.String, declaredAnnotations=[]}, Parameter{index=12, type=java.lang.String, declaredAnnotations=[]}, Parameter{index=13, type=java.lang.String, declaredAnnotations=[]}, Parameter{index=14, type=java.lang.String, declaredAnnotations=[]}]) Arguments: [(java.lang.String),(java.lang.String)hemanth,(java.lang.String)sridhar,(java.lang.String)test123,(java.lang.String)test123,(java.lang.String)address1,(java.lang.String)address2,(java.lang.String)Topeka,(java.lang.String)Kansas,(java.lang.String)66601,(java.lang.String)1234567890,(java.lang.String)Super User,(java.lang.String),(java.lang.String)Please enter Email Address.]
  3. 0

    TestNG data providers now fail to work

    YouTrack | 7 months ago
    org.testng.internal.reflect.MethodMatcherException: Data provider mismatch Method: nonNegativeArgument([Parameter{index=0, type=java.lang.String, declaredAnnotations=[]}, Parameter{index=1, type=kotlin.jvm.functions.Function1, declaredAnnotations=[]}, Parameter{index=2, type=long, declaredAnnotations=[]}, Parameter{index=3, type=java.math.BigInteger, declaredAnnotations=[]}]) Arguments: [(java.lang.String)iterative,(uk.org.winder.maths.factorial.Factorial_TestNG$algorithms$1)kotlin.jvm.functions.Function1<java.lang.Long, java.math.BigInteger>,(java.lang.Integer)0,(java.math.BigInteger)1]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Data provider mismatch with @Mocked annotation

    GitHub | 3 months ago | AlexStasko
    org.testng.internal.reflect.MethodMatcherException: Data provider mismatch Method: testStore([Parameter{index=0, type=by.common.model.DummyDomain, declaredAnnotations=[@mockit.Mocked(stubOutClassInitialization=false)]}]) Arguments: [(java.lang.String)]

    1 unregistered visitors

    Root Cause Analysis

    1. 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()
    2. org.testng.internal
      DataProviderMethodMatcher.getConformingArguments
      1. org.testng.internal.reflect.DataProviderMethodMatcher.getConformingArguments(DataProviderMethodMatcher.java:52)
      1 frame
    3. TestNG
      RemoteTestNG.main
      1. org.testng.internal.Invoker.injectParameters(Invoker.java:1228)
      2. org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1125)
      3. org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
      4. org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
      5. org.testng.TestRunner.privateRun(TestRunner.java:778)
      6. org.testng.TestRunner.run(TestRunner.java:632)
      7. org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
      8. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
      9. org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
      10. org.testng.SuiteRunner.run(SuiteRunner.java:268)
      11. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      12. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      13. org.testng.TestNG.runSuitesSequentially(TestNG.java:1225)
      14. org.testng.TestNG.runSuitesLocally(TestNG.java:1150)
      15. org.testng.TestNG.runSuites(TestNG.java:1075)
      16. org.testng.TestNG.run(TestNG.java:1047)
      17. org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:126)
      18. org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:137)
      19. org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:58)
      19 frames