apache / apache/hugegraph-toolchain

[Bug] hubble1.5.0 执行创建顶点语句报错Undefined vertex label: '??'

Open
#602 5 comments 0 reactions 0 assignees View on GitHub
bug good first issue hubble
Dominant language
Java
Stars
121
Forks
125
Avg merge
10d 10h
Merged PRs (30d)
3

Description

### Bug Type (问题类型)

exception / error (异常报错)

### Before submit

- [X] I had searched in the [issues](https://github.com/apache/hugegraph-toolchain/issues) and found no similar issues.

### Environment (环境信息)

- hugegraph 版本:1.2.0
- hugegraph-hubble版本: 1.5.0
![image](https://github.com/apache/incubator-hugegraph-toolchain/assets/20537541/ddc48a57-473c-4e8c-8268-db0c017136f5)
>通过docker部署

### Expected & Actual behavior (期望与实际表现)

执行创建顶点语句,报错 Undefined vertex label: '??'
```
g.addV('地点').property(id, '17700').property('name', '海南')
```
![image](https://github.com/apache/incubator-hugegraph-toolchain/assets/20537541/de9bf741-02bc-4285-a5d9-7e05cf6d39cb)

我使用HugeGraph Java Client 执行同样的语句能成功.

### Vertex/Edge example (问题点 / 边数据举例)

_No response_

### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported statement in Hubble 1.5.0 under the Docker deployment, then compare its behavior with the successful HugeGraph Java Client execution. Trace how the Hubble entry point sends the Chinese vertex label and identify where it becomes '??'; done means the statement creates the vertex without an undefined-label error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.