I had that issue once too. It ran in eclipse but not in guvnor. Makes debuggin kind of hard.
It was a variable assignment problem. I think the variable name was the problem. That is why it is rendering xml in your form instead of interpreting the code.
Step by step, I took tasks out of the process and ran it again. Luckily I only had 3 tasks.