Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    Check your pattern declaration or check your assert declaration.

  2. ,

    My guess is there is some kind of static state in the code being tested or in the test itself, so the tests aren't isolated. Adding the test changes the test order. In any case, your best course of action is to use the debugger to see why the tests fail.

Solutions on the web

via Hibernate JIRA by Adrian Nistor, 1 year ago
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>
via Hibernate JIRA by Adrian Nistor, 2 years ago
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>
via GitHub by keith-turner
, 8 months ago
via Google Groups by Jenkins, 1 year ago
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)