setPost
must be invoked before adding any arguments. Just invoke it before all the addArgument calls. The actual error is:
"Request method (post/get) can't be modified once arguments have been assigned to the request"
In the current version there is a misspelling where it says one instead of once.