Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-15950

NPE in CollectionActionsBean

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 6.0
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Collections

      Description

      This stack trace happens:

      2014-11-18 14:23:23,769 ERROR [http-bio-10.213.1.54-8080-exec-693] [org.nuxeo.ecm.webapp.context.NavigationContextBean] <resetCurrentPath> documentManager not initialized {{RemoteAddr,10.213.0.1}{RequestURL,http://intranet.nuxeo.com/nuxeo/view_documents.faces}{ServletPath,/view_documents.faces}{SessionID,556BD20F289C9206DE8CD9A954C3366E.nuxeo}{UserPrincipal,atchertchian}}
      2014-11-18 14:23:23,772 ERROR [http-bio-10.213.1.54-8080-exec-693] [org.nuxeo.ecm.platform.actions.DefaultActionFilter] evaluation of condition #{collectionActions.canCurrentDocumentBeCollected()} failed: returning false {{RemoteAddr,10.213.0.1}{RequestURL,http://intranet.nuxeo.com/nuxeo/view_documents.faces}{ServletPath,/view_documents.faces}{SessionID,556BD20F289C9206DE8CD9A954C3366E.nuxeo}{UserPrincipal,atchertchian}}
      javax.el.ELException: java.lang.NullPointerException
              at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:339)
              at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:280)
              at org.jboss.el.parser.AstMethodSuffix.getValue(AstMethodSuffix.java:59)
              at org.jboss.el.parser.AstValue.getValue(AstValue.java:67)
              at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
              ... 168 more
      Caused by: java.lang.NullPointerException
              at org.nuxeo.ecm.collections.core.CollectionManagerImpl.isCollectable(CollectionManagerImpl.java:318)
              at org.nuxeo.ecm.collections.jsf.actions.CollectionActionsBean.canCurrentDocumentBeCollected(CollectionActionsBean.java:223)
              at sun.reflect.GeneratedMethodAccessor863.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:335)
              ... 168 more
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: