-
Notifications
You must be signed in to change notification settings - Fork 393
Closed
Labels
branch/2.1.xIssue for a branchIssue for a branchfor/backportFor backportingFor backportingtype/bugIs a bug reportIs a bug report
Milestone
Description
Essentially when execution target is method(via annotation model of manually registering method):
my-shell:>e2e anno required-value --arg1
Cannot invoke "Object.getClass()" because the return value of "java.util.Map.get(Object)" is null
NPE comes from
spring-shell/spring-shell-core/src/main/java/org/springframework/shell/command/CommandExecution.java
Line 187 in ee7a9da
.canConvert(paramValues.get(parameterName).getClass(), parameter.getParameterType()); |
Metadata
Metadata
Assignees
Labels
branch/2.1.xIssue for a branchIssue for a branchfor/backportFor backportingFor backportingtype/bugIs a bug reportIs a bug report