Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-1353

null values as arguments in messagebundles lead to exceptions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.8.2
    • 1.9.0
    • None
    • None

    Description

      When using a Deltaspike Messagebundle and feeding null as argument to some non-String argument, the MessageInterpolators throw Exceptions. Depending if I use the MessageFormatter or the String.format based Interpolater the Exceptions differ, but origin from the same misassumption, that null can be replaced with "'null'" (MessageBundleInvocationHandler:179)
      I created 2 unittests to showcase this behaviour, see attached surefire logs.

      Attachments

        Activity

          People

            struberg Mark Struberg
            elexx Alexander Falb
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: