Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. TestNG.run() has thrown a TestNGException
    TestNG
    2
    0
    0

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
org.testng.TestNGException: Can't invoke public void com.test.b.TestCase.test(): either make it static or add a no-args constructor to your class
16 matching frames hidden
    at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
    at org.testng.TestNG.run(TestNG.java:1057)
    at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:115)
    at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:128)
5 frames hidden

External results for this pattern (2)

  1. Can't invoke public void calendarPage.Practice.Practice(): either make it static or add a no-args constructor to your class
    Show stack trace
  2. Can't invoke public void com.test.b.TestCase.test(): either make it static or add a no-args constructor to your class
    Show stack trace