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

Broken javax.ejb.SessionContext.getBusinessObject() for EJB3 stateful local Interfaces

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • AS 4.2.1.GA
    • EJB 3.0 RC9 - Patch 1
    • None
    • None

      javax.ejb.SessionContext.getBusinessObject() results in a NullPointerException when used in a stateful session bean without remote interface.
      Reason: in org.jboss.ejb3.stateful.StatelessContainer.getBusinessObject() iterates over the remote Interfaces instead of the local interfaces after checking that the local interfaces are != null.

              wdecoste1@redhat.com William Decoste (Inactive)
              wv-javacoder Roland Räz (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: