Hi,
I am getting NPE at line 3, I doubt if SimpleCredentials is an issue over
here.
Please provide inputs if someone has faced the same.
try {
Repository repository = configurator.getJCRRepository(
repositoryHomeDirectory );
Credentials credentials = new SimpleCredentials("admin",
"admin".toCharArray());
//line 3 Session session = repository.login(credentials,
"production");
Node node = session.getRootNode();
System.out.println("root node path: " + node.getPath());
} catch (Exception e) {
e.printStackTrace();
}
TIA.
Regards,
Praveen.
--
View this message in context:
http://drools.46999.n3.nabble.com/NPE-while-creating-Session-using-Simple...
Sent from the Drools: User forum mailing list archive at
Nabble.com.