Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panic: runtime error: invalid memory address or nil pointer dereference #2109

Open
jakekiernanheb opened this issue Oct 23, 2024 · 4 comments
Labels
bug waiting-response Waiting on collaborator to responde to follow on disucussion

Comments

@jakekiernanheb
Copy link

jakekiernanheb commented Oct 23, 2024

Terraform Version

terraform-provider-okta_v4.11.1 and 4.8.1

Affected Resource(s)

TFC is unable to deploy any resources to Okta.

Terraform Configuration Files

terraform {
  required_providers {
    okta = {
      source  = "okta/okta"
      version = "4.11.1"
    }
  }
}

Debug Output

https://gist.github.com/jakekiernanheb/c53c53eb7bb0a4ec9c56c62425e926cd

Full trace logs: https://gist.github.com/jakekiernanheb/99e6fcde1a3ff6f9cdfc25747a46ae7b

Panic Output

https://gist.github.com/jakekiernanheb/5f27029b2f4eb80bb1177d889f09e729

Expected Behavior

Expected TFC to deploy okta_app_saml and other resources to Okta.

Can this be done in the Admin UI?

Yes

Can this be done in the actual API call?

Yes

Actual Behavior

No resources are deploying with the following error:

Stack trace from the terraform-provider-okta_v4.11.1 plugin:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0xb8 pc=0x1b67128]

Steps to Reproduce

Re-running apply does not fix the issue.

The issue originally presented in v4.8.1, so we rolled up to 4.11.1, but continue to get the invalid memory address or nil pointer dereference error.

Important Factoids

We deploy to Okta IE

@jakekiernanheb
Copy link
Author

@monde, do you have any ideas on this? Saw you dealt w a similar issue in v3.13.7 #621

@monde
Copy link
Collaborator

monde commented Oct 24, 2024

@duytiennguyen-okta

@duytiennguyen-okta
Copy link
Contributor

@jakekiernanheb do you have the tf script for this?

@duytiennguyen-okta duytiennguyen-okta added bug waiting-response Waiting on collaborator to responde to follow on disucussion labels Oct 29, 2024
Copy link

This issue is stale because it has been open 60 days with no activity. Comment or this will be closed in 35 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug waiting-response Waiting on collaborator to responde to follow on disucussion
Projects
None yet
Development

No branches or pull requests

3 participants