Closed johny65 closed 3 years ago
This is the case when otherVertex is null. How do you get otherVertex? Could you please check that it's not null?
otherVertex
is not null. I found that the problem occurs when the vertices in the database are inconsistent... the edge goes out from vertex but doesn't go in into otherVertex. I don't know why the database got inconsistent :/..
OrientDB Version: 3.0.35
Java Version: OpenJDK version "11.0.9.1" 2020-11-04
OS: Ubuntu 20.10
Expected behavior
Call to
OrientVertex::getEdges
without exception.Actual behavior
Sometimes calling to
getEdges
on a vertex throws anjava.lang.IllegalArgumentException: Vertex id can not be null
. If I retry the operation, the call is successful. I don't know in which conditions this happens, it's somewhat random.The full stacktrace is the following:
Steps to reproduce
I just have a for loop: