Description
I've just found a NullPointerException in my logs. It looks like null was passed to the constructor of RedirectRequestTarget. The NPE wasn't thrown in the constructor but later in the request cycle during #respon(RequestCycle). This makes it pretty much impossible to reproduce and debug. Checking (at least) for null should simplify this considerably. It might also be useful to check for other constraints (if any).