-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.2 GA
-
Fix Version/s: 5.3 RC
-
Component/s: Seam / JSF UI
If you login with a User that has access to more than 1 domain so the viewDomains page is opened. If you then click on Dashboard, most of the widgets are not rendered due to an NPE:
17:10:07,601 ERROR [ResultsProvidersCacheBean] failed to obtain sorted resultProvider
java.lang.NullPointerException
at org.nuxeo.common.utils.Path.computeHashCode(Path.java:318)
at org.nuxeo.common.utils.Path.<init>(Path.java:90)
at org.nuxeo.common.utils.Path.createFromSegments(Path.java:124)
at org.nuxeo.ecm.webapp.context.NavigationContextBean.getCurrentDomainPath(NavigationContextBean.java:191)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
at org.jboss.seam.core.ConversationInterceptor.aroundInvoke(ConversationInterceptor.java:65)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)
at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)
at org.nuxeo.ecm.webapp.context.NavigationContextBean_$$javassist_13.getCurrentDomainPath(NavigationContextBean$$_javassist_13.java)
at org.nuxeo.ecm.webapp.dashboard.DashBoardActionsBean.getResultsProvider(DashBoardActionsBean.java:239)
Is an issue with NavigationContextBean#getCurrentDomainPath interacts with the Path class with no segments, i.e. for the root path and there is no selected domain.