java.lang.AssertionError: Unexpected parsing result (parser output: Found unconsumed tokens: "class org.hibernate.test.Master, d IN elements(m.details) WHERE d.i=5".) expected:<OK> but was:<FAIL>

Hibernate JIRA | Adrian Nistor | 3 years ago
  1. 0

    There problems are only visible after fixing HQLPARSER-39. There are about 500 failed tests. One such example : gUnitHQLGrammar.testsuite line 672: SELECT m.id FROM m IN class org.hibernate.test.Master, d IN elements(m.details) WHERE d.i=5 - OK fails with: {code} java.lang.AssertionError: Unexpected parsing result (parser output: Found unconsumed tokens: "class org.hibernate.test.Master, d IN elements(m.details) WHERE d.i=5".) expected:<OK> but was:<FAIL> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:743) at org.junit.Assert.assertEquals(Assert.java:118) at org.hibernate.hql.testing.internal.junit.GrammarRuleStatement.evaluate(GrammarRuleStatement.java:97) 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:42) 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) {code}

    Hibernate JIRA | 3 years ago | Adrian Nistor
    java.lang.AssertionError: Unexpected parsing result (parser output: Found unconsumed tokens: "class org.hibernate.test.Master, d IN elements(m.details) WHERE d.i=5".) expected:<OK> but was:<FAIL>
  2. 0

    There problems are only visible after fixing HQLPARSER-39. There are about 500 failed tests. One such example : gUnitHQLGrammar.testsuite line 672: SELECT m.id FROM m IN class org.hibernate.test.Master, d IN elements(m.details) WHERE d.i=5 - OK fails with: {code} java.lang.AssertionError: Unexpected parsing result (parser output: Found unconsumed tokens: "class org.hibernate.test.Master, d IN elements(m.details) WHERE d.i=5".) expected:<OK> but was:<FAIL> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:743) at org.junit.Assert.assertEquals(Assert.java:118) at org.hibernate.hql.testing.internal.junit.GrammarRuleStatement.evaluate(GrammarRuleStatement.java:97) 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:42) 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) {code}

    Hibernate JIRA | 3 years ago | Adrian Nistor
    java.lang.AssertionError: Unexpected parsing result (parser output: Found unconsumed tokens: "class org.hibernate.test.Master, d IN elements(m.details) WHERE d.i=5".) expected:<OK> but was:<FAIL>
  3. 0

    Error in cyper test when compiling neo4j

    GitHub | 4 years ago | dMitin
    java.lang.AssertionError: start n=node(2) match n<-[r:IS_A]-p ; start n=node(2) match p-[IS_A]->n, p-[r:WORKED_ON]->u return p, sum(r.months) expected return clause " ; " ^ expected:<Some(44)> but was:<Some(46)>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    lost map entries with Map Store backup on node crash

    GitHub | 3 years ago | Danny-Hazelcast
    java.lang.AssertionError: shutdown after putting 29380 times ownedEntries1 ownedEntries2 14991::15009 expected:<30000> but was:<29887>
  6. 0

    substring() method for linked list object

    Stack Overflow | 2 years ago | boop
    java.lang.AssertionError: Substring of One Character LString is not equals LString expected: LString&lt;a&gt; but was: LString&lt;a&gt;

  1. fervidnerd 3 times, last 7 days ago
  2. davidvanlaatum 1 times, last 2 weeks ago
  3. andyglick 9 times, last 8 months ago
  4. WoodenDoors 3 times, last 9 months ago
  5. davidvanlaatum 103 times, last 9 months ago
32 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.AssertionError

    Unexpected parsing result (parser output: Found unconsumed tokens: "class org.hibernate.test.Master, d IN elements(m.details) WHERE d.i=5".) expected:<OK> but was:<FAIL>

    at org.junit.Assert.fail()
  2. JUnit
    Assert.assertEquals
    1. org.junit.Assert.fail(Assert.java:88)
    2. org.junit.Assert.failNotEquals(Assert.java:743)
    3. org.junit.Assert.assertEquals(Assert.java:118)
    3 frames
  3. org.hibernate.hql
    GrammarRuleStatement.evaluate
    1. org.hibernate.hql.testing.internal.junit.GrammarRuleStatement.evaluate(GrammarRuleStatement.java:97)
    1 frame
  4. JUnit
    ParentRunner.runLeaf
    1. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    1 frame
  5. org.hibernate.hql
    GrammarRuleStatements.runChild
    1. org.hibernate.hql.testing.internal.junit.GrammarRuleStatements.runLeafNode(GrammarRuleStatements.java:94)
    2. org.hibernate.hql.testing.internal.junit.GrammarRuleStatement.run(GrammarRuleStatement.java:118)
    3. org.hibernate.hql.testing.internal.junit.GrammarRuleStatements.runChild(GrammarRuleStatements.java:85)
    4. org.hibernate.hql.testing.internal.junit.GrammarRuleStatements.runChild(GrammarRuleStatements.java:42)
    4 frames
  6. JUnit
    ParentRunner.run
    1. org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    2. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    3. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    4. org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    5. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    6. org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    6 frames