make sure vertex and label are not null for TinkerVertex.addEdge().