java.lang.AssertionError

expected SQLGrammarException

Samebug tips1

Check your pattern declaration or check your assert declaration.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web5111

  • via Hibernate JIRA by Carsten Hammer, 1 year ago
    expected SQLGrammarException
  • via Hibernate JIRA by Carsten Hammer, 1 year ago
    expected SQLGrammarException
  • via Apache's JIRA Issue Tracker by Ryan Templeton, 4 months ago
    Expected AtlasServiceException
  • Stack trace

    • java.lang.AssertionError: expected SQLGrammarException at org.junit.Assert.fail(Assert.java:88) at org.hibernate.test.cid.CompositeIdTest.testDistinctCountOfEntityWithCompositeId(CompositeIdTest.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.hibernate.testing.junit4.ExtendedFrameworkMethod.invokeExplosively(ExtendedFrameworkMethod.java:45) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)

    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, 1 week ago
    Once, 2 weeks ago
    8 times, 2 months ago
    2 times, 2 months ago
    2 times, 3 months ago
    98 more bugmates