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

OAI-PMH distribution fails on adaptive streaming artifacts

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed and reviewed
    • Affects versions: 3.0
    • Fix versions: 3.0
    • Components: Backend Software
    • Labels:
      None
    • Severity:
      Incorrectly Functioning With Workaround
    • Steps to reproduce:
      Hide
      Steps to reproduce:
      1. Use the Wowza adaptive streaming module
      2. Upload a video that will be distributed to wowza
      3. The workflow fails because of:

      2017-04-28 11:21:31,672 | ERROR | (OaiPmhPublicationServiceImpl:438) - Error processing OAI-PMH operation job 1445: org.opencastproject.publication.api.PublicationException: org.opencastproject.mediapackage.MediaPackageException: Content is not allowed in trailing section.
              at org.opencastproject.publication.oaipmh.OaiPmhPublicationServiceImpl.publishElementsToDownload(OaiPmhPublicationServiceImpl.java:347)
              at org.opencastproject.publication.oaipmh.OaiPmhPublicationServiceImpl.publishInternal(OaiPmhPublicationServiceImpl.java:245)
              at org.opencastproject.publication.oaipmh.OaiPmhPublicationServiceImpl.process(OaiPmhPublicationServiceImpl.java:424)
              at org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:281)
              at org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:240)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
      Caused by: org.opencastproject.mediapackage.MediaPackageException: Content is not allowed in trailing section.
              at org.opencastproject.mediapackage.MediaPackageElementParser.getFromXml(MediaPackageElementParser.java:98)
              at org.opencastproject.publication.oaipmh.OaiPmhPublicationServiceImpl.getMediaPackageForOaiPmh(OaiPmhPublicationServiceImpl.java:469)
              at org.opencastproject.publication.oaipmh.OaiPmhPublicationServiceImpl.publishElementsToDownload(OaiPmhPublicationServiceImpl.java:345)
              ... 8 more
      Caused by: org.xml.sax.SAXParseException: Content is not allowed in trailing section.
              at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
              at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
              at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
              at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
              at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
              at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
              at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown Source)
              at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
              at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
              at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
              at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
              at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
              at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
              at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:258)
              at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:229)
              at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:172)
              at org.opencastproject.mediapackage.MediaPackageElementParser.getFromXml(MediaPackageElementParser.java:96)
              ... 10 more
      Show
      Steps to reproduce: 1. Use the Wowza adaptive streaming module 2. Upload a video that will be distributed to wowza 3. The workflow fails because of: 2017-04-28 11:21:31,672 | ERROR | (OaiPmhPublicationServiceImpl:438) - Error processing OAI-PMH operation job 1445: org.opencastproject.publication.api.PublicationException: org.opencastproject.mediapackage.MediaPackageException: Content is not allowed in trailing section.         at org.opencastproject.publication.oaipmh.OaiPmhPublicationServiceImpl.publishElementsToDownload(OaiPmhPublicationServiceImpl.java:347)         at org.opencastproject.publication.oaipmh.OaiPmhPublicationServiceImpl.publishInternal(OaiPmhPublicationServiceImpl.java:245)         at org.opencastproject.publication.oaipmh.OaiPmhPublicationServiceImpl.process(OaiPmhPublicationServiceImpl.java:424)         at org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:281)         at org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:240)         at java.util.concurrent.FutureTask.run(FutureTask.java:266)         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)         at java.lang.Thread.run(Thread.java:745) Caused by: org.opencastproject.mediapackage.MediaPackageException: Content is not allowed in trailing section.         at org.opencastproject.mediapackage.MediaPackageElementParser.getFromXml(MediaPackageElementParser.java:98)         at org.opencastproject.publication.oaipmh.OaiPmhPublicationServiceImpl.getMediaPackageForOaiPmh(OaiPmhPublicationServiceImpl.java:469)         at org.opencastproject.publication.oaipmh.OaiPmhPublicationServiceImpl.publishElementsToDownload(OaiPmhPublicationServiceImpl.java:345)         ... 8 more Caused by: org.xml.sax.SAXParseException: Content is not allowed in trailing section.         at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)         at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)         at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)         at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)         at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)         at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)         at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown Source)         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)         at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)         at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:258)         at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:229)         at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:172)         at org.opencastproject.mediapackage.MediaPackageElementParser.getFromXml(MediaPackageElementParser.java:96)         ... 10 more

      TestRail: Results

        Attachments

          Activity

            People

            • Assignee:
              rrolf Rüdiger Rolf
              Reporter:
              rrolf Rüdiger Rolf
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                TestRail: Cases