You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hugegraph.apache.org by "Javlgh (via GitHub)" <gi...@apache.org> on 2024/03/04 08:43:39 UTC

[I] 服务端报错 [incubator-hugegraph]

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

   ### Bug Type (问题类型)
   
   gremlin (结果不合预期)
   
   ### 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 (环境信息)
   
   aManager.removeIndexLabel() is applicable for argument types: (String) values: [initialDataLabByName]
   Possible solutions: getIndexLabel(java.lang.String)
   groovy.lang.MissingMethodException: No signature of method: org.apache.hugegraph.schema.SchemaManager.removeIndexLabel() is applicable for argument types: (String) values: [initialDataLabByName]
   Possible solutions: getIndexLabel(java.lang.String)
           at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:70) ~[groovy-2.5.14-indy.jar:2.5.14]
           at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:46) ~[groovy-2.5.14-indy.jar:2.5.14]
           at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127) ~[groovy-2.5.14-indy.jar:2.5.14]
           at Script10311.run(Script10311.groovy:3) ~[?:?]
           at org.apache.tinkerpop.gremlin.groovy.jsr223.GremlinGroovyScriptEngine.eval(GremlinGroovyScriptEngine.java:676) ~[gremlin-groovy-3.5.1.jar:3.5.1]
           at org.apache.tinkerpop.gremlin.groovy.jsr223.GremlinGroovyScriptEngine.eval(GremlinGroovyScriptEngine.java:378) ~[gremlin-groovy-3.5.1.jar:3.5.1]
           at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:233) ~[?:1.8.0_144]
           at org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutor.lambda$eval$0(GremlinExecutor.java:272) ~[gremlin-groovy-3.5.1.jar:3.5.1]
           at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_144]
           at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_144]
           at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_144]
           at org.apache.hugegraph.auth.HugeGraphAuthProxy$ContextTask.run(HugeGraphAuthProxy.java:1860) ~[hugegraph-api-1.0.0.jar:1.0.0]
           at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_144]
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_144]
           at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
   
   
   
   ### Expected & Actual behavior (期望与实际表现)
   
   aManager.removeIndexLabel() is applicable for argument types: (String) values: [initialDataLabByName]
   Possible solutions: getIndexLabel(java.lang.String)
   groovy.lang.MissingMethodException: No signature of method: org.apache.hugegraph.schema.SchemaManager.removeIndexLabel() is applicable for argument types: (String) values: [initialDataLabByName]
   Possible solutions: getIndexLabel(java.lang.String)
           at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:70) ~[groovy-2.5.14-indy.jar:2.5.14]
           at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:46) ~[groovy-2.5.14-indy.jar:2.5.14]
           at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127) ~[groovy-2.5.14-indy.jar:2.5.14]
           at Script10311.run(Script10311.groovy:3) ~[?:?]
           at org.apache.tinkerpop.gremlin.groovy.jsr223.GremlinGroovyScriptEngine.eval(GremlinGroovyScriptEngine.java:676) ~[gremlin-groovy-3.5.1.jar:3.5.1]
           at org.apache.tinkerpop.gremlin.groovy.jsr223.GremlinGroovyScriptEngine.eval(GremlinGroovyScriptEngine.java:378) ~[gremlin-groovy-3.5.1.jar:3.5.1]
           at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:233) ~[?:1.8.0_144]
           at org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutor.lambda$eval$0(GremlinExecutor.java:272) ~[gremlin-groovy-3.5.1.jar:3.5.1]
           at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_144]
           at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_144]
           at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_144]
           at org.apache.hugegraph.auth.HugeGraphAuthProxy$ContextTask.run(HugeGraphAuthProxy.java:1860) ~[hugegraph-api-1.0.0.jar:1.0.0]
           at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_144]
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_144]
           at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
   
   
   ### Vertex/Edge example (问题点 / 边数据举例)
   
   ```javascript
   aManager.removeIndexLabel() is applicable for argument types: (String) values: [initialDataLabByName]
   Possible solutions: getIndexLabel(java.lang.String)
   groovy.lang.MissingMethodException: No signature of method: org.apache.hugegraph.schema.SchemaManager.removeIndexLabel() is applicable for argument types: (String) values: [initialDataLabByName]
   Possible solutions: getIndexLabel(java.lang.String)
           at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:70) ~[groovy-2.5.14-indy.jar:2.5.14]
           at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:46) ~[groovy-2.5.14-indy.jar:2.5.14]
           at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127) ~[groovy-2.5.14-indy.jar:2.5.14]
           at Script10311.run(Script10311.groovy:3) ~[?:?]
           at org.apache.tinkerpop.gremlin.groovy.jsr223.GremlinGroovyScriptEngine.eval(GremlinGroovyScriptEngine.java:676) ~[gremlin-groovy-3.5.1.jar:3.5.1]
           at org.apache.tinkerpop.gremlin.groovy.jsr223.GremlinGroovyScriptEngine.eval(GremlinGroovyScriptEngine.java:378) ~[gremlin-groovy-3.5.1.jar:3.5.1]
           at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:233) ~[?:1.8.0_144]
           at org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutor.lambda$eval$0(GremlinExecutor.java:272) ~[gremlin-groovy-3.5.1.jar:3.5.1]
           at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_144]
           at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_144]
           at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_144]
           at org.apache.hugegraph.auth.HugeGraphAuthProxy$ContextTask.run(HugeGraphAuthProxy.java:1860) ~[hugegraph-api-1.0.0.jar:1.0.0]
           at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_144]
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_144]
           at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
   ```
   
   
   ### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
   
   ```javascript
   aManager.removeIndexLabel() is applicable for argument types: (String) values: [initialDataLabByName]
   Possible solutions: getIndexLabel(java.lang.String)
   groovy.lang.MissingMethodException: No signature of method: org.apache.hugegraph.schema.SchemaManager.removeIndexLabel() is applicable for argument types: (String) values: [initialDataLabByName]
   Possible solutions: getIndexLabel(java.lang.String)
           at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:70) ~[groovy-2.5.14-indy.jar:2.5.14]
           at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:46) ~[groovy-2.5.14-indy.jar:2.5.14]
           at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127) ~[groovy-2.5.14-indy.jar:2.5.14]
           at Script10311.run(Script10311.groovy:3) ~[?:?]
           at org.apache.tinkerpop.gremlin.groovy.jsr223.GremlinGroovyScriptEngine.eval(GremlinGroovyScriptEngine.java:676) ~[gremlin-groovy-3.5.1.jar:3.5.1]
           at org.apache.tinkerpop.gremlin.groovy.jsr223.GremlinGroovyScriptEngine.eval(GremlinGroovyScriptEngine.java:378) ~[gremlin-groovy-3.5.1.jar:3.5.1]
           at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:233) ~[?:1.8.0_144]
           at org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutor.lambda$eval$0(GremlinExecutor.java:272) ~[gremlin-groovy-3.5.1.jar:3.5.1]
           at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_144]
           at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_144]
           at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_144]
           at org.apache.hugegraph.auth.HugeGraphAuthProxy$ContextTask.run(HugeGraphAuthProxy.java:1860) ~[hugegraph-api-1.0.0.jar:1.0.0]
           at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_144]
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_144]
           at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
   ```
   


-- 
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: dev-unsubscribe@hugegraph.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] 服务端报错 [incubator-hugegraph]

Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #2471:
URL: https://github.com/apache/incubator-hugegraph/issues/2471#issuecomment-1976025446

   <!-- Greeting -->
   你好 @Javlgh! 我是 [Dosu](https://dosu.dev),一个可以帮助你解决bug、回答问题,并且成为贡献者的机器人。我在这里帮助你,同时等待人类维护者的回复。我正在查看你的问题,并将很快为你提供完整的答案。
   
   
   


-- 
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: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


Re: [I] [Bug] MissingMethodException in SchemaManager.removeIndexLabel() [incubator-hugegraph]

Posted by "imbajin (via GitHub)" <gi...@apache.org>.
imbajin commented on issue #2471:
URL: https://github.com/apache/incubator-hugegraph/issues/2471#issuecomment-1976083813

   @dosu-bot Thanks for your answer, when encountering similar unclear context issues, you can ask users to provide some basic environment/version/runtime information, which will help determine the context
   
   Usually, such problems are caused by package version mismatch or conflicts


-- 
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: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


Re: [I] [Bug] MissingMethodException in SchemaManager.removeIndexLabel() [incubator-hugegraph]

Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #2471:
URL: https://github.com/apache/incubator-hugegraph/issues/2471#issuecomment-1976088014

   <!-- Answer -->
   Hello there! Thank you for your input. You're absolutely right. Gathering basic environment, version, and runtime information from users can indeed be very helpful in resolving context-related issues, especially when it comes to package version mismatches or conflicts. If you have any specific questions or need assistance with a particular issue, feel free to ask!
   
   
   <!-- Dosu Comment Footer -->
   <details>
   <summary>
   
   #### About Dosu
   </summary>
   
   This response is meant to be useful and save you time. It is **not meant to be a precise solution**, but rather a starting point for your own research.
   
   Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
   
   If you want to continue the conversation, start your reply with @dosu-bot.
   </details>


-- 
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: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


Re: [I] [Bug] MissingMethodException in SchemaManager.removeIndexLabel() [incubator-hugegraph]

Posted by "Javlgh (via GitHub)" <gi...@apache.org>.
Javlgh commented on issue #2471:
URL: https://github.com/apache/incubator-hugegraph/issues/2471#issuecomment-1977941525

   Gremlin 执行失败,详细信息: Can't query by label index 'companyLabByName(id=29)' due to it's in status CREATING(CREATED expected)


-- 
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: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


Re: [I] [Bug] MissingMethodException in SchemaManager.removeIndexLabel() [incubator-hugegraph]

Posted by "imbajin (via GitHub)" <gi...@apache.org>.
imbajin commented on issue #2471:
URL: https://github.com/apache/incubator-hugegraph/issues/2471#issuecomment-1978055707

   > Gremlin 执行失败,详细信息: Can't query by label index 'companyLabByName(id=29)' due to it's in status CREATING(CREATED expected)
   
   请提供一些基本的复现环境, 比如你可以用 docke 版本测试一下是否有类似的问题, 什么版本, 怎么复现你说的问题, thanks


-- 
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: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org