You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the Maven CLI , and my project is a multi module project.
mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-migrate-java:2.32.0-SNAPSHOT -Drewrite.activeRecipes=org.openrewrite.java.migrate.joda.JodaTimeRecipe -Drewrite.exportDatatables=true
What is the full stack trace of any errors you encountered?
java.lang.NullPointerException: Cannot invoke ""org.openrewrite.java.tree.JavaType$Method.getParameterNames()"" because the return value of ""org.openrewrite.java.tree.MethodCall.getMethodType()"" is null
org.openrewrite.java.migrate.joda.JodaTimeScanner$AddSafeCheckMarker.visitExpression(JodaTimeScanner.java:324)
org.openrewrite.java.migrate.joda.JodaTimeScanner$AddSafeCheckMarker.visitExpression(JodaTimeScanner.java:306)
org.openrewrite.java.JavaVisitor.visitIdentifier(JavaVisitor.java:685)
org.openrewrite.java.JavaIsoVisitor.visitIdentifier(JavaIsoVisitor.java:179)
org.openrewrite.java.JavaIsoVisitor.visitIdentifier(JavaIsoVisitor.java:30)
org.openrewrite.java.tree.J$Identifier.acceptJava(J.java:2491)
org.openrewrite.java.tree.J.accept(J.java:59)
org.openrewrite.TreeVisitor.visit(TreeVisitor.java:250)
org.openrewrite.TreeVisitor.visitAndCast(TreeVisitor.java:320)
org.openrewrite.java.JavaVisitor.visitRightPadded(JavaVisitor.java:1367)
org.openrewrite.java.JavaVisitor.lambda$visitContainer$35(JavaVisitor.java:1417)
org.openrewrite.internal.ListUtils.map(ListUtils.java:243)
org.openrewrite.internal.ListUtils.map(ListUtils.java:265)
org.openrewrite.java.JavaVisitor.visitContainer(JavaVisitor.java:1417)
org.openrewrite.java.JavaVisitor.visitMethodInvocation(JavaVisitor.java:914)
org.openrewrite.java.JavaIsoVisitor.visitMethodInvocation(JavaIsoVisitor.java:229)
christopherfischer
changed the title
Joda Receipe NullPointerException AddSafeCheckMarker
Joda Recipe NullPointerException AddSafeCheckMarker
Dec 20, 2024
What version of OpenRewrite are you using?
I am using
How are you running OpenRewrite?
I am using the Maven CLI , and my project is a multi module project.
mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-migrate-java:2.32.0-SNAPSHOT -Drewrite.activeRecipes=org.openrewrite.java.migrate.joda.JodaTimeRecipe -Drewrite.exportDatatables=true
What is the full stack trace of any errors you encountered?
Are you interested in contributing a fix to OpenRewrite?
The text was updated successfully, but these errors were encountered: