I could see the select query have only :1, (only one bind parameter),
but in the where clause you are setting 3 variables,
check that is for the same VO or diff VO.
And get the query and check you are setting all the bind values.
Kali, there are additional where clause in the code and there are other bind variables there.
I would suggest to relook at the query and do setWhereClauseParams in correct place,so that more then requireed values for bind variables are not set.
Thanks for the replies. I did figure it out, oddly enough when the rowset was bound it failed (only after clicking my link though) I would bind the variable and run the execute query and it would fail. However, the executeQuery method worked on the oaviewobject. So I basically had to override their method in my custom class to return the oaviewobject instead of the row. The odd part to me still, is that the where clause was the same for both, but one fails.