flowable / flowable-engine

A compact and highly efficient workflow and Business Process Management (BPM) platform for developers, system admins and business users.
https://www.flowable.org
Apache License 2.0
8.01k stars 2.63k forks source link

Fix possible null pathInfo #3861

Open marcberger opened 8 months ago

marcberger commented 8 months ago

Hello,

This patch is an attemp to fix error like that :

java.lang.NullPointerException: Cannot invoke "String.replace(java.lang.CharSequence, java.lang.CharSequence)" because "pathInfo" is null org.flowable.rest.service.api.repository.DeploymentResourceResource.getDeploymentResource(DeploymentResourceResource.java:87)

caused by pathInfo beeing null.

tijsrademakers commented 7 months ago

Hi, can you please add a failing unit test showing when an issue can happen? And also make sure that typos (ressourceURI) are fixed.