Wicket
  1. Wicket
  2. WICKET-4787

Registering resource bundles with duplicate resource references gives an NPE

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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.

        Activity

        Hide
        Emond Papegaaij added a comment -

        the toString methods are changed to no longer need RequestCycle.

        Show
        Emond Papegaaij added a comment - the toString methods are changed to no longer need RequestCycle.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development