Getting an Internal Server Error on implementing Rest-Input Channel

you can read this thread