Skip to content

Fix NullPointer when requesting a session that does not exist #11202

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

Closed
wants to merge 2 commits into from

Conversation

ptahchiev
Copy link
Contributor

Add a null-pointer check to avoid null-pointer exception in the SessionEndpoint actuator in case
there is no session for the given id.

Close: #11201

Add a null-pointer check to avoid null-pointer exception in the `SessionEndpoint` actuator in case
there is no session for the given id.

Close: spring-projects#11201
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 29, 2017
Copy link
Member

@snicoll snicoll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ptahchiev we need a test that reproduces the bug alongside the fix. Can you please provide one?

@snicoll snicoll added the status: waiting-for-feedback We need additional information before we can continue label Nov 29, 2017
@ptahchiev
Copy link
Contributor Author

Done.

@snicoll snicoll added priority: normal type: bug A general bug and removed status: waiting-for-feedback We need additional information before we can continue status: waiting-for-triage An issue we've not yet triaged labels Nov 30, 2017
@snicoll snicoll added this to the 2.0.0.RC1 milestone Nov 30, 2017
@snicoll snicoll self-assigned this Nov 30, 2017
@snicoll snicoll changed the title Add a null-pointer check for the requested session. Fix NullPointer when requesting a session that does not exist Nov 30, 2017
@snicoll snicoll closed this in b6609ff Nov 30, 2017
snicoll added a commit that referenced this pull request Nov 30, 2017
* pr/11202:
  Polish "Fix NullPointer when requesting a session that does not exist"
  Fix NullPointer when requesting a session that does not exist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NullPointer exception in sessions actuator endpoint
3 participants