AnsweredAssumed Answered

How to call people root object in java-backend like javascript

Question asked by thinhnk on Mar 15, 2013
Latest reply on Mar 15, 2013 by thinhnk
Hi friends,
I have following code in my java-backend webscript

org.alfresco.repo.jscript.People.People people = new org.alfresco.repo.jscript.People.People();
ScriptNode user = people.createPerson(username, firstname, lastname, email, password, true);

But NullPointerException happens. Can anyone tell me how to solve it?