I am getting NullPointerException when trying to do anything using the identityservcie.
following is the test code. i can create process, assign tasks but when i try any method
on the identityservice it throws NullPointerException. Please help.
Configuration configuration = JBPMSingleton.getConfig();
ProcessEngine processEngine = configuration.buildProcessEngine();
IdentityService identityService = processEngine.getIdentityService();
String group = identityService.createGroup("test");
identityService.createUser("jason", "jason", "king");
identityService.createMembership("alex", group, "developer");
int i = identityService.findUsers().size();
System.out.println("no of users " + i);
Thanks
Manju
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254518#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...