isPalindrome recursion not working

What is the issue with checkPalindrome method?

Code Link
I tried solving it with recursion and tried few approaches but I am not sure why my code is not executing as expected. Please review my code which is in the comments and guide me with the error.