Open zhengyingying opened 1 year ago
The exception can also be triggered when we remove the label el0
in hasLabel('el0','el1')
. Maybe the reason is not the multiple labels.
In addition, I find that if I execute this query as the following way, it does not throw exception but return the correct result.
g.V().inE('el0'); -- {e:{1}}
g.E(1).hasLabel('el0','el1'); -- {e:{1}}
@imbajin I find this issue is similar to https://github.com/apache/incubator-hugegraph/issues/1951. Maybe the reasons for these two issues are the same, and you can investigate them together.
I also find that a closed issue (https://github.com/apache/incubator-hugegraph/issues/1735) reported the similar bug, and it seems to be fixed. But we still found it. Maybe it deserves further investigation?
@zhengyingying Yes it looks fixed, but due to v0.12.0 version does not contain the latest code, you can try cherry-pick that commit and execute mvn package
manually to get a bugfix tar.
how to cherry-pick and package manually:
git checkout master
git pull
git checkout -b release-0.12 origin/release-0.12
git cherry-pick cadeade476e5e9773471cbc67b1a65ed505eba77
mvn package -DskipTests
@javeme Thanks! I will try to do it.
In addition, may I ask the cause of this bug?
@javeme
Hi, I have tried to build the project. But an exception was thrown on the package hugegraph-dist
.
org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException
role: org.apache.maven.artifact.resolver.ArtifactResolver
roleHint: project-cache-aware
How can I solve it?
Bug Type (问题类型)
No response
Before submit
Environment (环境信息)
Expected & Actual behavior (期望与实际表现)
We execute the query
g.V().inE('el0').hasLabel('el0','el1')
and expect it returns some edges.But it throws an exception
java.lang.IllegalStateException: Illegal key 'LABEL' with more than one value
.Reproduce
The schema of the simplify graph as follows.