northwesternmutual / grammes

A Go package built to communicate with Apache TinkerPop™ Graph computing framework using Gremlin; a graph traversal language used by graph databases such as JanusGraph®, MS Cosmos DB, AWS Neptune, and DataStax® Enterprise Graph.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VertexByID panic when no vertex found

shutcode opened this issue · comments

panic: runtime error: index out of range

goroutine 1 [running]:
test/gremlin/vendor/github.com/northwesternmutual/grammes/manager.(*getVertexQueryManager).VertexByID(0xc000158040, 0xa590b0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/home/chris/go/src/test/gremlin/vendor/github.com/northwesternmutual/grammes/manager/getvertex.go:118 +0x25a

len(vertices) should be checked

Merged into master and is active in v1.1.0. Closing.