Thanks for your reply, sorry I couldn't post this before the Server went down.
Mark E Hansen wrote:So is the actual NullPointerException error you're getting a secret? At the very least, it will include the file and line where the error occurred, which will save folks a lot of time hunting through your code looking for what might be wrong.
Indeed it was line 36 I've just commented it out and it's working also made the amendments what you suggested.
Charles Owen wrote:Could the problem be line 36?
I am not sure why you have a CallableStatement and an OracleCallableStatement, but your CallableStatement variable callSP is set to null at line 4.