Hi guys,

I am getting a NPE exception when trying to edit a users profile. 
Interestingly, I only get the error on the server I deploy to, not on my local 
machine. Furthermore, I can edit the superusers profile in the production 
environment, just not the profiles of users with less privileges.

Users and roles are generated by JCR bootstrapping upon starting, so those 
entries are exactly the same for prod and local. Magnolia versions are also the 
same; deployed in a tomcat app server (also, same versions) and the server is 
running the same Java version.

Here are the error messages logged by the server:

[code]
2017-05-11 13:35:46,301 ERROR 
agnolia.ui.admincentral.usermenu.UserMenuPresenter: An error occurred while 
executing action [editUserProfile]
info.magnolia.ui.api.action.ActionExecutionException: Action execution failed 
for action: editUserProfile
        at 
info.magnolia.ui.api.action.AbstractActionExecutor.execute(AbstractActionExecutor.java:64)
        at 
info.magnolia.ui.admincentral.usermenu.UserMenuPresenter.onAction(UserMenuPresenter.java:95)
        at 
info.magnolia.ui.admincentral.usermenu.UserMenuViewImpl$3.contextMenuItemClicked(UserMenuViewImpl.java:112)
        at 
org.vaadin.peter.contextmenu.ContextMenu$ContextMenuItem.notifyClickListeners(ContextMenu.java:358)

[...]

Caused by: java.lang.NullPointerException
        at 
info.magnolia.ui.vaadin.integration.jcr.AbstractJcrNodeAdapter.initCommonAttributes(AbstractJcrNodeAdapter.java:95)
        at 
info.magnolia.ui.vaadin.integration.jcr.AbstractJcrAdapter.<init>(AbstractJcrAdapter.java:64)
        at 
info.magnolia.ui.vaadin.integration.jcr.AbstractJcrNodeAdapter.<init>(AbstractJcrNodeAdapter.java:81)


[/code]

I hope there is someone with an idea that can help me.

Thank you very much in advance!

Martin

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=769c92f4-22b0-4566-93ef-e2183ceadb92


----------------------------------------------------------------
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: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to