java.lang.NullPointerException when trying to save data to H2 Database [duplicate]
This question already has answers here: Why is my Spring @Autowired field null? (22 answers) What is a NullPointerException, and how do I fix it? (12 answers) Closed 18 mins ago. I’m trying to build a project that monitors the API usage of user projects. For example if the user makes an API call, the […]
java.lang.NullPointerException: , I am trying save some data in h2 database, but i am getting this null pointer exception,
`I am trying to build one monitoring project, from which we will monitor the api of user projects like if the user makes a api call of user api, in monitoring project I will get the api response time, number of times the api is been hit, endpoint url and status of api etc.