You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DOTImporter.setVertexWithAttributesFactory gets called with an empty string for vertex, and no attributes. There is no way for the client to create a vertex from an empty string and returning null causes an NPE.
Expected behaviour DOTImporter.setVertexWithAttributesFactory should not get called with an empty string for vertex.
Other information
FWIW, client code is in Kotlin.
The text was updated successfully, but these errors were encountered:
Looks like this happens when regular parsing fails due to a code bug. Parsing vertex "auth/master" was throwing an exception, and that caused the vertexWithAttributesFactory to be called with an empty string.
I apologize if this issue has been raised before but I didn't find anything similar from Google search or by searching the issues in this repo.
Issue
Given the following graph:
DOTImporter.setVertexWithAttributesFactory
gets called with an empty string for vertex, and no attributes. There is no way for the client to create a vertex from an empty string and returningnull
causes an NPE.Expected behaviour
DOTImporter.setVertexWithAttributesFactory
should not get called with an empty string for vertex.Other information
FWIW, client code is in Kotlin.
The text was updated successfully, but these errors were encountered: