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

Greg Logan commented on MH-9023:
--------------------------------

I can still reproduce on both trunk and 1.4.x.  Here's what I'm seeing, all 
based around line 1503 and 1504 in WorkflowServiceImpl:

job.getArguments():

[<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:definition 
xmlns:ns2="http://workflow.opencastproject.org"; 
xmlns="http://mediapackage.opencastproject.org"; 
xmlns:ns3="http://org.opencastproject.security";><ns2:published>false</ns2:published><ns2:operations/></ns2:definition>,
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?><mediapackage 
start="2012-08-10T17:00:00Z" id="8bc30acc-c4ae-4368-ad81-2ff63c419fb3" 
duration="60000" 
xmlns="http://mediapackage.opencastproject.org";><title>ASDF</title><media/><metadata><catalog
 type="dublincore/episode" 
id="4deac616-bb06-4892-a2f3-683fe6118209"><mimetype>text/xml</mimetype><tags/><url>http://localhost:8080/files/mediapackage/8bc30acc-c4ae-4368-ad81-2ff63c419fb3/4deac616-bb06-4892-a2f3-683fe6118209/dublincore.xml</url></catalog></metadata><attachments/></mediapackage>,
 -, schedule.location=demo_capture_agent
schedule.start=1344618000000
schedule.stop=1344618060000
]

job.getArguments().get(0):

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:definition 
xmlns:ns2="http://workflow.opencastproject.org"; 
xmlns="http://mediapackage.opencastproject.org"; 
xmlns:ns3="http://org.opencastproject.security";><ns2:published>false</ns2:published><ns2:operations/></ns2:definition>

workflowDev.getOperations()

[]

Which explains why it's barfing on an array out of bound exception.  To me this 
looks like the workflow operations aren't being passed through somehow.  I'm 
taking a look today, but I don't know this part of the system very well.
                
> WorkflowService isReadyToAccept throws IndexOutOfBoundsException
> ----------------------------------------------------------------
>
>                 Key: MH-9023
>                 URL: http://opencast.jira.com/browse/MH-9023
>             Project: Matterhorn Project
>          Issue Type: Bug
>          Components: Architecture & Services
>    Affects Versions: 1.4
>            Reporter: Lukas Rohner
>            Assignee: Lukas Rohner
>             Fix For: 1.4
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
http://opencast.jira.com/secure/ContactAdministrators!default.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