java.lang.IllegalArgumentException

proto compilation failed with internal error: Cannot run program "null": error=2, No such file or directory

Solutions on the web19609

  • via GitHub by bjwatson
    , 9 months ago
    proto compilation failed with internal error: Cannot run program "null": error=2, No such file or directory
  • via GitHub by jmuk
    , 9 months ago
    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)
  • Execution failed (Exit value: -559038737. Caused by java.io.IOException: Cannot run program "packer" (in directory "."): error=2, No such file or directory)
  • Stack trace

    • java.lang.IllegalArgumentException: proto compilation failed with internal error: Cannot run program "null": error=2, No such file or directory at com.google.api.tools.framework.model.testing.TestConfig.compileProtos(TestConfig.java:263) at com.google.api.tools.framework.model.testing.TestConfig.<init>(TestConfig.java:98) at com.google.api.tools.framework.model.testing.ConfigBaselineTestCase.test(ConfigBaselineTestCase.java:145) at com.google.api.codegen.PythonCodeGeneratorTest$PythonLibraryBaseline.library(PythonCodeGeneratorTest.java:57)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.