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
The SpringLambdaCheck throws the following exception if the source code contains a switch expression:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.2:check (default-cli) on project spring-javaformat-maven-sample: Failed during checkstyle configuration: Exception was thrown while processing /home/reichardt/Projects/_github/SpringLambdaCheck-with-switch-expression/src/main/java/sample/SampleApplication.java: Cannot invoke "com.puppycrawl.tools.checkstyle.api.DetailAST.getChildCount(int)" because "ast" is null -> [Help 1]
The
SpringLambdaCheck
throws the following exception if the source code contains aswitch
expression:Example switch expression:
Used versions:
Minimal demo application: https://github.com/Josef-Reichardt/SpringLambdaCheck-with-switch-expression
The text was updated successfully, but these errors were encountered: