java.lang.ExceptionInInitializerErrorat BDD.HART_listeners.TestListener.onTestStart(TestListener.java:26)Caused by: java.lang.NullPointerExceptionat BDD.HART_utility.HARTLogger.initialize(HARTLogger.java:37)at BDD.HART_utility.HARTLogger.getLogger(HARTLogger.java:65)at BDD.HART_utility.ConfigReader.<clinit>(ConfigReader.java:12)... 26 more... Removed 25 stack framesCould not initialize class BDD.HART_utility.ConfigReaderjava.lang.NoClassDefFoundError: Could not initialize class BDD.HART_utility.ConfigReaderat BDD.HART_listeners.TestListener.onTestFailure(TestListener.java:59)... Removed 25 stack framesHello @Sourav Pratap and welcome to the Community.
Are you running the automated test cases in Bitbucket Pipelines?
If yes, then I would suggest trying to debug your code locally with docker, as the error suggests the issue is with your current java code itself, rather than with the Pipelines environment.
After debugging it locally, once you've got it working well, you can update your bitbucket-pipelines.yml to match the changes.
Thank you, @Sourav Pratap !
Patrik S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.