Could you provide a little test case to show you are trying to achieve? jBPM is trying to address your variable as if it was a property. When revisiting the code snippet you have provided here I am really confused about what are you trying to do.
Are you trying to reference a process variable which is called variables?