Closed ghost closed 3 years ago
Thanks for reporting this. Will investigate it.
Closing this issue. Because it's not active for a long time. If anyone have similar issue, please create issue in new repo: https://github.com/Azure/azure-sdk-for-java/issues
Spring Data Gremlin appears unable to deserialize responses from Gremlin Server 3.4.3.
Expected Behavior
Running the
web-service
example, I can add aMicroService
vertex.Current Behavior
NPE is thrown during deserialization.
Possible Solution
Unknown.
Steps to Reproduce (for bugs)
config/gremlin-server-ci.*
from project source intoapache-tinkerpop-gremlin-server-3.4.3/conf
examples/web-service/src/main/resources/application.yml
to useendpoint: localhost
andport: 8889
.web-service
example (I usedmvn clean package
)bin/gremlin-server.sh conf/gremlin-server-ci.yaml
curl -X PUT -H "Content-Type: application/json" -d '{"id": "1234"}' http://localhost:8080/services/
If you connect a debugger and have a look at
org.apache.tinkerpop.gremlin.driver.ser.AbstractGraphSONMessageSerializerV1d0#deserializeResponse
you can see that theresponseData -> result -> data -> properties
is empty – no_classname
.If we repeat the steps above, but use Gremlin Server 3.3.8 instead, we find
properties
has a_classname
as expected and the response can be deserialized.Snapshot Code for Reproduce
https://github.com/microsoft/spring-data-gremlin/tree/master/examples/web-service
Branch
Your Environment
6f9a925100c4b12fc79b9e4e2248c4f4c0e78abb