Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-2119

Injection of an EJB from a separate application results in a NullPointerException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 1.1.22
    • ejb3
    • None
    • Workaround Exists
    • Hide

      Using the mappedName attribute avoids the NPE.

      Show
      Using the mappedName attribute avoids the NPE.

    Description

      When an EJB in injected via the @EJB annotation from a separately deployed jar (i.e., the injected EJB is not in the same jar or same ear as the @EJB annotated EJB) and the mappedName attribute is not specified, a NPE results on deployment.. This exception should be replaced with a more appropriate, and informative exception.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-support-miclark Mike Clark
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: