The method you used in 5.0.14 is no longer allowed. If you search through the archives you will find out why; though as far as I recall, it is due to the method being insecure or causing potential sharing of variables across user sesssions.
So you have to replace it with something else. Personally I moved this initialisation to onActivate for directly accessed pages. For redirect pages (your situation), you have to change the code to something like: class Page1 { @InjectPage private Page2 redirectPage; void onActive() { redirectPage.setFoobar("widgets"); return redirectPage; } Other solutions may work too. Szemere