We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
other exception / error (其他异常报错)
see the following error-log
org.apache.hugegraph.exception.ServerException: Index 32 out of bounds for length 32
public void set(int key, V value) { if (key >= this.currentSize) { this.expandCapacity(); } // this.array is not the one that has done expandCapacity! this.array[key] = value; } private synchronized void expandCapacity() { if (this.currentSize == this.maxSize) { return; } this.currentSize = Math.min(this.currentSize * 2, this.maxSize); Object[] newArray = new Object[this.currentSize]; System.arraycopy(this.array, 0, newArray, 0, this.array.length); this.clear(); this.array = newArray; }
No response
The text was updated successfully, but these errors were encountered:
some advice
Sorry, something went wrong.
Thanks, could submit a PR including related test for it
@conghuhu free to take a look with it~
ok, plz assign to me
follow-up: #2332 (comment)
conghuhu
Successfully merging a pull request may close this issue.
Bug Type (问题类型)
other exception / error (其他异常报错)
Before submit
Environment (环境信息)
see the following error-log
Expected & Actual behavior (期望与实际表现)
Vertex/Edge example (问题点 / 边数据举例)
No response
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
No response
The text was updated successfully, but these errors were encountered: