You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hugegraph.apache.org by GitBox <gi...@apache.org> on 2022/08/15 03:49:00 UTC

[GitHub] [incubator-hugegraph] lazyermax opened a new issue, #1942: [Bug] 多ID查询,执行gremlin出错,后端java.lang.NullPointerException

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

   ### 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 <!-- (like 1000W 点, 9000W 边) -->
   {
       "exception": "java.lang.NullPointerException",
       "message": "Error encountered evaluating script: g.V().limit(10).bothE().dedup().limit(10)",
       "cause": "[java.lang.NullPointerException]"
   }
   
   ### Expected & Actual behavior (期望与实际表现)
   
   调用后端API请求,执行一下gremlin语句
   {
   	"gremlin": "g.V().limit(10).bothE().dedup().limit(10)",
   	"bindings": {},
   	"language": "gremlin-groovy",
   	"aliases": {
   		"graph": "cehui_kg", 
   		"g": "__g_cehui_kg"
   	}
   }
   ![bug](https://user-images.githubusercontent.com/16752701/184573931-7505c86d-2660-40e4-8d51-a7265245a53c.png)
   
   {
       "exception": "java.lang.NullPointerException",
       "message": "Error encountered evaluating script: g.V().limit(10).bothE().dedup().limit(10)",
       "cause": "[java.lang.NullPointerException]"
   }
   
   
   ### Vertex/Edge example (问题点 / 边数据举例)
   
   _No response_
   
   ### 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: dev-unsubscribe@hugegraph.apache.org.apache.org

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


[GitHub] [incubator-hugegraph] imbajin commented on issue #1942: [Bug] 多ID查询,执行gremlin出错,后端java.lang.NullPointerException

Posted by GitBox <gi...@apache.org>.
imbajin commented on issue #1942:
URL: https://github.com/apache/incubator-hugegraph/issues/1942#issuecomment-1216210365

   最简单的确认方式, 先不用前端组件, 直接通过浏览器/客户端发送 http 请求, 看看返回信息. (比如 postman 等)
   
   前端有些对语句做了封装和加工处理


-- 
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

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


[GitHub] [incubator-hugegraph] lazyermax commented on issue #1942: [Bug] 多ID查询,执行gremlin出错,后端java.lang.NullPointerException

Posted by GitBox <gi...@apache.org>.
lazyermax commented on issue #1942:
URL: https://github.com/apache/incubator-hugegraph/issues/1942#issuecomment-1217415874

   > 
   我的截图是 huge-hubble 上执行,huge-hubble会再对获得节点进行bothE()查询,所有同样出错,我再API使用g.V('id1','id2').bothE() 同样出错


-- 
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

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