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

[java] InvalidSlf4jMessageFormatRule causes NPE in lambda and static blocks #1512

Closed
adangel opened this Issue Dec 7, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@adangel
Copy link
Member

adangel commented Dec 7, 2018

Affects PMD Version: 6.9.0

Rule: InvalidSlf4jMessageFormat

Description:
Nullpointerexception when a logger call with a variable as parameter is not inside a method or constructor

Code Sample demonstrating the issue:

see #1504

@adangel adangel added this to the 6.10.0 milestone Dec 7, 2018

@adangel adangel closed this in c77345a Dec 7, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment