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

BeanConfigurator.addBean without specified callback blows with NPE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.1.Final
    • 3.0.0.Final
    • None
    • None

      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.

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

                Created:
                Updated:
                Resolved: