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
Environment (please complete the following information):
CentOS 7
Maven 3.9.1
Additional context
Using 2.0.0
The text was updated successfully, but these errors were encountered:
cmardini
changed the title
mvn test (without clean) gives
mvn test (without clean) gives 'io.github.blackrock:protoc-maven-plugin:2.0.0:run failed: Cannot read the array length because "<local6>" is null'
May 8, 2024
Thanks @cmardini for reporting. I have identified the bug, and will issue a fix. The bug is due to an uninitialized variable when skipping code generation (because mvn clean is not specified), and the includeStdTypes flag is set.
Describe the bug
In my project, when the protos aren't generated into sources but I try to run tests with 'mvn test', I get:
Execution default of goal io.github.blackrock:protoc-maven-plugin:2.0.0:run failed: Cannot read the array length because "<local6>" is null
But adding
clean
to the cmd line, I don't get this issue.My plugin section looks like:
Environment (please complete the following information):
Additional context
Using 2.0.0
The text was updated successfully, but these errors were encountered: