Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dcache-bulk: guard against erroneous argument names
Motivation: Giving the `PIN` activity an argument it does not recognize will provoke an NPE, e.g., ``` 20 Sep 2023 11:28:10 [pool-11-thread-1] [] Uncaught exception in thread pool-11-thread-1java.lang.NullPointerException: null at java.base/jdk.internal.math.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1838) at java.base/jdk.internal.math.FloatingDecimal.parseDouble(FloatingDecimal.java:110) at java.base/java.lang.Double.parseDouble(Double.java:543) at org.dcache.services.bulk.activity.plugin.pin.PinActivity.configure(PinActivity.java:138) ... ``` Modification: Check for undefined lifetime property. Result: No more NPE/stack trace. Target: master Request: 9.1 Request: 9.0 Request: 8.2 Requires-notes: yes Patch: https://rb.dcache.org/r/14108/ Acked-by: Lea
- Loading branch information