Red Hat Bugzilla – Bug 1021409
s-ramp-demos-switchyard-multiapp throws NPE in server log
Last modified: 2014-01-06 09:59:27 EST
Description of problem:
After successful deployment of s-ramp-demos-switchyard-multiapp to S-RAMP:
* 2 dtgov tasks were created - I'm not sure whether it's all right.
* NPE was thrown, see log: http://pastebin.test.redhat.com/171476
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install FSW 6.0.0.ER6
2. run mvn -Pdemo clean deploy from quickstarts/overlord/sramp/s-ramp-demos-switchyard-multiapp
3. Check the server log
I have not seen this error in development; can it be the workflow.jar disappeared in the middle of processing? It seems to want to start a process or work on a task when the NPE shows.
I was able to reproduce it. This is caused when the workflow is invoked for the first time; and the definition has not be loaded. It can be prevented by the server after first deploying the workflow. This is obviously an issue that needs fixing.
After the deployment of the workflows no restart should be required anymore, and no errors should occur.
No restart was required for server to load the workflows from s-ramp. Verified in FSW 6.0.0.ER8.