llooFlashooll opened a new issue, #2171:
URL: https://github.com/apache/incubator-hugegraph/issues/2171

   ### 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.E().inV().bothE('el0').fold().as('x').E().where(__.count()).where(within('x'))`
 is thrown with an exception. I think this query is syntactically correct, but 
I keep triggering this kind of problem.
   
   **Expected behavior:**
   No exception should be expected to throw. Or futher messages or prompts 
should be thrown.
   
   **Actual behavior:**
   A `groovy.lang.MissingMethodException` is thrown. And I'm not really sure 
whether this problem should happen so I report this. I succeed this kind of 
collection transition when replacing `g.E()` with `g.V()`. So I guess there's 
some problems of `g.E()` syntax, and maybe it doesn't support midterm `E()` 
syntax.
   
   ```
   HugeGraph exception :
   groovy.lang.MissingMethodException: No signature of method: 
org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.DefaultGraphTraversal.E()
 is applicable for argument types: () values: []
   Possible solutions: by(groovy.lang.Closure), is(java.lang.Object), 
use([Ljava.lang.Object;), use(java.util.List, groovy.lang.Closure), 
use(java.lang.Class, groovy.lang.Closure), any()
   ```
   
   
   ### Vertex/Edge example (问题点 / 边数据举例)
   
   ```javascript
   Steps to reproduce:
   We create a graph with 10 nodes and 20 edges. We try to make it clear to 
reproduce the bugs, {}hope{} to not cause much inconvenience to your reviewing, 
but we believe the problem does exist.
   Following the following graph data generation query, we can reproduce the 
bugs:
   ```
   
   
   ### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to