Skip to content
This repository has been archived by the owner on Jan 5, 2022. It is now read-only.

Invalid dereference of errorString #152

Closed
jcoyne opened this issue Nov 9, 2018 · 1 comment
Closed

Invalid dereference of errorString #152

jcoyne opened this issue Nov 9, 2018 · 1 comment

Comments

@jcoyne
Copy link
Contributor

jcoyne commented Nov 9, 2018

Found this in cloudwatch:

runtime error: invalid memory address or nil pointer dereference: errorString
[
{
    "path": "github.com/sul-dlss/rialto-derivatives/vendor/github.com/aws/aws-lambda-go/lambda/function.go",
    "line": 27,
    "label": "(*Function).Invoke.func1"
}
,
{
    "path": "runtime/asm_amd64.s",
    "line": 522,
    "label": "call32"
}
,
{
    "path": "runtime/panic.go",
    "line": 513,
    "label": "gopanic"
}
,
{
    "path": "runtime/panic.go",
    "line": 82,
    "label": "panicmem"
}
,
{
    "path": "runtime/signal_unix.go",
    "line": 390,
    "label": "sigpanic"
}
,
{
    "path": "github.com/sul-dlss/rialto-derivatives/models/publication.go",
    "line": 96,
    "label": "(*Publication).SetGrantInfo"
}
,
{
    "path": "github.com/sul-dlss/rialto-derivatives/repository/service.go",
    "line": 90,
    "label": "(*Service).toPublication"
}
,
{
    "path": "github.com/sul-dlss/rialto-derivatives/repository/service.go",
    "line": 64,
    "label": "(*Service).toResourceList"
}
,
{
    "path": "github.com/sul-dlss/rialto-derivatives/repository/service.go",
    "line": 35,
    "label": "(*Service).SubjectsToResources"
}
,
{
    "path": "github.com/sul-dlss/rialto-derivatives/actions/touch.go",
    "line": 39,
    "label": "(*TouchAction).recordToResourceList"
}
,
{
    "path": "github.com/sul-dlss/rialto-derivatives/actions/touch.go",
    "line": 29,
    "label": "(*TouchAction).Run"
}
,
{
    "path": "postgres/main.go",
    "line": 30,
    "label": "Handler"
}
,
{
    "path": "runtime/asm_amd64.s",
    "line": 523,
    "label": "call64"
}
,
{
    "path": "reflect/value.go",
    "line": 447,
    "label": "Value.call"
}
,
{
    "path": "reflect/value.go",
    "line": 308,
    "label": "Value.Call"
}
,
{
    "path": "github.com/sul-dlss/rialto-derivatives/vendor/github.com/aws/aws-lambda-go/lambda/handler.go",
    "line": 111,
    "label": "newHandler.func1"
}
,
{
    "path": "github.com/sul-dlss/rialto-derivatives/vendor/github.com/aws/aws-lambda-go/lambda/handler.go",
    "line": 22,
    "label": "lambdaHandler.Invoke"
}
,
{
    "path": "github.com/sul-dlss/rialto-derivatives/vendor/github.com/aws/aws-lambda-go/lambda/function.go",
    "line": 59,
    "label": "(*Function).Invoke"
}
,
{
    "path": "runtime/asm_amd64.s",
    "line": 523,
    "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": 1333,
    "label": "goexit"
}
]
@jcoyne
Copy link
Contributor Author

jcoyne commented Nov 9, 2018

Probably fixed by #48

@jcoyne jcoyne closed this as completed Nov 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant