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

Prepare-AV WOH throws a null pointer

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed and reviewed
    • Affects versions: 6.0
    • Fix versions: 6.0
    • Components: Backend Software
    • Labels:
      None
    • Severity:
      Non Functioning
    • Steps to reproduce:
      Hide
      Via Ruth Lang on list:

      Hi,

      I am not sure, if this WOH can still be used, because it is no longer used in the default workflows that come with OC 6.x

      Nevertheless we still want to use it, but in OC 6.x we ran into this error:

      2018-11-05 15:14:21,901 | INFO | (IncludeWorkflowOperationHandler:107) - Insert workflow uzk-partial-prepare-manual into the current workflow instance
      2018-11-05 15:14:27,152 | ERROR | (WorkflowOperationWorker:180) - Workflow operation 'operation:'prepare-av', position:13, state:'FAILED'' failed
      java.lang.NullPointerException
      at org.opencastproject.workflow.api.WorkflowOperationTagUtil.createTagDiff(WorkflowOperationTagUtil.java:63)[170:opencast-workflow-service-api:6.0.0.SNAPSHOT]
      at org.opencastproject.workflow.handler.composer.PrepareAVWorkflowOperationHandler.mux(PrepareAVWorkflowOperationHandler.java:175)[61:opencast-composer-workflowoperation:6.0.0.SNAPSHOT]
      at org.opencastproject.workflow.handler.composer.PrepareAVWorkflowOperationHandler.start(PrepareAVWorkflowOperationHandler.java:140)[61:opencast-composer-workflowoperation:6.0.0.SNAPSHOT]
      at org.opencastproject.workflow.impl.WorkflowOperationWorker.start(WorkflowOperationWorker.java:233)[171:opencast-workflow-service-impl:6.0.0.SNAPSHOT]
      at org.opencastproject.workflow.impl.WorkflowOperationWorker.execute(WorkflowOperationWorker.java:155)[171:opencast-workflow-service-impl:6.0.0.SNAPSHOT]
      at org.opencastproject.workflow.impl.WorkflowServiceImpl.runWorkflowOperation(WorkflowServiceImpl.java:892)[171:opencast-workflow-service-impl:6.0.0.SNAPSHOT]
      at org.opencastproject.workflow.impl.WorkflowServiceImpl.process(WorkflowServiceImpl.java:1925)[171:opencast-workflow-service-impl:6.0.0.SNAPSHOT]
      at org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:2355)[171:opencast-workflow-service-impl:6.0.0.SNAPSHOT]
      at org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:2321)[171:opencast-workflow-service-impl:6.0.0.SNAPSHOT]
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_191]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_191]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_191]
      at java.lang.Thread.run(Thread.java:748)[:1.8.0_191]

      A quick look inside the source code shows, that the routine createTagDiff has been newly introduced in OC 6.x
      Unfortunately there is a statement missing, that checks if there are any tags at all and the WOH prepare-av has definitely no target-tags.

      Regards
      Show
      Via Ruth Lang on list: Hi, I am not sure, if this WOH can still be used, because it is no longer used in the default workflows that come with OC 6.x Nevertheless we still want to use it, but in OC 6.x we ran into this error: 2018-11-05 15:14:21,901 | INFO | (IncludeWorkflowOperationHandler:107) - Insert workflow uzk-partial-prepare-manual into the current workflow instance 2018-11-05 15:14:27,152 | ERROR | (WorkflowOperationWorker:180) - Workflow operation 'operation:'prepare-av', position:13, state:'FAILED'' failed java.lang.NullPointerException at org.opencastproject.workflow.api.WorkflowOperationTagUtil.createTagDiff(WorkflowOperationTagUtil.java:63)[170:opencast-workflow-service-api:6.0.0.SNAPSHOT] at org.opencastproject.workflow.handler.composer.PrepareAVWorkflowOperationHandler.mux(PrepareAVWorkflowOperationHandler.java:175)[61:opencast-composer-workflowoperation:6.0.0.SNAPSHOT] at org.opencastproject.workflow.handler.composer.PrepareAVWorkflowOperationHandler.start(PrepareAVWorkflowOperationHandler.java:140)[61:opencast-composer-workflowoperation:6.0.0.SNAPSHOT] at org.opencastproject.workflow.impl.WorkflowOperationWorker.start(WorkflowOperationWorker.java:233)[171:opencast-workflow-service-impl:6.0.0.SNAPSHOT] at org.opencastproject.workflow.impl.WorkflowOperationWorker.execute(WorkflowOperationWorker.java:155)[171:opencast-workflow-service-impl:6.0.0.SNAPSHOT] at org.opencastproject.workflow.impl.WorkflowServiceImpl.runWorkflowOperation(WorkflowServiceImpl.java:892)[171:opencast-workflow-service-impl:6.0.0.SNAPSHOT] at org.opencastproject.workflow.impl.WorkflowServiceImpl.process(WorkflowServiceImpl.java:1925)[171:opencast-workflow-service-impl:6.0.0.SNAPSHOT] at org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:2355)[171:opencast-workflow-service-impl:6.0.0.SNAPSHOT] at org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:2321)[171:opencast-workflow-service-impl:6.0.0.SNAPSHOT] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_191] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_191] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_191] at java.lang.Thread.run(Thread.java:748)[:1.8.0_191] A quick look inside the source code shows, that the routine createTagDiff has been newly introduced in OC 6.x Unfortunately there is a statement missing, that checks if there are any tags at all and the WOH prepare-av has definitely no target-tags. Regards

      TestRail: Results

        Attachments

          Activity

            People

            • Assignee:
              greg_logan Greg Logan
              Reporter:
              greg_logan Greg Logan
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                TestRail: Cases