FIX: NPE when accessing mutableNext in EBI

This commit is contained in:
Jonas Pöhler
2021-08-20 15:13:42 +02:00
parent bf2d75e55e
commit 5b10c053de
2 changed files with 26 additions and 1 deletions
@@ -1232,7 +1232,8 @@ public final class EntityBeanIntercept implements Serializable {
if (mutableNext == null) {
return null;
}
return mutableNext[propertyIndex].content();
final MutableValueNext next = mutableNext[propertyIndex];
return next != null ? next.content() : null;
}
}