protoc-jar-maven-plugin icon indicating copy to clipboard operation
protoc-jar-maven-plugin copied to clipboard

Support for protoc 4.28.1

Open Baenlin opened this issue 5 months ago • 0 comments

I tried today to update to protoc version 4.28.1, is that version supported?

<plugin>
  <groupId>com.github.os72</groupId>
  <artifactId>protoc-jar-maven-plugin</artifactId>
  <version>3.11.4</version>
  <executions>
      <execution>
          <phase>generate-sources</phase>
          <goals>
              <goal>run</goal>
          </goals>
          <configuration>
              <protocVersion>4.28.1</protocVersion>
              <includeStdTypes>true</includeStdTypes>
              <inputDirectories>
                  <include>../../schemas/station/protobuf/</include>
              </inputDirectories>
          </configuration>
      </execution>
  </executions>
</plugin>
[INFO] Protoc version: 4.28.1
protoc-jar: protoc version: 4.28.1, detected platform: linux-x86_64 (linux/amd64)
protoc-jar: cached: /tmp/protocjar.webcache/com/google/protobuf/protoc/maven-metadata.xml
protoc-jar: cached: /tmp/protocjar.webcache/com/google/protobuf/protoc/4.28.1/protoc-4.28.1-linux-x86_64.exe
protoc-jar: executing: [/tmp/protocjar14872876379023091865/bin/protoc.exe, --version]
libprotoc 28.1
[INFO] Protoc command: /tmp/protocjar14872876379023091865/bin/protoc.exe
[INFO] Additional include types: /tmp/protocjar9711794283026721353/include

I'm getting this error:

Cannot read the array length because "<local6>" is null

Baenlin avatar Sep 12 '24 14:09 Baenlin