Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed and reviewed
    • Affects versions: 1.3, 1.2, 1.1
    • Fix versions: 1.3, 1.2.1
    • Components: Legacy
    • Labels:
      None
    • Severity:
      Incorrectly Functioning With Workaround
    • Steps to reproduce:
      Hide
      On Startup one of our CA' throws this exception:
       
      2011-08-29 14:01:29 ERROR (JobRunShell:211) - Job capture_related.SerializeJob-Unscheduled-leslie-commerce-614-1310466523434 threw an unhandled Exception:
      java.lang.NullPointerException
              at java.io.File.<init>(File.java:305)
              at org.opencastproject.capture.impl.CaptureAgentImpl.createManifest(CaptureAgentImpl.java:587)
              at org.opencastproject.capture.impl.jobs.SerializeJob.execute(SerializeJob.java:69)
              at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
              at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)
       
      The line in Question is this one:

      File outputFile = new File(recording.getBaseDir(), recording.getProperty(outputProperty));

      Which suggests that recording.getProperty(outputProperty) is returning null. The parameter should probably be checked for nullability and an appropriate Exception passed...

      Code review suggest that 1.2 & trunk are affected as well as 1.





      Show
      On Startup one of our CA' throws this exception:   2011-08-29 14:01:29 ERROR (JobRunShell:211) - Job capture_related.SerializeJob-Unscheduled-leslie-commerce-614-1310466523434 threw an unhandled Exception: java.lang.NullPointerException         at java.io.File.<init>(File.java:305)         at org.opencastproject.capture.impl.CaptureAgentImpl.createManifest(CaptureAgentImpl.java:587)         at org.opencastproject.capture.impl.jobs.SerializeJob.execute(SerializeJob.java:69)         at org.quartz.core.JobRunShell.run(JobRunShell.java:202)         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)   The line in Question is this one: File outputFile = new File(recording.getBaseDir(), recording.getProperty(outputProperty)); Which suggests that recording.getProperty(outputProperty) is returning null. The parameter should probably be checked for nullability and an appropriate Exception passed... Code review suggest that 1.2 & trunk are affected as well as 1.

      TestRail: Results

        Attachments

          Activity

            People

            • Assignee:
              Greg Logan
              Reporter:
              David Horwitz
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                TestRail: Cases

                  TestRail: Runs