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

this can't be use in localbeans constructor

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1, 4.0.0
    • Fix Version/s: 4.5.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: