[MGNLSTK-985] NPE on update when attempting to assign role to anonymous Created: 06/Aug/12 Updated: 21/Aug/13 Resolved: 23/Aug/12 |
|
| Status: | Closed |
| Project: | Magnolia Standard Templating Kit (closed) |
| Component/s: | None |
| Affects Version/s: | 2.0.4 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Jan Haderka | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||
| Issue Links: |
|
||||
| Template: |
|
||||
| Acceptance criteria: |
Empty
|
||||
| Date of First Response: | |||||
| Description |
INFO | jvm 1 | 2012/08/03 13:44:57 | ERROR info.magnolia.module.InstallContextImpl InstallContextImpl.java(error:97) 03.08.2012 13:44:57 > Could not perform installation: null INFO | jvm 1 | 2012/08/03 13:44:57 | java.lang.NullPointerException INFO | jvm 1 | 2012/08/03 13:44:57 | at info.magnolia.cms.security.MgnlUserManager.addRole(MgnlUserManager.java:568) INFO | jvm 1 | 2012/08/03 13:44:57 | at info.magnolia.cms.security.DelegatingUserManager$10.delegate(DelegatingUserManager.java:205) INFO | jvm 1 | 2012/08/03 13:44:57 | at info.magnolia.cms.security.DelegatingUserManager$10.delegate(DelegatingUserManager.java:202) INFO | jvm 1 | 2012/08/03 13:44:57 | at info.magnolia.cms.security.DelegatingUserManager.delegateUntilNotNull(DelegatingUserManager.java:168) INFO | jvm 1 | 2012/08/03 13:44:57 | at info.magnolia.cms.security.DelegatingUserManager.addRole(DelegatingUserManager.java:202) INFO | jvm 1 | 2012/08/03 13:44:57 | at info.magnolia.module.templatingkit.setup.for1_1.AddContactUserRoleTask.execute(AddContactUserRoleTask.java:63) INFO | jvm 1 | 2012/08/03 13:44:57 | at info.magnolia.module.ModuleManagerImpl.applyDeltas(ModuleManagerImpl.java:499) INFO | jvm 1 | 2012/08/03 13:44:57 | at info.magnolia.module.ModuleManagerImpl.installOrUpdateModule(ModuleManagerImpl.java:481) INFO | jvm 1 | 2012/08/03 13:44:57 | at info.magnolia.module.ModuleManagerImpl$1.doExec(ModuleManagerImpl.java:270) INFO | jvm 1 | 2012/08/03 13:44:57 | at info.magnolia.context.MgnlContext$VoidOp.exec(MgnlContext.java:443) |
| Comments |
| Comment by Edgar Vonk [ 06/Aug/12 ] |
|
In reply to http://forum.magnolia-cms.com/forum/thread.html?threadId=1793d5b6-2034-4209-b4ba-564a1b08c1e5 the contents of our Magnolia 4.4.6 and Magnolia 4.5.3 WEB-INF/lib Note: in Magnolia 4.4.6 we do not have the STK (and related modules) installed, in 4.5.3 we do (with the mentioned NPE as a result). |
| Comment by Ondrej Chytil [ 23/Aug/12 ] |
|
Since we are unable to reproduce this one I'm closing the ticket. Don't hesitate to re-open it with any details that might help us hit the issue. |
| Comment by Benoit Poncelet [ 21/Aug/13 ] |
|
We had the same issue when installing for the first time the application on 4 prod servers. After investigation with Jan, we found that we comment out the default SearchIndex in the defaut Workspace (jackrabbit-bundle-oracle-search.xml). This is needed for workspaces role and users... Just restart the install with clean repository and clean db with the default serachIndex and back to normal. |