[
https://issues.apache.org/jira/browse/WICKET-4787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emond Papegaaij resolved WICKET-4787.
-------------------------------------
Resolution: Fixed
Fix Version/s: 6.2.0
the toString methods are changed to no longer need RequestCycle.
> Registering resource bundles with duplicate resource references gives an NPE
> ----------------------------------------------------------------------------
>
> Key: WICKET-4787
> URL: https://issues.apache.org/jira/browse/WICKET-4787
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 6.0.0, 6.1.0
> Reporter: Emond Papegaaij
> Assignee: Emond Papegaaij
> Fix For: 6.2.0
>
>
> ResourceBundles.addBundle tries to throw an IllegalArgumentException at line
> 140, but the toString of curProvidedResource gives an NPE, because it needs a
> RequestCycle. toString-methods of HeaderItems should not require a
> RequestCyle.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira