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

Avoid NPE when no blob is present

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.3
    • Fix Version/s: 7.4
    • Component/s: Seam / JSF UI

      Description

      When a file has no blob attached, the following may occur:

      2015-08-24 10:56:30,108 ERROR [http-bio-0.0.0.0-8080-exec-11] [org.nuxeo.ecm.platform.actions.DefaultActionFilter] evaluation of condition #{conversionActions.isPDF(blob)} failed: returning false
      javax.el.ELException: java.lang.NullPointerException
      Caused by: java.lang.NullPointerException
              at org.nuxeo.ecm.webapp.action.ConversionActionBean.isPDF(ConversionActionBean.java:291)
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: