Constructor of RedirectRequestTarget does not validate URL
----------------------------------------------------------
Key: WICKET-2855
URL: https://issues.apache.org/jira/browse/WICKET-2855
Project: Wicket
Issue Type: Improvement
Components: wicket
Affects Versions: 1.4.8
Reporter: Stefan Fussenegger
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).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.