highmed / highmed-dsf

HiGHmed Data Sharing Framework funded by the German Federal Ministry of Education and Research (BMBF, grant ids: 01ZZ1802E and 01ZZ1802A)
Apache License 2.0
32 stars 20 forks source link

BPE Throws NPE If BPMN File Defined in Process Plugin Not Found #366

Open hhund opened 2 years ago

hhund commented 2 years ago

The BPE should throw a use full error message if a BPMN file defined in a process plugins is not found. Currently a NPE is thrown at:

https://github.com/highmed/highmed-dsf/blob/f372b757b22d59b3594a220f7f380c60aa6f00b8/dsf-bpe/dsf-bpe-server/src/main/java/org/highmed/dsf/bpe/plugin/ProcessPluginDefinitionAndClassLoader.java#L178