[
http://jira.nuxeo.org/browse/NXP-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anahide Tchertchian resolved NXP-3792.
--------------------------------------
Resolution: Fixed
Implemented proper handling of dashboard display when there are several domains
visible:
http://hg.nuxeo.org/nuxeo/nuxeo-features/rev/b40609e2fe44
http://hg.nuxeo.org/nuxeo/nuxeo-dm/rev/34dbf80b0e0a
http://hg.nuxeo.org/nuxeo/nuxeo-distribution/rev/ba0ed54ed6d9
User can now switch between domains (Current domain will be used as default
value) and queries have been updated to be "local" to the given domain.
> NPE opening Dashboard from ViewDomains
> --------------------------------------
>
> Key: NXP-3792
> URL: http://jira.nuxeo.org/browse/NXP-3792
> Project: Nuxeo Enterprise Platform
> Issue Type: Bug
> Components: Web UI
> Affects Versions: 5.2 GA
> Reporter: Sean Radford
> Assignee: Anahide Tchertchian
> Fix For: 5.2.1
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets