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

DirectoryEntryOutput NPE crash

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.1
    • Fix Version/s: 5.1.2
    • Component/s: None

      Description

      14:22:38,408 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
      java.lang.NullPointerException
      at org.nuxeo.ecm.platform.ui.web.directory.DirectoryEntryOutputRenderer.encodeBegin(DirectoryEntryOutputRenderer.java:82)
      at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:785)

      In encodeBegin, Boolean displayIdAndLabel is null, but the call to
      DirectoryHelper.instance().getOptionValue(entryId, label, display, displayIdAndLabel, " ")
      tries to unbox it and crashes on NPE.

        Attachments

          Activity

            People

            • Assignee:
              fguillaume Florent Guillaume
              Reporter:
              fguillaume Florent Guillaume
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified