Dear folks,
We would like trim media from rest module . Through the composer rest we able to trim 3 different files. When we try the replaceAndresume we get the following error. *Instance of class org.opencastproject.mediapackage.MediaPackageImpl can not be created using static valueOf(String) or fromString(String) methods* * * We are unable to resume the workflow, and not aware of what format we could use to access the resume workflow….. For example: We are uploading video and hold it for resume. Then I trim that file from composer rest module. It generates trimmed file like http://localhost:8080/files/collection/composer/152.flv, Then I get payload information from http://localhost:8080/services/job/152.xml. I post those information in mediapackage field in replaceAndresume workflow. If i leave properties field empty it produce following error *ERROR (WorkflowOperationWorker:156) - Workflow operation 'trim' failed* *java.lang.NumberFormatException: null* * * If I give properties like trimin=1000 newduration=3000 it fails and display following error ERROR (WorkflowOperationWorker:156) - Workflow operation 'distribute-download' failed java.lang.IllegalArgumentException: No jobs have been submitted at org.opencastproject.job.api.JobBarrier.waitForJobs(JobBarrier.java:141) at org.opencastproject.workflow.api.AbstractWorkflowOperationHandler.waitForStatus(AbstractWorkflowOperationHandler.java:316) at org.opencastproject.workflow.api.AbstractWorkflowOperationHandler.waitForStatus(AbstractWorkflowOperationHandler.java:289) at org.opencastproject.workflow.handler.DistributeWorkflowOperationHandler.start(DistributeWorkflowOperationHandler.java:140) at org.opencastproject.workflow.impl.WorkflowOperationWorker.start(WorkflowOperationWorker.java:216) at org.opencastproject.workflow.impl.WorkflowOperationWorker.execute(WorkflowOperationWorker.java:138) at org.opencastproject.workflow.impl.WorkflowServiceImpl.runWorkflowOperation(WorkflowServiceImpl.java:646) at org.opencastproject.workflow.impl.WorkflowServiceImpl.process(WorkflowServiceImpl.java:1345) at org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:1594) at org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:1572) 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) Pls, Suggest me how to overcome this issue.... -- Regards, R. Ramki.
_______________________________________________ Matterhorn-users mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
