dita-ot / dita-ot

DITA Open Toolkit — the open-source publishing engine for content authored in the Darwin Information Typing Architecture.
https://www.dita-ot.org
Apache License 2.0
386 stars 193 forks source link

Handle NPE when filter is not run by returning empty Set #4449

Closed jelovirt closed 1 month ago

jelovirt commented 2 months ago

Description

Handle NPE when filter is not run by returning empty Set.

Motivation and Context

A regression bug that occurs when the map refers to a topic that doesn't exist and some topic in the set contains a key reference. The error occurs regardless of the processing mode.

Fixes #4454

How Has This Been Tested?

Existing tests.

Type of Changes

Documentation and Compatibility

No user facing change.