[ 
http://opencast.jira.com/browse/MH-6234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=23286#action_23286
 ] 

Adam Hochman edited comment on MH-6234 at 1/19/11 12:37 AM:
------------------------------------------------------------

Tobias, I was able to successfully trim using the rest endpoint directly, but I 
when I tried from the UI I received the following error.  I wasn't able to 
confirm whether it was a UI or backend issue.  Is this the error that is now 
logged when the required values are missing?


13:55:25 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=operation:'trim', position:7, state:'PAUSED'
13:55:25 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=operation:'trim', position:7, state:'PAUSED'
13:55:25 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=operation:'trim', position:7, state:'PAUSED'
13:55:25 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=operation:'trim', position:7, state:'PAUSED'
13:55:25 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=operation:'trim', position:7, state:'PAUSED'
13:55:26 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=operation:'trim', position:7, state:'PAUSED'
13:55:26 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=operation:'trim', position:7, state:'PAUSED'
13:55:26  INFO (WorkflowServiceImpl:1109) - Starting new workflow Workflow {103}
13:55:27 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=operation:'trim', position:7, state:'PAUSED'
13:55:27 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=operation:'trim', position:7, state:'PAUSED'
13:55:27  INFO (TrimWorkflowOperationHandler:140) - Trimming workflow 103 using 
null
13:55:27 ERROR (WorkflowOperationWorker:140) - Workflow operation 'trim' failed 
with error: java.lang.NullPointerException
13:55:27 ERROR (WorkflowOperationWorker:143) - Original cause for the failure 
is: null
13:55:27 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=operation:'trim', position:7, state:'FAILED'
13:55:27 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=operation:'trim', position:7, state:'PAUSED'
13:55:27 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=operation:'trim', position:7, state:'PAUSED'
13:55:27 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=null
13:55:27  INFO (WorkingFileRepositoryImpl:131) - Unable to delete non existing 
object 8f557e80-eb19-41d6-a545-e0566df3d452/track-2
13:55:27 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=null
13:55:27  INFO (WorkflowServiceImpl:630) - Workflow state for Workflow {103} 
was changed to 'FAILING' from the outside
13:55:27 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=null
13:55:27 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=operation:'zip', position:9, state:'INSTANTIATED'
13:55:27  INFO (ZipWorkflowOperationHandler:157) - Archiving mediapackage 
8f557e80-eb19-41d6-a545-e0566df3d452 in workflow Workflow {103}
13:55:28 DEBUG (ZipWorkflowOperationHandler:270) - Zip file creation took 0 
seconds
13:55:28  INFO (ZipWorkflowOperationHandler:175) - Adding zipped mediapackage 
8f557e80-eb19-41d6-a545-e0566df3d452 to the failed.zips archive
13:55:29  INFO (ZipWorkflowOperationHandler:189) - Zipped mediapackage 
8f557e80-eb19-41d6-a545-e0566df3d452 moved to the failed.zips archive
13:55:29 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=operation:'zip', position:9, state:'INSTANTIATED'
13:55:29 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=null



      was (Author: ahochman):
    Tobias, I was able to successfully trim using the rest endpoint directly, 
but I when I tried from the UI I received the following error.  I wasn't able 
to confirm whether it was a UI or backend issue.  Is this the error that is now 
logged when the required values is missing?


13:55:25 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=operation:'trim', position:7, state:'PAUSED'
13:55:25 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=operation:'trim', position:7, state:'PAUSED'
13:55:25 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=operation:'trim', position:7, state:'PAUSED'
13:55:25 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=operation:'trim', position:7, state:'PAUSED'
13:55:25 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=operation:'trim', position:7, state:'PAUSED'
13:55:26 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=operation:'trim', position:7, state:'PAUSED'
13:55:26 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=operation:'trim', position:7, state:'PAUSED'
13:55:26  INFO (WorkflowServiceImpl:1109) - Starting new workflow Workflow {103}
13:55:27 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=operation:'trim', position:7, state:'PAUSED'
13:55:27 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=operation:'trim', position:7, state:'PAUSED'
13:55:27  INFO (TrimWorkflowOperationHandler:140) - Trimming workflow 103 using 
null
13:55:27 ERROR (WorkflowOperationWorker:140) - Workflow operation 'trim' failed 
with error: java.lang.NullPointerException
13:55:27 ERROR (WorkflowOperationWorker:143) - Original cause for the failure 
is: null
13:55:27 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=operation:'trim', position:7, state:'FAILED'
13:55:27 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=operation:'trim', position:7, state:'PAUSED'
13:55:27 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=operation:'trim', position:7, state:'PAUSED'
13:55:27 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=null
13:55:27  INFO (WorkingFileRepositoryImpl:131) - Unable to delete non existing 
object 8f557e80-eb19-41d6-a545-e0566df3d452/track-2
13:55:27 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=null
13:55:27  INFO (WorkflowServiceImpl:630) - Workflow state for Workflow {103} 
was changed to 'FAILING' from the outside
13:55:27 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=null
13:55:27 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=operation:'zip', position:9, state:'INSTANTIATED'
13:55:27  INFO (ZipWorkflowOperationHandler:157) - Archiving mediapackage 
8f557e80-eb19-41d6-a545-e0566df3d452 in workflow Workflow {103}
13:55:28 DEBUG (ZipWorkflowOperationHandler:270) - Zip file creation took 0 
seconds
13:55:28  INFO (ZipWorkflowOperationHandler:175) - Adding zipped mediapackage 
8f557e80-eb19-41d6-a545-e0566df3d452 to the failed.zips archive
13:55:29  INFO (ZipWorkflowOperationHandler:189) - Zipped mediapackage 
8f557e80-eb19-41d6-a545-e0566df3d452 moved to the failed.zips archive
13:55:29 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=operation:'zip', position:9, state:'INSTANTIATED'
13:55:29 DEBUG (WorkflowInstanceImpl:457) - workflow instance initialized with 
operation=null


  
> Trim operation does not throw an error if 0 duration is set.
> ------------------------------------------------------------
>
>                 Key: MH-6234
>                 URL: http://opencast.jira.com/browse/MH-6234
>             Project: Matterhorn Project
>          Issue Type: Bug
>          Components: Administrative Tools, Engage Tools
>    Affects Versions: 1.1 
>            Reporter: Adam Hochman
>            Assignee: Markus Moormann
>            Priority: Release Blocker
>             Fix For: 1.1 
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://opencast.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to