So I have this TaskScheduler that has 5 jobs being triggered by integration.
For
testing
purposes what I did was create a simple
java
class that retrieves data using MyBatis mappers.
Here is the code
Then at the main class, Im currently doing a Java Project but this is really a dynamic web project but for testing purposes.
I ran the code this exception appear at the console
For some reason every time the project begins a transaction with the database it produces an npe. Any ideas why?
Thanks,
Jet
Jayesh A Lalwani wrote:
The NPE is not when it begins the transaction. The NPE is happening on line 22 of BlahBlah. At least that's what the stack trace tells me. What is on line 22? One of the references used on line 22 has got to be null.
Sorry didn't put the whole line of code, but for your reference here it s:
added console message.