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

NullPointerException in AbstractMessageConvertorMethodProcessor [SPR-9868] #14501

Closed
spring-projects-issues opened this issue Oct 9, 2012 · 0 comments
Assignees
Labels
in: web type: bug
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented Oct 9, 2012

Joeri Moreno opened SPR-9868 and commented

in the class "AbstractMessageConverterMethodProcessor"

on line 133 the following can be found

selectedMediaType = selectedMediaType.removeQualityValue();

if (selectedMediaType != null) {

if selectedMediaType is null when trying to removeQualityValue(), there is a nullpointer exception

this problem can be removed by reversing the order of line 133 and 135


Affects: 3.1.2

Referenced from: commits 0047200, d4fa5c0

@spring-projects-issues spring-projects-issues added type: bug in: web labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 3.1.3 milestone Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web type: bug
Projects
None yet
Development

No branches or pull requests

2 participants