-
Notifications
You must be signed in to change notification settings - Fork 52
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
ReplaceDuplicateStringLiterals throws java.lang.NullPointerException on version 1.19.0 #384
Comments
hi @adambir ; thanks for trying out both the latest and previous version, and reporting your findings here. It looks like @lkerford might know more, based on recent changes: @lkerford would you mind taking a first look at this? Lines 70 to 95 in 8468b20
|
Added a test case in #385 as suggested |
What version of OpenRewrite are you using?
I am using
How are you running OpenRewrite?
Using the mvn plugin with a multi project module
mvn -U org.openrewrite.maven:rewrite-maven-plugin:5.43.2:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-static-analysis:1.19.0 -Drewrite.activeRecipes=org.openrewrite.staticanalysis.ReplaceDuplicateStringLiterals
What is the smallest, simplest way to reproduce the problem?
This code snippet alongside a basic pom reproduces the issue
What is the full stack trace of any errors you encountered?
The text was updated successfully, but these errors were encountered: