Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-1173

InjectionPoint with no ownerBean fails on serialisation

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.2
    • Fix Version/s: 1.7.3
    • Component/s: Core
    • Labels:
      None

      Description

      If an InjectionTarget gets created manually then the InjectionPoints will have no ownerBean (the owner is a simple class but not a CDI Bean<T>).

      If one tries to serialise such a class then we currently blow up with a NullPointerException.

      Detected and reported by Alexander Falb via chat.

        Attachments

          Activity

            People

            • Assignee:
              struberg Mark Struberg
              Reporter:
              struberg Mark Struberg
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: