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

Registering resource bundles with duplicate resource references gives an NPE

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.0, 6.1.0
    • Fix Version/s: 6.2.0
    • Component/s: wicket
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: