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

BeanConfigurator.addBean without specified callback blows with NPE

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Done
    • 3.0.0.Final
    • 3.0.1.Final
    • None
    • 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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: