This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Insert standard disclaimer here about how you shouldn't use Java in a JSP file...
But the information is all in the error message. You have to ask yourself what could be null on line 55 of your JSP?
It's not 'i'
so it must be cookiesdevueltas
A quick check of the API proves that the get cookies method returns:
an array of all the Cookies included with this request, or null if the request has no cookies There are no cookies with the request, hence your null pointer exception.