[Bug] Throw java.lang.NumberFormatException
- 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/apache/hugegraph/issues) 与 [FAQ](https://hugegraph.apache.org/docs/guides/faq/) 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents)
### Environment (环境信息)
- HugeGraph Version: 0.12.0
- Storage Backend: inmemory
- Mixed Index Backend: none
- Link to discussed bug: none
- Operating system: macOS 13.2.1
- API/Driver: Java
### Expected & Actual behavior (期望与实际表现)
I first randomly create a graph. Then when I run the following query: `g.V().has('vp0', not(not(gte('iUn2s').or(gte('730618742'))))).out().path()` is thrown without further message to identify the root cause. I think this query is syntactically correct, but I keep triggering this kind of problem. And also the `730618742` number here should not have any overflow.
- Expected behavior:
No exception should be expected to throw. Or futher messages or prompts should be thrown.
- Actual behavior:
A `java.lang.NumberFormatException` is thrown. And I'm not really sure whether this problem should happen so I report this.
```
HugeGraph exception :
java.lang.NumberFormatException: Error encountered evaluating script: g.V().has('vp0', not(not(gte('iUn2s').or(gte('730618742'))))).out().path()
```
### Vertex/Edge example (问题点 / 边数据举例)
I don't provide the graph schema and data information because I think the bug here is a general problem. But if you need this kind of information, I'll further provide them. Thanks a lot!
### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.