I cannot see any reason why this could throw a NullPointerException (request is definitively not null at this point). Perhaps it’s a container issue? Do you can give any more information about the requests that fail with this error? Does it perhaps only happen once after a new deployment or more often?
Do you play Magic?
Get TopDecked MTG, the #1 Magic App, built by players, for players. Free to use, forever.