-1

I am getting below issue:

java.lang.NullPointerException
    at org.testng.remote.strprotocol.TestResultMessage.<init>(TestResultMessage.java:127)
    at org.testng.remote.strprotocol.TestResultMessage.<init>(TestResultMessage.java:148)
    at org.testng.remote.strprotocol.RemoteTestListener1.onTestFailure(RemoteTestListener1.java:68)
    at org.testng.remote.strprotocol.RemoteTestListener1.onConfigurationFailure(RemoteTestListener1.java:98)
    at org.testng.internal.Invoker.runConfigurationListeners(Invoker.java:1770)
    at org.testng.internal.Invoker.handleConfigurationFailure(Invoker.java:323)
    at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:226)
    at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:130)
    at org.testng.TestRunner.beforeRun(TestRunner.java:624)
    at org.testng.TestRunner.run(TestRunner.java:592)
    at org.testng.SuiteRunner.runTest(SuiteRunner.java:317)
    at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:312)
    at org.testng.SuiteRunner.privateRun(SuiteRunner.java:274)
    at org.testng.SuiteRunner.run(SuiteRunner.java:223)
    at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
    at org.testng.TestNG.runSuitesSequentially(TestNG.java:1039)
    at org.testng.TestNG.runSuitesLocally(TestNG.java:964)
    at org.testng.TestNG.run(TestNG.java:900)
    at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:114)
    at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251)
    at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77)

closed as off-topic by c32hedge, Kevin McKenzie, dzieciou, Bharat Mane, trashpanda May 16 at 8:25

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers." – c32hedge, Bharat Mane, trashpanda
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Could you share the test code, the testng XML file and the command you are running? – João Farias May 15 at 13:40