Unhandled NullPointerException
when using KitodoScript addDataToIssues
#5976
Labels
NullPointerException
when using KitodoScript addDataToIssues
#5976
Describe the bug
A
NullPointerException
is thrown when applying the KitodoScriptaddDataToIssues
to selected processes that do not contain structure elements with the name supplied using the parametertype
.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The
NullPointerException
should be prevented or handled. Instead of seeing a stack trace, the user should be informed about the nature of the problem in a popup dialog or error message.Screenshots
Release
3.7.0-SNAPSHOT
The text was updated successfully, but these errors were encountered: