Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

org.springframework.batch.core.JobParameter.toString may return null [BATCH-2772] #834

spring-issuemaster opened this issue Nov 13, 2018 · 0 comments


Copy link

@spring-issuemaster spring-issuemaster commented Nov 13, 2018

Dmitry Smeliansky opened BATCH-2772 and commented

public String toString() { public String toString() { return parameter == null ? null : (parameterType == ParameterType.DATE ? "" + ((Date) parameter).getTime() : parameter.toString()); }

This behavior causes NPE in the JopParameters.toProperties method

java.lang.NullPointerException at java.util.Hashtable.put( at org.springframework.batch.core.JobParameters.toProperties( 

Affects: 3.0.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.