{"action":"opened","issue":{"url":"https://api.github.com/repos/hashicorp/go-oracle-terraform/issues/138","repository_url":"https://api.github.com/repos/hashicorp/go-oracle-terraform","labels_url":"https://api.github.com/repos/hashicorp/go-oracle-terraform/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/go-oracle-terraform/issues/138/comments","events_url":"https://api.github.com/repos/hashicorp/go-oracle-terraform/issues/138/events","html_url":"https://github.com/hashicorp/go-oracle-terraform/issues/138","id":309083371,"number":138,"title":"nil pointer dereference if endpoint not set","user":{"login":"scross01","id":4055338,"avatar_url":"https://avatars0.githubusercontent.com/u/4055338?v=4","gravatar_id":"","url":"https://api.github.com/users/scross01","html_url":"https://github.com/scross01","followers_url":"https://api.github.com/users/scross01/followers","following_url":"https://api.github.com/users/scross01/following{/other_user}","gists_url":"https://api.github.com/users/scross01/gists{/gist_id}","starred_url":"https://api.github.com/users/scross01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scross01/subscriptions","organizations_url":"https://api.github.com/users/scross01/orgs","repos_url":"https://api.github.com/users/scross01/repos","events_url":"https://api.github.com/users/scross01/events{/privacy}","received_events_url":"https://api.github.com/users/scross01/received_events","type":"User","site_admin":false},"labels":[{"id":539363752,"url":"https://api.github.com/repos/hashicorp/go-oracle-terraform/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-27T18:30:07Z","updated_at":"2018-03-27T18:30:07Z","closed_at":null,"author_association":"COLLABORATOR","body":"\r\nThis SDK issue is observed with the terraform provider when the `endpoint` is not set\r\n\r\nhttps://github.com/terraform-providers/terraform-provider-opc/issues/116\r\n\r\ne.g.\r\n\r\n```\r\nprovider \"opc\" {\r\n  user = \"stephen.cross@oracle.com\"\r\n  password = \"Pa55_Word\"\r\n  identity_domain = \"mydomain\"\r\n  endpoint = \"\"\r\n}\r\n```\r\n\r\n```\r\npanic: runtime error: invalid memory address or nil pointer dereference\r\n2018-03-27T14:24:03.731-0400 [DEBUG] plugin.terraform-provider-opc_v1.1.0_x4: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x158193a]\r\n2018-03-27T14:24:03.731-0400 [DEBUG] plugin.terraform-provider-opc_v1.1.0_x4: \r\n2018-03-27T14:24:03.731-0400 [DEBUG] plugin.terraform-provider-opc_v1.1.0_x4: goroutine 45 [running]:\r\n2018-03-27T14:24:03.731-0400 [DEBUG] plugin.terraform-provider-opc_v1.1.0_x4: github.com/terraform-providers/terraform-provider-opc/vendor/github.com/hashicorp/go-oracle-terraform/compute.(*ComputeClient).getUserName(0x0, 0xc4204509c0, 0xc420054000)\r\n2018-03-27T14:24:03.731-0400 [DEBUG] plugin.terraform-provider-opc_v1.1.0_x4: \t/opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-opc/vendor/github.com/hashicorp/go-oracle-terraform/compute/compute_client.go:84 +0x4a\r\n2018-03-27T14:24:03.731-0400 [DEBUG] plugin.terraform-provider-opc_v1.1.0_x4: github.com/terraform-providers/terraform-provider-opc/vendor/github.com/hashicorp/go-oracle-terraform/compute.(*ComputeClient).getQualifiedName(0x0, 0xc4202fe2a0, 0x5, 0xc4202dd818, 0x1010c58)\r\n2018-03-27T14:24:03.731-0400 [DEBUG] plugin.terraform-provider-opc_v1.1.0_x4: \t/opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-opc/vendor/github.com/hashicorp/go-oracle-terraform/compute/compute_client.go:106 +0x8b\r\n```\r\n"}}
{"actor":{"display_login":"scross01"}}