org.junit.ComparisonFailure: expected:<...ibuteOverridingTest$[D]> but was:<...ibuteOverridingTest$[C]>

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

Solutions on the web

via Hibernate JIRA by Osamu Nagano, 1 year ago
expected:<...ibuteOverridingTest$[D]> but was:<...ibuteOverridingTest$[C]>
via Hibernate JIRA by Osamu Nagano, 1 year ago
expected:<...ibuteOverridingTest$[D]> but was:<...ibuteOverridingTest$[C]>
via GitHub by phrack
, 1 year ago
expected:<Your time was 0.0[0] seconds. You missed...> but was:<Your time was 0.0[1] seconds. You missed...>
via GitHub by hohwille
, 2 years ago
expected:<Null[ZeigerAusnahme verursacht durch] "bad boy"!> but was:<Null[PointerException caused by] "bad boy"!>
via GitHub by manuelfiorelli
, 1 year ago
expected:<[Content is not allowed in prolog]. [line 1, column 1]> but was:<[Il contenuto non è consentito nel prologo]. [line 1, column 1]>
via GitHub by angel9484
, 5 months ago
expected:<...e(cod=1, name=myName[, cur=null, des=des, otherName=other])> but was:<...e(cod=1, name=myName[2, cur=cur1, des=des1, otherName=other1])>
org.junit.ComparisonFailure: expected:<...ibuteOverridingTest$[D]> but was:<...ibuteOverridingTest$[C]>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at org.hibernate.test.annotations.override.InheritedAttributeOverridingTest.testInheritedAttributeOverridingTargetEntity(InheritedAttributeOverridingTest.java:86)
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.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)

Users with the same issue

Once, 2 months ago
82 times, 1 week ago
Samebug visitor profile picture
Unknown user
Once, 2 weeks ago
Samebug visitor profile picture
Unknown user
Once, 2 weeks ago
Once, 3 weeks ago
287 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.