-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.5
-
Fix Version/s: 5.5.0-HF05, 5.6-RC1, 5.6
-
Component/s: Seam / JSF UI
If a user doesn't have access to the default domain, she's redirected to the dashboard after logging in.
Then if she navigates to her personal workspace, she falls on this error
Exception: org.nuxeo.ecm.core.api.DocumentException. message: Invalid reference (null) javax.servlet.ServletException: /incl/tree_explorer.xhtml @12,46 test="#{!empty treeActions.treeRoots}": Error reading 'treeRoots' on type org.nuxeo.ecm.webapp.tree.TreeActionsBean_$$_javassist_47 at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277) ... Caused by: javax.el.ELException: /incl/tree_explorer.xhtml @12,46 test="#{!empty treeActions.treeRoots}": Error reading 'treeRoots' on type org.nuxeo.ecm.webapp.tree.TreeActionsBean_$$_javassist_47 at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:76) at com.sun.facelets.tag.TagAttribute.getObject(TagAttribute.java:233) at com.sun.facelets.tag.TagAttribute.getBoolean(TagAttribute.java:79) ... Caused by: org.nuxeo.ecm.core.api.ClientException: Failed to get document null at org.nuxeo.ecm.core.api.AbstractSession.getDocument(AbstractSession.java:1159) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ... Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: org.nuxeo.ecm.core.api.DocumentException. message: Invalid reference (null) at org.nuxeo.ecm.core.api.DocumentResolver.resolveReference(DocumentResolver.java:57)
Some initialization is needed to avoid this null value