Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4787

Registering resource bundles with duplicate resource references gives an NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.0.0, 6.1.0
    • 6.2.0
    • wicket
    • None

    Description

      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.

      Attachments

        Activity

          People

            papegaaij Emond Papegaaij
            papegaaij Emond Papegaaij
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: