Skip to content

support go modules, panic: runtime error: invalid memory address or nil pointer dereference #195

@lenghan4real

Description

@lenghan4real

go mod with dependency like golang.org/x/unix

[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x11d225d]

goroutine 59 [running]:
go/ast.Walk(0x16aca80, 0xc010629260, 0x16afa60, 0x0)
/Users/han/.gvm/gos/go1.13.5/src/go/ast/walk.go:224 +0x1b4d
go/ast.Inspect(...)
/Users/han/.gvm/gos/go1.13.5/src/go/ast/walk.go:385
github.com/revel/cmd/parser2.(*SourceInfoProcessor).getValidation(0xc000010040, 0xc0172e4ff0, 0xc013db7000, 0xc014a0c940)
/workspace/revel_cmd/parser2/source_info_processor.go:114 +0x15f

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions