Uploaded image for project: 'Opencast'
  1. MH-8574

Workspace doesn't check for server error on response

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed and reviewed
    • Affects versions: 1.3
    • Fix versions: 1.3
    • Components: Backend Software
    • Labels:
      None
    • Severity:
      Non Functioning
    • Steps to reproduce:
      Hide
      Seen in production on UCT. An encoding operation failed on examination the file downloaded was a felix error message:

      "<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
      <title>Error 500 org.apache.cxf.interceptor.Fault: File must not be null</title>
      </head>
      <body><h2>HTTP ERROR 500</h2>
      <p>Problem accessing /files/mediapackage/d808b0ff-4df4-4508-9a50-acaee5cd7057/43335eb0-d3c4-4828-a333-b2bc3bab4658/Presentation.mp4. Reason:
      <pre> org.apache.cxf.interceptor.Fault: File must not be null</pre></p><h3>Caused by:</h3><pre>java.lang.RuntimeException: org.apache.cxf.interceptor.Fault: File must not be nul
      l "

      It seems round l229 WorkspaceImpl tests for a 404 or a not modified returned but not for a 500. I'm not sure what caused the felix error, but it seems that the correct response might be a "wait and retry n times"
      Show
      Seen in production on UCT. An encoding operation failed on examination the file downloaded was a felix error message: "<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> <title>Error 500 org.apache.cxf.interceptor.Fault: File must not be null</title> </head> <body><h2>HTTP ERROR 500</h2> <p>Problem accessing /files/mediapackage/d808b0ff-4df4-4508-9a50-acaee5cd7057/43335eb0-d3c4-4828-a333-b2bc3bab4658/Presentation.mp4. Reason: <pre> org.apache.cxf.interceptor.Fault: File must not be null</pre></p><h3>Caused by:</h3><pre>java.lang.RuntimeException: org.apache.cxf.interceptor.Fault: File must not be nul l " It seems round l229 WorkspaceImpl tests for a 404 or a not modified returned but not for a 500. I'm not sure what caused the felix error, but it seems that the correct response might be a "wait and retry n times"

      TestRail: Results

        Attachments

          Activity

            People

            • Assignee:
              twunden Tobias Wunden
              Reporter:
              dhorwitz David Horwitz
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                TestRail: Cases