Hello,
It seems that SP is not returning anything as a result you are getting that error message.
I have two things to suggest u -
1) Check whether the SQL query which PI is creating is correct or not?
2) Cross check ur SP response structure.
If u want then u can paste ur SP request and response structure here...
Thanks
Amit Srivastava