This was a very stupid mistake. I had set the response.setstatus and my code continued. It did not matter where i go the error, i would get it every time because the set status was causing the abort.
sorry for this post.
When I was younger I felt like a man trapped inside a woman’s body. Then I was born. My twin is a tiny ad: