Bugfix
If a ModelListener registers for a type X` and an `X is created in an event but not updated, then accessing the updates for type X fails with a NullPointerException:
java.lang.NullPointerException at com.top_logic.model.listen.impl.EventBuilder$ModelChangeEventImpl.lambda$0(EventBuilder.java:78) at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271) at java.base/java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1632) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230) at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:528) at ReportDetailComponent$1.notifyChange(ReportDetailComponent.java:119) at com.top_logic.model.listen.impl.EventBuilder.notifyListeners(EventBuilder.java:455) at ...
Test
No test.