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

Bad media causes NPE in media inspection

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed, no review needed
    • Affects versions: 1.2
    • Fix versions: 1.2.1
    • Components: Backend Software
    • Labels:
      None
    • Severity:
      Cosmetic Issue
    • Steps to reproduce:
      Hide
      Ingest media connected to this ticket. You should get this err:

      2011-07-27 14:21:26 WARN (MediaInspectionServiceImpl:421) - Error enriching track http://mhadmin.usask.ca:8080/files/mediapackage/f05a2059-5b24-4903-9aed-59e87d14c5bf/8ff69098-3ea5-4520-b0b8-98c88e06c6c9/00004.mts
      java.lang.NullPointerException
      at org.opencastproject.inspection.impl.MediaInspectionServiceImpl.enrichTrack(MediaInspectionServiceImpl.java:371)
      at org.opencastproject.inspection.impl.MediaInspectionServiceImpl.enrich(MediaInspectionServiceImpl.java:299)
      at org.opencastproject.inspection.impl.MediaInspectionServiceImpl.process(MediaInspectionServiceImpl.java:148)
      at org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:184)
      at org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:156)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      Show
      Ingest media connected to this ticket. You should get this err: 2011-07-27 14:21:26 WARN (MediaInspectionServiceImpl:421) - Error enriching track http://mhadmin.usask.ca:8080/files/mediapackage/f05a2059-5b24-4903-9aed-59e87d14c5bf/8ff69098-3ea5-4520-b0b8-98c88e06c6c9/00004.mts java.lang.NullPointerException at org.opencastproject.inspection.impl.MediaInspectionServiceImpl.enrichTrack(MediaInspectionServiceImpl.java:371) at org.opencastproject.inspection.impl.MediaInspectionServiceImpl.enrich(MediaInspectionServiceImpl.java:299) at org.opencastproject.inspection.impl.MediaInspectionServiceImpl.process(MediaInspectionServiceImpl.java:148) at org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:184) at org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:156) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)

      TestRail: Results

        Attachments

          Activity

            People

            • Assignee:
              Lars Kiesow
              Reporter:
              Christopher Brooks
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                TestRail: Cases

                  TestRail: Runs