Deleting static Vertex Labels from the database

Hello, hope you are having a good day! I have a vertexLabel in my schema which is sort of corrupted. Whenever I call isStatic on the vertexLabel, then it fails.
java.lang.NullPointerException
at org.janusgraph.graphdb.types.VertexLabelVertex.isStatic(VertexLabelVertex.java:46)
at com.booking.apate.commons.schema.SchemaBuilder.defineVertex(SchemaBuilder.java:68)
java.lang.NullPointerException
at org.janusgraph.graphdb.types.VertexLabelVertex.isStatic(VertexLabelVertex.java:46)
at com.booking.apate.commons.schema.SchemaBuilder.defineVertex(SchemaBuilder.java:68)
I tried deleting this label by calling calling remove method of the VertexLabel, but it does not remove this label from the schema. Maybe it is not deleting because there are vertices with this labels. Can you suggest some way to remove the vertexLabel and re-insert it again ? Or Can I drop the schema and reinsert it, I suppose if I drop schema, I will also have to drop the data.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server