When chaosblade simulates a return value and the return value is false, it will throw a NullPointerException, for example, running the following command
The injected service will throw a NullPointerException.
After investigation, it was found that the createUrl method of chaosblade's jvm Executor ignored the parameter with a value of false.
Describe what you expected to happen
Pass the "false" value to the chaosblade-java-agent and then within the specific function inside chaosblade-java-agent, perform a check to determine if the "false" value is necessary.
How to reproduce it (as minimally and precisely as possible)
Issue Description
Type: bug report
Describe what happened (or what feature you want)
When chaosblade simulates a return value and the return value is false, it will throw a NullPointerException, for example, running the following command
The injected service will throw a NullPointerException.
After investigation, it was found that the createUrl method of chaosblade's jvm Executor ignored the parameter with a value of false.![image](https://github.com/chaosblade-io/chaosblade/assets/6512834/4054ac09-ee94-4494-b8ab-899e15db9181)
Describe what you expected to happen
Pass the "false" value to the chaosblade-java-agent and then within the specific function inside chaosblade-java-agent, perform a check to determine if the "false" value is necessary.
How to reproduce it (as minimally and precisely as possible)
Tell us your environment
CentOS 7
Anything else we need to know?