Replies: 2 comments
-
you should show your gremlin's codes |
Beta Was this translation helpful? Give feedback.
0 replies
-
when you search property's value,you can use 'isPresent()',it can avoid 'NoSuchElement' exception. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We experienced the following exception a few times in our production environment (using v0.4, but I compared the source code with v0.5 and verified there was no difference):
The exception comes from the return statement of this method:
janusgraph/janusgraph-cql/src/main/java/org/janusgraph/diskstorage/cql/CQLKeyColumnValueStore.java
Lines 279 to 292 in 9fb5726
Apparently, result.getValue() returns a None and then None.get() throws NoSuchElementException.
According to javadoc of vavr-0.9.0 Future::getValue, it returns None if the Future is not yet completed or was cancelled.
FWIW, the implementation of interruptibleWait is as follows:
janusgraph/janusgraph-cql/src/main/java/org/janusgraph/diskstorage/cql/CQLKeyColumnValueStore.java
Lines 307 to 316 in 9fb5726
Has anyone seen similar issue before?
Beta Was this translation helpful? Give feedback.
All reactions