Could not instantiate class [com.mst.batch.jdbc.MSTDataExtractThread]; constructor threw exception; nested exception is java.lang.NullPointerException: null
That is your error.
The funny thing about Spring exceptions is that unlike other exception reading. It is best to start at the bottom and get the root exception, and that will tell you what is wrong
So in the constructor of MSTDataExtractThread class you are getting a NullPointerException.
I am not sure why its an issue in the constructor of MSTDatExtrachThread class.
If i change tthe spring beans configuration by removing sourceBean as reference proprty and put it as an isolated bean and get that bean through Bean factory
it works without any error.