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

BeanConfigurator.addBean without specified callback blows with NPE

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.0.0.Final
    • Fix Version/s: 3.0.1.Final
    • Component/s: None
    • Labels:
      None

      Description

      Using BeanConfigurator and not specifying any callback (createWith/produceWith) will result in an NPE when trying to create the bean.

      CDI spec does not define how to behave or what kind of parameters should be checked when suing BeanConfigurator, but we might want to mask this NPE behind some other, user-readable exception.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                manovotn Matěj Novotný
                Reporter:
                manovotn Matěj Novotný
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: