[ 
http://jira.magnolia-cms.com/browse/MAGNOLIA-3954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Federico Grilli reopened MAGNOLIA-3954:
---------------------------------------


When installing the EE webapp this seems to cause

{noformat}
[INFO] [talledLocalContainer] 2012-01-31 17:33:30,493 ERROR 
info.magnolia.module.InstallContextImpl           : > Error while installing or 
updating workflow module. Task 'Add superuser to the publishers group' failed. 
(NullPointerException: )
[INFO] [talledLocalContainer] java.lang.NullPointerException
[INFO] [talledLocalContainer]   at 
info.magnolia.cms.security.RepositoryBackedSecurityManager.getLinkedResourceId(RepositoryBackedSecurityManager.java:191)
[INFO] [talledLocalContainer]   at 
info.magnolia.cms.security.RepositoryBackedSecurityManager.add(RepositoryBackedSecurityManager.java:154)
[INFO] [talledLocalContainer]   at 
info.magnolia.cms.security.MgnlUserManager.addGroup(MgnlUserManager.java:602)
[INFO] [talledLocalContainer]   at 
info.magnolia.cms.security.DelegatingUserManager$10.delegate(DelegatingUserManager.java:205)
[INFO] [talledLocalContainer]   at 
info.magnolia.cms.security.DelegatingUserManager$10.delegate(DelegatingUserManager.java:202)
[INFO] [talledLocalContainer]   at 
info.magnolia.cms.security.DelegatingUserManager.delegateUntilNotNull(DelegatingUserManager.java:158)
[INFO] [talledLocalContainer]   at 
info.magnolia.cms.security.DelegatingUserManager.addGroup(DelegatingUserManager.java:202)
[INFO] [talledLocalContainer]   at 
info.magnolia.module.delta.AddUserToGroupTask.execute(AddUserToGroupTask.java:66)
[INFO] [talledLocalContainer]   at 
info.magnolia.module.ModuleManagerImpl.applyDeltas(ModuleManagerImpl.java:499)
{noformat} 

The jcr-sql2 query statement issued seems to be fine {{select * from 
[mgnl:group] where name() = 'publishers'}}. Is it maybe querying the wrong 
workspace? 

> info.magnolia.cms.security.MgnlGroupManager.getGroup(String) throws npe when 
> group doesn't exist
> ------------------------------------------------------------------------------------------------
>
>                 Key: MAGNOLIA-3954
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3954
>             Project: Magnolia
>          Issue Type: Improvement
>      Security Level: Public
>            Reporter: Milan Divilek
>            Assignee: Milan Divilek
>             Fix For: 4.5
>
>         Attachments: stacktrace
>
>
> info.magnolia.cms.security.MgnlGroupManager.getGroup(String) throws npe when 
> group doesn't exist. It should be changed to return some warn, but not fail 
> on this exception

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


----------------------------------------------------------------
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]>
----------------------------------------------------------------

Reply via email to