Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.8.0
-
None
Description
When calling
ConfigResolver.resolve("notexisting").as(Integer.class).asList().getValue();
a NullPointerException is thrown:
java.lang.NullPointerException at org.apache.deltaspike.core.api.config.ConfigResolver$PropertyBuilder.splitAndConvertListValue(ConfigResolver.java:1020) at org.apache.deltaspike.core.api.config.ConfigResolver$PropertyBuilder.getValue(ConfigResolver.java:988)
I created and attached a patch (including a few unit tests) to fix this issue.
Attachments
Attachments
Issue Links
- is duplicated by
-
DELTASPIKE-1287 asList() getValue() fails with a NPE if no configured value exists
- Resolved