Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kameshsampath/39df7103efa4f2dd3a98c7431df4203b to your computer and use it in GitHub Desktop.
Save kameshsampath/39df7103efa4f2dd3a98c7431df4203b to your computer and use it in GitHub Desktop.
msg: "[protoc -I/Users/kameshs/git/solo-io/gloo/vendor_any -I/Users/kameshs/git/solo-io/gloo/vendor_any/github.com/solo-io/protoc-gen-ext -I/Users/kameshs/git/solo-io/gloo/vendor_any/github.com/solo-io/protoc-gen-ext/external -I/Users/kameshs/git/solo-io/gloo/vendor_any/github.com/envoyproxy/protoc-gen-validate -I/Users/kameshs/git/solo-io/gloo/vendor_any/github.com/solo-io/gloo/projects/gloo/api/external -I/Users/kameshs/git/solo-io/gloo/vendor_any/github.com/solo-io/solo-kit/api/external --openapi_out=yaml=true,single_file=false,max_description_characters=0,include_description=false:/var/folders/42/cf1r2rm562b3ss1cf_dt38rc0000gn/T/405539825/external_options -o /var/folders/42/cf1r2rm562b3ss1cf_dt38rc0000gn/T/schema-gen-979669148 --include_imports --include_source_info github.com/solo-io/gloo/projects/gateway/api/v1/external_options.proto] failed: github.com/solo-io/gloo/projects/gateway/api/v1/external_options.proto:9:1: warning: Import google/protobuf/wrappers.proto is unused.\ngithub.com/solo-io/gloo/projects/gateway/api/v1/external_options.proto:12:1: warning: Import github.com/solo-io/solo-kit/api/v1/ref.proto is unused.\npanic: runtime error: invalid memory address or nil pointer dereference\n[signal SIGSEGV: segmentation violation code=0x1 addr=0x48 pc=0x14ccd39]\n\ngoroutine 1 [running]:\ngithub.com/googleapis/gnostic/apps/protoc-gen-openapi/generator.(*OpenAPIv3Generator).addPathsToDocumentV3(0xc000347a40, 0xc00079ac00, 0xc000ca7d00)\n\t/Users/kameshs/go/pkg/mod/github.com/googleapis/gnostic@v0.5.5/apps/protoc-gen-openapi/generator/openapi-v3.go:136 +0x1d9\ngithub.com/googleapis/gnostic/apps/protoc-gen-openapi/generator.(*OpenAPIv3Generator).buildDocumentV3(0xc000347a40, 0x1)\n\t/Users/kameshs/go/pkg/mod/github.com/googleapis/gnostic@v0.5.5/apps/protoc-gen-openapi/generator/openapi-v3.go:83 +0x178\ngithub.com/googleapis/gnostic/apps/protoc-gen-openapi/generator.(*OpenAPIv3Generator).Run(0xc000347a40, 0xc000347a40, 0x0)\n\t/Users/kameshs/go/pkg/mod/github.com/googleapis/gnostic@v0.5.5/apps/protoc-gen-openapi/generator/openapi-v3.go:57 +0x2f\nmain.main.func1(0xc000569400, 0x0, 0xc00014c000)\n\t/Users/kameshs/go/pkg/mod/github.com/googleapis/gnostic@v0.5.5/apps/protoc-gen-openapi/main.go:25 +0x39\ngoogle.golang.org/protobuf/compiler/protogen.run(0x0, 0x0, 0x15eafc0, 0xc000068720, 0x104169c)\n\t/Users/kameshs/go/pkg/mod/google.golang.org/protobuf@v1.26.0/compiler/protogen/protogen.go:74 +0x1e2\ngoogle.golang.org/protobuf/compiler/protogen.Options.Run(0x0, 0x0, 0x15eafc0)\n\t/Users/kameshs/go/pkg/mod/google.golang.org/protobuf@v1.26.0/compiler/protogen/protogen.go:52 +0x5a\nmain.main()\n\t/Users/kameshs/go/pkg/mod/github.com/googleapis/gnostic@v0.5.5/apps/protoc-gen-openapi/main.go:24 +0x35\n--openapi_out: protoc-gen-openapi: Plugin failed with status code 2.\n",
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment