[Bug] 多ID查询,执行gremlin出错,后端java.lang.NullPointerException
- Dominant language
- Java
- Stars
- 3.2k
- Forks
- 636
- Avg merge
- 3d 11h
- Merged PRs (30d)
- 14
Description
### Bug Type (问题类型)
other exception / error (其他异常报错)
### Before submit
- [X] 我已经确认现有的 [Issues](https://github.com/hugegraph/hugegraph/issues) 与 [FAQ](https://hugegraph.github.io/hugegraph-doc/guides/faq.html) 中没有相同 / 重复问题
### Environment (环境信息)
- Server Version: v0.11.x
- Backend: RocksDB x nodes, HDD or SSD
- OS: xx CPUs, xx G RAM, Centos 7.x
- Data Size: xx vertices, xx edges
{
"exception": "java.lang.NullPointerException",
"message": "Error encountered evaluating script: g.V().limit(10).bothE().dedup().limit(10)",
"cause": "[java.lang.NullPointerException]"
}
### Expected & Actual behavior (期望与实际表现)
### Vertex/Edge example (问题点 / 边数据举例)
调用后端API请求,执行一下gremlin语句
{
"gremlin": "g.V().limit(10)**.bothE()**.dedup().limit(10)",
"bindings": {},
"language": "gremlin-groovy",
"aliases": {
"graph": "cehui_kg",
"g": "__g_cehui_kg"
}
}

{
"exception": "java.lang.NullPointerException",
"message": "Error encountered evaluating script: g.V().limit(10).bothE().dedup().limit(10)",
"cause": "[java.lang.NullPointerException]"
}
**经过测试,将gremlin语句中bothE()替换成outE(),可以执行**,是否官方的huge-hubble也存在这样的bug?
### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.