-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
{
"errorMessage": "runtime error: invalid memory address or nil pointer dereference",
"errorType": "errorString",
"stackTrace": [
{
"path": "lambda-eks-sample/vendor/github.com/aws/aws-lambda-go/lambda/function.go",
"line": 27,
"label": "(*Function).Invoke.func1"
},
{
"path": "runtime/asm_amd64.s",
"line": 573,
"label": "call32"
},
{
"path": "runtime/panic.go",
"line": 502,
"label": "gopanic"
},
{
"path": "runtime/panic.go",
"line": 63,
"label": "panicmem"
},
{
"path": "runtime/signal_unix.go",
"line": 388,
"label": "sigpanic"
},
{
"path": "lambda-eks-sample/main.go",
"line": 109,
"label": "(*ClusterConfig).loadConfig"
},
{
"path": "lambda-eks-sample/main.go",
"line": 51,
"label": "handler"
},
{
"path": "runtime/asm_amd64.s",
"line": 577,
"label": "call512"
},
{
"path": "reflect/value.go",
"line": 447,
"label": "Value.call"
},
{
"path": "reflect/value.go",
"line": 308,
"label": "Value.Call"
},
{
"path": "lambda-eks-sample/vendor/github.com/aws/aws-lambda-go/lambda/handler.go",
"line": 111,
"label": "newHandler.func1"
},
{
"path": "lambda-eks-sample/vendor/github.com/aws/aws-lambda-go/lambda/handler.go",
"line": 22,
"label": "lambdaHandler.Invoke"
},
{
"path": "lambda-eks-sample/vendor/github.com/aws/aws-lambda-go/lambda/function.go",
"line": 59,
"label": "(*Function).Invoke"
},
{
"path": "runtime/asm_amd64.s",
"line": 574,
"label": "call64"
},
{
"path": "reflect/value.go",
"line": 447,
"label": "Value.call"
},
{
"path": "reflect/value.go",
"line": 308,
"label": "Value.Call"
},
{
"path": "net/rpc/server.go",
"line": 384,
"label": "(*service).call"
},
{
"path": "runtime/asm_amd64.s",
"line": 2361,
"label": "goexit"
}
]
}
START RequestId: 4e8ecdc7-a548-11e8-9f64-250e268ae38f Version: $LATEST
time="2018-08-21T13:44:20Z" level=info msg="Looking up EKS cluster" cluster=xxx
time="2018-08-21T13:44:22Z" level=info msg="Found cluster" cluster=xxx
time="2018-08-21T13:44:22Z" level=debug msg="Cluster details" cluster="<nil>"
runtime error: invalid memory address or nil pointer dereference: errorString
[{"path":"lambda-eks-sample/vendor/github.com/aws/aws-lambda-go/lambda/function.go","line":27,"label":"(*Function).Invoke.func1"},{"path":"runtime/asm_amd64.s","line":573,"label":"call32"},{"path":"runtime/panic.go","line":502,"label":"gopanic"},{"path":"runtime/panic.go","line":63,"label":"panicmem"},{"path":"runtime/signal_unix.go","line":388,"label":"sigpanic"},{"path":"lambda-eks-sample/main.go","line":109,"label":"(*ClusterConfig).loadConfig"},{"path":"lambda-eks-sample/main.go","line":51,"label":"handler"},{"path":"runtime/asm_amd64.s","line":577,"label":"call512"},{"path":"reflect/value.go","line":447,"label":"Value.call"},{"path":"reflect/value.go","line":308,"label":"Value.Call"},{"path":"lambda-eks-sample/vendor/github.com/aws/aws-lambda-go/lambda/handler.go","line":111,"label":"newHandler.func1"},{"path":"lambda-eks-sample/vendor/github.com/aws/aws-lambda-go/lambda/handler.go","line":22,"label":"lambdaHandler.Invoke"},{"path":"lambda-eks-sample/vendor/github.com/aws/aws-lambda-go/lambda/function.go","line":59,"label":"(*Function).Invoke"},{"path":"runtime/asm_amd64.s","line":574,"label":"call64"},{"path":"reflect/value.go","line":447,"label":"Value.call"},{"path":"reflect/value.go","line":308,"label":"Value.Call"},{"path":"net/rpc/server.go","line":384,"label":"(*service).call"},{"path":"runtime/asm_amd64.s","line":2361,"label":"goexit"}]
END RequestId: 4e8ecdc7-a548-11e8-9f64-250e268ae38f
REPORT RequestId: 4e8ecdc7-a548-11e8-9f64-250e268ae38f Duration: 1241.58 ms Billed Duration: 1300 ms Memory Size: 128 MB Max Memory Used: 44 MB
runtime error: invalid memory address or nil pointer dereference
errorString
Getting the above errors while trying to run a test event.
The privileges of my role are proper I think, because I tested them outside of AWS lambda environment and work as expected.
Any idea if I misconfigured something?
Thanks, in advance.
Metadata
Metadata
Assignees
Labels
No labels