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.