You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Ricky Nguyen (Resolved) (JIRA)" <ji...@apache.org> on 2012/02/29 20:41:56 UTC
[jira] [Resolved] (OODT-361) Workflow test event fails with NPE
[ https://issues.apache.org/jira/browse/OODT-361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ricky Nguyen resolved OODT-361.
-------------------------------
Resolution: Fixed
> Workflow test event fails with NPE
> ----------------------------------
>
> Key: OODT-361
> URL: https://issues.apache.org/jira/browse/OODT-361
> Project: OODT
> Issue Type: Bug
> Components: workflow manager
> Affects Versions: 0.4
> Reporter: Ricky Nguyen
> Priority: Minor
> Fix For: 0.4
>
> Attachments: rickdn-oodt-361.patch
>
>
> Running the "hello world" example from http://oodt.apache.org/components/maven/workflow/user/basic.html causes a NPE.
> {noformat}
> ./wmgr-client -u http://localhost:9001 -op -se -en test
> Dec 2, 2011 2:04:08 PM org.apache.oodt.cas.workflow.system.XmlRpcWorkflowManager handleEvent
> INFO: WorkflowManager: Received event: test
> Dec 2, 2011 2:04:08 PM org.apache.oodt.cas.workflow.system.XmlRpcWorkflowManager handleEvent
> INFO: WorkflowManager: Workflow testWorkflow retrieved for event test
> Dec 2, 2011 2:04:08 PM org.apache.oodt.cas.workflow.engine.WorkflowProcessor checkTaskRequiredMetadata
> INFO: Task: [Hello World] has no required metadata fields
> Exception in thread "Thread-4" java.lang.NullPointerException
> at org.apache.oodt.commons.util.DateConvert.isoParse(DateConvert.java:166)
> at org.apache.oodt.cas.workflow.structs.WorkflowInstance.setCurrentTaskEndDateTimeIsoStr(WorkflowInstance.java:315)
> at org.apache.oodt.cas.workflow.engine.SequentialProcessor.start(SequentialProcessor.java:206)
> at org.apache.oodt.cas.workflow.engine.ThreadPoolWorkflowEngine$ThreadedProcessor.run(ThreadPoolWorkflowEngine.java:495)
> at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Thread.java:680)
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira