java.lang.ArrayIndexOutOfBoundsException

-1

Solutions on the web4238

  • via Coderanch by Kevin Tansey, 11 months ago
    -1
  • via Coderanch by Kevin Tansey, 9 months ago
    -1
  • via Coderanch by Vanessa Astle, 9 months ago
    1
  • Stack trace

    • java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.elementData(ArrayList.java:400) at java.util.ArrayList.get(ArrayList.java:413) at org.hibernate.hql.ast.origin.hql.parse.HQLParser.generatePersisterSpacesTree(HQLParser.java:384) at org.hibernate.hql.ast.origin.hql.parse.HQLParser.persisterSpaces(HQLParser.java:3459) at org.hibernate.hql.ast.origin.hql.parse.HQLParser.fromClause(HQLParser.java:3337) at org.hibernate.hql.ast.origin.hql.parse.HQLParser.selectFrom(HQLParser.java:3136) at org.hibernate.hql.ast.origin.hql.parse.HQLParser.querySpec(HQLParser.java:2480) at org.hibernate.hql.ast.origin.hql.parse.HQLParser.queryExpression(HQLParser.java:2272) at org.hibernate.hql.ast.origin.hql.parse.HQLParser.subQuery(HQLParser.java:3216) at org.hibernate.hql.ast.origin.hql.parse.HQLParser.quantifiedExpression(HQLParser.java:11337) at org.hibernate.hql.ast.origin.hql.parse.HQLParser.unaryExpression(HQLParser.java:9990) at org.hibernate.hql.ast.origin.hql.parse.HQLParser.multiplyExpression(HQLParser.java:9637) at org.hibernate.hql.ast.origin.hql.parse.HQLParser.additiveExpression(HQLParser.java:9488) at org.hibernate.hql.ast.origin.hql.parse.HQLParser.concatenation(HQLParser.java:9380) at org.hibernate.hql.ast.origin.hql.parse.HQLParser.relationalExpression(HQLParser.java:8235) at org.hibernate.hql.ast.origin.hql.parse.HQLParser.equalityExpression(HQLParser.java:7805) at org.hibernate.hql.ast.origin.hql.parse.HQLParser.negatedExpression(HQLParser.java:7725) at org.hibernate.hql.ast.origin.hql.parse.HQLParser.negatedExpression(HQLParser.java:7710) at org.hibernate.hql.ast.origin.hql.parse.HQLParser.logicalAndExpression(HQLParser.java:7562) at org.hibernate.hql.ast.origin.hql.parse.HQLParser.logicalOrExpression(HQLParser.java:7455) at org.hibernate.hql.ast.origin.hql.parse.HQLParser.expression(HQLParser.java:7392) at org.hibernate.hql.ast.origin.hql.parse.HQLParser.logicalExpression(HQLParser.java:7333) at org.hibernate.hql.ast.origin.hql.parse.HQLParser.whereClause(HQLParser.java:3049) at org.hibernate.hql.ast.origin.hql.parse.HQLParser.querySpec(HQLParser.java:2502) at org.hibernate.hql.ast.origin.hql.parse.HQLParser.queryExpression(HQLParser.java:2272) at org.hibernate.hql.ast.origin.hql.parse.HQLParser.selectStatement(HQLParser.java:2139) at org.hibernate.hql.ast.origin.hql.parse.HQLParser.statementElement(HQLParser.java:926) at org.hibernate.hql.ast.origin.hql.parse.HQLParser.statement(HQLParser.java:811) at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.hibernate.hql.testing.internal.parser.GrammarRuleTestRunner.invokeRule(GrammarRuleTestRunner.java:124) at org.hibernate.hql.testing.internal.parser.GrammarRuleTestRunner.run(GrammarRuleTestRunner.java:89) at org.hibernate.hql.testing.internal.junit.GrammarRuleStatement.evaluate(GrammarRuleStatement.java:94) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.hibernate.hql.testing.internal.junit.GrammarRuleStatements.runLeafNode(GrammarRuleStatements.java:94) at org.hibernate.hql.testing.internal.junit.GrammarRuleStatement.run(GrammarRuleStatement.java:118) at org.hibernate.hql.testing.internal.junit.GrammarRuleStatements.runChild(GrammarRuleStatements.java:85) at org.hibernate.hql.testing.internal.junit.GrammarRuleStatements.runChild(GrammarRuleStatements.java:1) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.hibernate.hql.testing.internal.junit.GrammarRuleStatements.run(GrammarRuleStatements.java:90) at org.hibernate.hql.testing.internal.junit.GrammarRuleStatements.runChild(GrammarRuleStatements.java:85) at org.hibernate.hql.testing.internal.junit.GrammarRuleStatements.runChild(GrammarRuleStatements.java:1) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.hibernate.hql.testing.junit.GrammarTestRunner.runChild(GrammarTestRunner.java:89) at org.hibernate.hql.testing.junit.GrammarTestRunner.runChild(GrammarTestRunner.java:1) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    2 times, 9 months ago
    5 times, 1 year ago
    Unknown user
    2 times, 1 year ago
    Once, 4 days ago
    Unknown user
    Once, 2 weeks ago
    40 more bugmates