Hello,
I was a newbie in magnolia, and I hit the following problem (this is my code):
1. String username = "tony";
2. MgnlUserManager userManager = new MgnlUserManager();
3. (MgnlUser)userManager.getUser(username);
The third line throws the exception below
[quote]
Could not retrieve user with name: tony
javax.jcr.PathNotFoundException: /null
at org.apache.jackrabbit.core.ItemManager.getNode(ItemManager.java:577)
at
org.apache.jackrabbit.core.session.SessionItemOperation$6.perform(SessionItemOperation.java:129)
at
org.apache.jackrabbit.core.session.SessionItemOperation$6.perform(SessionItemOperation.java:125)
at
org.apache.jackrabbit.core.session.SessionItemOperation.perform(SessionItemOperation.java:187)
at
org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
...
[/quote]
The user "tony" is a basic user, I can see it with jcqQuery.
I have also try to set the String username as /admin/tony (like the node on
jcrquery).
The version of magnolia is 5.3.1.
Can someone help me?
Thanks in advance
Tony :)
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=9bb68f11-e557-400c-9284-def0bfadf314
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------