junit.framework.ComparisonFailure: Unexpected delta. ----------- Expected ------------ P[*]: {CHILDREN}\n <project root>[*]: {CHILDREN}\n a.b.c[*]: {CHILDREN}\n X.java[*]: {CHILDREN | FINE GRAINED | PRIMARY RESOURCE}\n <import container>[*]: {CHILDREN | FINE GRAINED}\n import java.util.Vector[-]: {}\n X[*]: {CHILDREN | FINE GRAINED}\n main(String[])[-]: {}\n Bar[-]: {}\n a.b[*]: {CHILDREN}\n Y.java[*]: {CHILDREN | FINE GRAINED | PRIMARY RESOURCE}\n Y[*]: {CHILDREN | FINE GRAINED}\n foo[-]: {}\n main(String[])[-]: {} ------------ but was ------------ P[*]: {CHILDREN}\n <project root>[*]: {CHILDREN}\n a.b[*]: {CHILDREN}\n Y.java[*]: {CHILDREN | FINE GRAINED | PRIMARY RESOURCE}\n Y[*]: {CHILDREN | FINE GRAINED}\n foo[-]: {}\n main(String[])[-]: {}\n a.b.c[*]: {CHILDREN}\n X.java[*]: {CHILDREN | FINE GRAINED | PRIMARY RESOURCE}\n <import container>[*]: {CHILDREN | FINE GRAINED}\n import java.util.Vector[-]: {}\n X[*]: {CHILDREN | FINE GRAINED}\n main(String[])[-]: {}\n Bar[-]: {} --------- Difference is ---------- expected:<....c[*]: {CHILDREN}\n X.java[*]: {CHILDREN | FINE GRAINED | PRIMARY RESOURCE}\n <import container>[*]: {CHILDREN | FINE GRAINED}\n import java.util.Vector[-]: {}\n X[*]: {CHILDREN | FINE GRAINED}\n main(String[])[-]: {}\n Bar[-]: {}\n a.b[*]: {CHILDREN}\n Y.java[*]: {CHILDREN | FINE GRAINED | PRIMARY RESOURCE}\n Y[*]: {CHILDREN | FINE GRAINED}\n foo[-]: {}\n main(String[])...> but was:<...[*]: {CHILDREN}\n Y.java[*]: {CHILDREN | FINE GRAINED | PRIMARY RESOURCE}\n Y[*]: {CHILDREN | FINE GRAINED}\n foo[-]: {}\n main(String[])[-]: {}\n a.b.c[*]: {CHILDREN}\n X.java[*]: {CHILDREN | FINE GRAINED | PRIMARY RESOURCE}\n <import container>[*]: {CHILDREN | FINE GRAINED}\n import java.util.Vector[-]: {}\n X[*]: {CHILDREN | FINE GRAINED}\n main(String[])[-]: {}\n Bar...>

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 harmony-alerts by nomail@intel.com, 1 year ago
}\n foo[-]: {}\n main(String[])[-]: {} ------------ but was ------------ P[*]: {CHILDREN}\n <project root>[*]: {CHILDREN}\n a.b[*]: {CHILDREN}\n Y.java[*]: {CHILDREN | FINE GRAINED | PRIMARY RESOURCE}\n Y[*]: {CHILDREN | FINE
via apache.org by Unknown author, 1 year ago
}\n foo[-]: {}\n main(String[])[-]: {} ------------ but was ------------ P[*]: {CHILDREN}\n <project root>[*]: {CHILDREN}\n a.b[*]: {CHILDREN}\n Y.java[*]: {CHILDREN | FINE GRAINED | PRIMARY RESOURCE}\n Y[*]: {CHILDREN | FINE
via Eclipse Bugzilla by error-reports-inbox, 1 year ago
Unexpected search results. ----------- Expected ------------ src/X.java void X.main(String[]) [accept(0)] EXACT_MATCH\n lib468127.jar void <anonymous>.accept(java.lang.Object) EXACT_MATCH ------------ but was ------------ src/X.java void X.main
junit.framework.ComparisonFailure: Unexpected delta. ----------- Expected ------------ P[*]: {CHILDREN}\n &lt;project root&gt;[*]: {CHILDREN}\n a.b.c[*]: {CHILDREN}\n X.java[*]: {CHILDREN | FINE GRAINED | PRIMARY RESOURCE}\n &lt;import container&gt;[*]: {CHILDREN | FINE GRAINED}\n import java.util.Vector[-]: {}\n X[*]: {CHILDREN | FINE GRAINED}\n main(String[])[-]: {}\n Bar[-]: {}\n a.b[*]: {CHILDREN}\n Y.java[*]: {CHILDREN | FINE GRAINED | PRIMARY RESOURCE}\n Y[*]: {CHILDREN | FINE GRAINED}\n foo[-]: {}\n main(String[])[-]: {} ------------ but was ------------ P[*]: {CHILDREN}\n &lt;project root&gt;[*]: {CHILDREN}\n a.b[*]: {CHILDREN}\n Y.java[*]: {CHILDREN | FINE GRAINED | PRIMARY RESOURCE}\n Y[*]: {CHILDREN | FINE GRAINED}\n foo[-]: {}\n main(String[])[-]: {}\n a.b.c[*]: {CHILDREN}\n X.java[*]: {CHILDREN | FINE GRAINED | PRIMARY RESOURCE}\n &lt;import container&gt;[*]: {CHILDREN | FINE GRAINED}\n import java.util.Vector[-]: {}\n X[*]: {CHILDREN | FINE GRAINED}\n main(String[])[-]: {}\n Bar[-]: {} --------- Difference is ---------- expected:&lt;....c[*]: {CHILDREN}\n X.java[*]: {CHILDREN | FINE GRAINED | PRIMARY RESOURCE}\n &lt;import container&gt;[*]: {CHILDREN | FINE GRAINED}\n import java.util.Vector[-]: {}\n X[*]: {CHILDREN | FINE GRAINED}\n main(String[])[-]: {}\n Bar[-]: {}\n a.b[*]: {CHILDREN}\n Y.java[*]: {CHILDREN | FINE GRAINED | PRIMARY RESOURCE}\n Y[*]: {CHILDREN | FINE GRAINED}\n foo[-]: {}\n main(String[])...&gt; but was:&lt;...[*]: {CHILDREN}\n Y.java[*]: {CHILDREN | FINE GRAINED | PRIMARY RESOURCE}\n Y[*]: {CHILDREN | FINE GRAINED}\n foo[-]: {}\n main(String[])[-]: {}\n a.b.c[*]: {CHILDREN}\n X.java[*]: {CHILDREN | FINE GRAINED | PRIMARY RESOURCE}\n &lt;import container&gt;[*]: {CHILDREN | FINE GRAINED}\n import java.util.Vector[-]: {}\n X[*]: {CHILDREN | FINE GRAINED}\n main(String[])[-]: {}\n Bar...&gt;
at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertStringEquals(TestCase.java:140)
at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertEquals(TestCase.java:114)
at org.eclipse.jdt.core.tests.model.AbstractJavaModelTests.assertDeltas(AbstractJavaModelTests.java:513)
at org.eclipse.jdt.core.tests.model.DeleteTests.testDeleteMultipleMembersFromVariousCUs(DeleteTests.java:593)
at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.runTest(SuiteOfTestCases.java:99)
at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.superRun(SuiteOfTestCases.java:83)
at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$1.protect(SuiteOfTestCases.java:71)
at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.run(SuiteOfTestCases.java:80)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:330)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:204)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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