Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-1628

BeansXmlHandler must not call interpolate() method if the value to interpoate is null

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 2.1.2.Final, 2.2.0.Beta1
    • Fix Version/s: 2.2.0.CR1
    • Component/s: None
    • Labels:
      None

      Description

      BeansXmlHandler calls interpolate() method even for absent (null) values.

      This can lead in a client which overrides this method to NullPointerException. This is for example the case in Wildfly. See the related bug: WFLY-3147.

      The talk about this issue in weld-dev mailing list:
      http://lists.jboss.org/pipermail/weld-dev/2014-March/003224.html

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bafco Matus Abaffy
                  Reporter:
                  frolovmx Maxim Frolov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: