We're updating the issue view to help you get more done. 

Bad media causes NPE in media inspection

Steps to reproduce

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)

Status

Assignee

Lars Kiesow

Reporter

Christopher Brooks

Severity

Cosmetic Issue

Tags (folksonomy)

None

Components

Fix versions

Affects versions

1.2

Priority

Minor