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

Drag and drop causes NPE if "Content-Type" header is missing in the request

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.6.0-HF24, 5.7.3
    • Component/s: Automation

      Description

      Typically with a file with an unknown extension, as the one attached, see stacktrace excerpt below:

      2013-09-17 17:33:46,326 ERROR [http-bio-0.0.0.0-8080-exec-1] [org.nuxeo.ecm.webengine.app.WebEngineExceptionMapper] Exception in JAX-RS processing
      java.lang.NullPointerException
              at org.nuxeo.ecm.automation.server.jaxrs.batch.BatchResource.doPost(BatchResource.java:131)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h