Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-1882

this can't be use in localbeans constructor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1, 4.0.0
    • 4.5.0
    • None
    • None

    Description

      Doing so is fine for the bean itself, but causes issues when the @LocalBean proxy is created. If the parent class uses methods overridden in the child class a null pointer will happen because the proxy handlers fields in the child class haven't yet been set. After constructors are called, no issues occur.

      Constructors should not be called for the @LocalBean proxy which will avoid the issue.

      Attachments

        Activity

          People

            Unassigned Unassigned
            romain.manni-bucau Romain Manni-Bucau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: