java.lang.IllegalArgumentException: proto compilation failed with internal error: Cannot run program "protoc": error=2, No such file or directory 17:13:09.331 [DEBUG] [TestEventLogger] at com.google.api.tools.framework.model.testing.TestConfig.compileProtos(TestConfig.java:261)

GitHub | jmuk | 10 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    travis fails due to missing protoc

    GitHub | 10 months ago | jmuk
    java.lang.IllegalArgumentException: proto compilation failed with internal error: Cannot run program "protoc": error=2, No such file or directory 17:13:09.331 [DEBUG] [TestEventLogger] at com.google.api.tools.framework.model.testing.TestConfig.compileProtos(TestConfig.java:261)

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      proto compilation failed with internal error: Cannot run program "protoc": error=2, No such file or directory 17:13:09.331 [DEBUG] [TestEventLogger] at com.google.api.tools.framework.model.testing.TestConfig.compileProtos(TestConfig.java:261)

      at com.google.api.tools.framework.model.testing.TestConfig.<init>()
    2. com.google.api
      ConfigBaselineTestCase.test
      1. com.google.api.tools.framework.model.testing.TestConfig.<init>(TestConfig.java:97)
      2. com.google.api.tools.framework.model.testing.ConfigBaselineTestCase.test(ConfigBaselineTestCase.java:143)
      2 frames
    3. io.gapi.vgen
      JavaCodeGeneratorTest.library
      1. io.gapi.vgen.JavaCodeGeneratorTest.library(JavaCodeGeneratorTest.java:57)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames