This error can come if somehow the property
javax.net.ssl.keyStore property was set (which is why the code could locate the keystore)
BUT
the property : javax.net.ssl.keyStorePassword seems not set and so the JavaKeyStore class complains Password must not be null.
[Message sent by forum member 'kumarjayanti' (kumarjayanti)]
http://forums.java.net/jive/thread.jspa?messageID=254611