Skip to content
New issue

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

traversedVertex(0) function throws java.lang.IndexOutOfBoundsException #8624

Closed
Y0ba opened this issue Oct 24, 2018 · 2 comments
Closed

traversedVertex(0) function throws java.lang.IndexOutOfBoundsException #8624

Y0ba opened this issue Oct 24, 2018 · 2 comments
Assignees
Labels
Milestone

Comments

@Y0ba
Copy link

Y0ba commented Oct 24, 2018

OrientDB Version: 3.0.9

Java Version: 11.0.1+13

OS: Windows 10

Expected behavior

No exception

Actual behavior

java.lang.IndexOutOfBoundsException: Index 1 out of bounds for length 1

Exception thrown here:

for (int x = listStack.size(); x >= 0; x--) {
final Object o = listStack.get(x);

Seems like x should be initialized to listStack.size() - 1.

@luigidellaquila
Copy link
Member

Hi @Y0ba

Good catch, thank you very much, I'm fixing it now

Thanks

Luigi

@luigidellaquila luigidellaquila self-assigned this Oct 24, 2018
@luigidellaquila luigidellaquila added this to the 3.0.10 milestone Oct 24, 2018
@luigidellaquila
Copy link
Member

Hi @Y0ba

I'm pushing the fix right now, it will be released with v 3.0.10

Thanks

Luigi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants