Loading...
Loading...
### Terraform Version ```shell Terraform v1.5.3 on linux_amd64 ``` ### Terraform Configuration Files NA ### Debug Output NA ### Expected Behavior Docs should have been generated ### Actual Behavior go version 1.20.6 ``` ~/work/src/github.com/juju/terraform-provider-juju$ go generate ./... rendering website for provider "terraform-provider-juju" (as "terraform-provider-juju") copying any existing content to tmp dir exporting schema from Terraform compiling provider "juju" using Terraform CLI binary from PATH if available, otherwise downloading latest Terraform CLI binary running terraform init getting provider schema Error executing command: unable to generate website: exit status 11 !!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!! Terraform crashed! This is always indicative of a bug within Terraform. Please report the crash with Terraform[1] so that we can fix this. When reporting bugs, please include your terraform version, the stack trace shown below, and any additional information which may help replicate the issue. [1]: https://github.com/hashicorp/terraform/issues !!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!! runtime error: invalid memory address or nil pointer dereference goroutine 1 [running]: runtime/debug.Stack() /snap/go/current/src/runtime/debug/stack.go:24 +0x65 runtime/debug.PrintStack() /snap/go/current/src/runtime/debug/stack.go:16 +0x19 github.com/hashicorp/terraform/internal/logging.PanicHandler() /build/terraform/parts/terraform/build/internal/logging/panic.go:58 +0x153 panic({0x2440000, 0x41eadf0}) /snap/go/current/src/runtime/panic.go:890 +0x263 github.com/hashicorp/terraform/internal/plugin/convert.ProtoToConfigSchema(0x0) /build/terraform/parts/terraform/build/internal/plugin/convert/schema.go:107 +0x52 github.com/hashicorp/terraform/internal/plugin/convert.ProtoToProviderSchema(...) /build/terraform/parts/terraform/build/internal/plugin/convert/schema.go:95 github.com/hashicorp/terraform/internal/plugin.(*GRPCProvider).GetProviderSchema(0xc000c80630) /build/terraform/parts/terraform/build/internal/plugin/grpc_provider.go:129 +0x5af github.com/hashicorp/terraform/internal/terraform.(*contextPlugins).ProviderSchema(0xc000b0d530, {{0xc00041e020, 0x4}, {0x27ff34e, 0x9}, {0x2821029, 0x15}}) /build/terraform/parts/terraform/build/internal/terraform/context_plugins.go:100 +0x30b github.com/hashicorp/terraform/internal/terraform.loadProviderSchemas.func1({{0xc00041e020, 0x4}, {0x27ff34e, 0x9}, {0x2821029, 0x15}}) /build/terraform/parts/terraform/build/internal/terraform/schemas.go:112 +0x13f github.com/hashicorp/terraform/internal/terraform.loadProviderSchemas(0xc0005b2410?, 0x26686e0?, 0x0, 0x0?) /build/terraform/parts/terraform/build/internal/terraform/schemas.go:133 +0xf6 github.com/hashicorp/terraform/internal/terraform.loadSchemas(0x0?, 0x0?, 0x0?) /build/terraform/parts/terraform/build/internal/terraform/schemas.go:93 +0xa5 github.com/hashicorp/terraform/internal/terraform.(*Context).Schemas(0x0?, 0x0?, 0x0?) /build/terraform/parts/terraform/build/internal/terraform/context.go:158 +0x2a github.com/hashicorp/terraform/internal/command.(*ProvidersSchemaCommand).Run(0xc0002edc00, {0xc0000500d0?, 0xffffffffffffffff?, 0x0?}) /build/terraform/parts/terraform/build/internal/command/providers_schema.go:103 +0x8fe github.com/mitchellh/cli.(*CLI).Run(0xc000a88b40) /root/go/pkg/mod/github.com/mitchellh/cli@v1.1.5/cli.go:262 +0x5f8 main.realMain() /build/terraform/parts/terraform/build/main.go:318 +0x1729 main.main() /build/terraform/parts/terraform/build/main.go:61 +0x19 exit status 1 main.go:26: running "go": exit status 1 ``` ### Steps to Reproduce `go generate ./...` From this PR https://github.com/juju/terraform-provider-juju/pull/248, though the PR might change over time. Hopefully the nil pointer panic trace is sufficient. We will be looking to see what is wrong in the PR code to produce this. ### Additional Context _No response_ ### References _No response_
Click on a version to see all relevant bugs
Terraform Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.