junit.framework.ComparisonFailure: Unexpected problems. ----------- Expected ------------ ----------\n ----------\n ------------ but was ------------ ----------\n 1. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 2)\n import java.util.*;\n ^^^^^^^^^\n The import java.util cannot be resolved\n ----------\n 2. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 5)\n Map m = new NestedGenerics().map; \n ^^^\n Map cannot be resolved to a type\n ----------\n 3. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 5)\n Map m = new NestedGenerics().map; \n ^^^\n map cannot be resolved or is not a field\n ----------\n 4. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 6)\n Stack s2 = new NestedGenerics().stack2; \n ^^^^^\n Stack cannot be resolved to a type\n ----------\n 5. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 6)\n Stack s2 = new NestedGenerics().stack2; \n ^^^^^^\n stack2 cannot be resolved or is not a field\n ----------\n 6. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 7)\n Map m3 = new NestedGenerics().map3; \n ^^^\n Map cannot be resolved to a type\n ----------\n 7. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 7)\n Map m3 = new NestedGenerics().map3; \n ^^^^\n map3 cannot be resolved or is not a field\n ----------\n --------- Difference is ---------- expected:<......> but was:<...1. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 2)\n import java.util.*;\n ^^^^^^^^^\n The import java.util cannot be resolved\n ----------\n 2. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 5)\n Map m = new NestedGenerics().map; \n ^^^\n Map cannot be resolved to a type\n ----------\n 3. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 5)\n Map m = new NestedGenerics().map; \n ^^^\n map cannot be resolved or is not a field\n ----------\n 4. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 6)\n Stack s2 = new NestedGenerics().stack2; \n ^^^^^\n Stack cannot be resolved to a type\n ----------\n 5. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 6)\n Stack s2 = new NestedGenerics().stack2; \n ^^^^^^\n stack2 cannot be resolved or is not a field\n ----------\n 6. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 7)\n Map m3 = new NestedGenerics().map3; \n ^^^\n Map cannot be resolved to a type\n ----------\n 7. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 7)\n Map m3 = new NestedGenerics().map3; \n ^^^^\n map3 cannot be resolved or is not a field\n ...>

harmony-alerts | nomail@intel.com | 10 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [build-test alert] BUILD FAILED Linux x86: eut

    apache.org | 1 year ago
    junit.framework.ComparisonFailure: Unexpected problems. ----------- Expected ------------ ----------\n ----------\n ------------ but was ------------ ----------\n 1. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 2)\n import java.util.*;\n ^^^^^^^^^\n The import java.util cannot be resolved\n ----------\n 2. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 5)\n Map m = new NestedGenerics().map; \n ^^^\n Map cannot be resolved to a type\n ----------\n 3. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 5)\n Map m = new NestedGenerics().map; \n ^^^\n map cannot be resolved or is not a field\n ----------\n 4. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 6)\n Stack s2 = new NestedGenerics().stack2; \n ^^^^^\n Stack cannot be resolved to a type\n ----------\n 5. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 6)\n Stack s2 = new NestedGenerics().stack2; \n ^^^^^^\n stack2 cannot be resolved or is not a field\n ----------\n 6. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 7)\n Map m3 = new NestedGenerics().map3; \n ^^^\n Map cannot be resolved to a type\n ----------\n 7. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 7)\n Map m3 = new NestedGenerics().map3; \n ^^^^\n map3 cannot be resolved or is not a field\n ----------\n --------- Difference is ---------- expected:<......> but was:<...1. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 2)\n import java.util.*;\n ^^^^^^^^^\n The import java.util cannot be resolved\n ----------\n 2. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 5)\n Map m = new NestedGenerics().map; \n ^^^\n Map cannot be resolved to a type\n ----------\n 3. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 5)\n Map m = new NestedGenerics().map; \n ^^^\n map cannot be resolved or is not a field\n ----------\n 4. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 6)\n Stack s2 = new NestedGenerics().stack2; \n ^^^^^\n Stack cannot be resolved to a type\n ----------\n 5. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 6)\n Stack s2 = new NestedGenerics().stack2; \n ^^^^^^\n stack2 cannot be resolved or is not a field\n ----------\n 6. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 7)\n Map m3 = new NestedGenerics().map3; \n ^^^\n Map cannot be resolved to a type\n ----------\n 7. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 7)\n Map m3 = new NestedGenerics().map3; \n ^^^^\n map3 cannot be resolved or is not a field\n ...>
  2. 0

    [build-test alert] BUILD FAILED Linux x86: eut

    harmony-alerts | 10 years ago | nomail@intel.com
    junit.framework.ComparisonFailure: Unexpected problems. ----------- Expected ------------ ----------\n ----------\n ------------ but was ------------ ----------\n 1. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 2)\n import java.util.*;\n ^^^^^^^^^\n The import java.util cannot be resolved\n ----------\n 2. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 5)\n Map m = new NestedGenerics().map; \n ^^^\n Map cannot be resolved to a type\n ----------\n 3. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 5)\n Map m = new NestedGenerics().map; \n ^^^\n map cannot be resolved or is not a field\n ----------\n 4. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 6)\n Stack s2 = new NestedGenerics().stack2; \n ^^^^^\n Stack cannot be resolved to a type\n ----------\n 5. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 6)\n Stack s2 = new NestedGenerics().stack2; \n ^^^^^^\n stack2 cannot be resolved or is not a field\n ----------\n 6. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 7)\n Map m3 = new NestedGenerics().map3; \n ^^^\n Map cannot be resolved to a type\n ----------\n 7. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 7)\n Map m3 = new NestedGenerics().map3; \n ^^^^\n map3 cannot be resolved or is not a field\n ----------\n --------- Difference is ---------- expected:<......> but was:<...1. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 2)\n import java.util.*;\n ^^^^^^^^^\n The import java.util cannot be resolved\n ----------\n 2. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 5)\n Map m = new NestedGenerics().map; \n ^^^\n Map cannot be resolved to a type\n ----------\n 3. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 5)\n Map m = new NestedGenerics().map; \n ^^^\n map cannot be resolved or is not a field\n ----------\n 4. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 6)\n Stack s2 = new NestedGenerics().stack2; \n ^^^^^\n Stack cannot be resolved to a type\n ----------\n 5. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 6)\n Stack s2 = new NestedGenerics().stack2; \n ^^^^^^\n stack2 cannot be resolved or is not a field\n ----------\n 6. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 7)\n Map m3 = new NestedGenerics().map3; \n ^^^\n Map cannot be resolved to a type\n ----------\n 7. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 7)\n Map m3 = new NestedGenerics().map3; \n ^^^^\n map3 cannot be resolved or is not a field\n ...>

    Root Cause Analysis

    1. junit.framework.ComparisonFailure

      Unexpected problems. ----------- Expected ------------ ----------\n ----------\n ------------ but was ------------ ----------\n 1. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 2)\n import java.util.*;\n ^^^^^^^^^\n The import java.util cannot be resolved\n ----------\n 2. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 5)\n Map m = new NestedGenerics().map; \n ^^^\n Map cannot be resolved to a type\n ----------\n 3. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 5)\n Map m = new NestedGenerics().map; \n ^^^\n map cannot be resolved or is not a field\n ----------\n 4. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 6)\n Stack s2 = new NestedGenerics().stack2; \n ^^^^^\n Stack cannot be resolved to a type\n ----------\n 5. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 6)\n Stack s2 = new NestedGenerics().stack2; \n ^^^^^^\n stack2 cannot be resolved or is not a field\n ----------\n 6. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 7)\n Map m3 = new NestedGenerics().map3; \n ^^^\n Map cannot be resolved to a type\n ----------\n 7. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 7)\n Map m3 = new NestedGenerics().map3; \n ^^^^\n map3 cannot be resolved or is not a field\n ----------\n --------- Difference is ---------- expected:<......> but was:<...1. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 2)\n import java.util.*;\n ^^^^^^^^^\n The import java.util cannot be resolved\n ----------\n 2. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 5)\n Map m = new NestedGenerics().map; \n ^^^\n Map cannot be resolved to a type\n ----------\n 3. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 5)\n Map m = new NestedGenerics().map; \n ^^^\n map cannot be resolved or is not a field\n ----------\n 4. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 6)\n Stack s2 = new NestedGenerics().stack2; \n ^^^^^\n Stack cannot be resolved to a type\n ----------\n 5. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 6)\n Stack s2 = new NestedGenerics().stack2; \n ^^^^^^\n stack2 cannot be resolved or is not a field\n ----------\n 6. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 7)\n Map m3 = new NestedGenerics().map3; \n ^^^\n Map cannot be resolved to a type\n ----------\n 7. ERROR in /Reconciler15/src/test/cheetah/NestedGenericsTest.java (at line 7)\n Map m3 = new NestedGenerics().map3; \n ^^^^\n map3 cannot be resolved or is not a field\n ...>

      at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertStringEquals()
    2. org.eclipse.jdt
      ReconcilerTests.testMethodWithError11
      1. org.eclipse.jdt.core.tests.junit.extension.TestCase.assertStringEquals(TestCase.java:140)
      2. org.eclipse.jdt.core.tests.junit.extension.TestCase.assertEquals(TestCase.java:114)
      3. org.eclipse.jdt.core.tests.model.AbstractJavaModelTests.assertProblems(AbstractJavaModelTests.java:430)
      4. org.eclipse.jdt.core.tests.model.ReconcilerTests.assertProblems(ReconcilerTests.java:101)
      5. org.eclipse.jdt.core.tests.model.ReconcilerTests.testMethodWithError11(ReconcilerTests.java:1901)
      5 frames
    3. Java RT
      VMReflection.invokeMethod
      1. java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
      1 frame
    4. org.eclipse.jdt
      SuiteOfTestCases$Suite.run
      1. org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.runTest(SuiteOfTestCases.java:99)
      2. org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.superRun(SuiteOfTestCases.java:83)
      3. org.eclipse.jdt.core.tests.model.SuiteOfTestCases$1.protect(SuiteOfTestCases.java:71)
      4. org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.run(SuiteOfTestCases.java:80)
      4 frames
    5. org.eclipse.test
      CoreTestApplication.run
      1. org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:330)
      2. org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:204)
      3. org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
      4. org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
      4 frames
    6. Eclipse Core
      PlatformActivator$1.run
      1. org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
      1 frame
    7. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
      4 frames
    8. Java RT
      VMReflection.invokeMethod
      1. java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
      1 frame
    9. Equinox
      Main.main
      1. org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
      2. org.eclipse.core.launcher.Main.basicRun(Main.java:280)
      3. org.eclipse.core.launcher.Main.run(Main.java:977)
      4. org.eclipse.core.launcher.Main.main(Main.java:952)
      4 frames
    10. Java RT
      VMReflection.invokeMethod
      1. java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
      1 frame
    11. org.apache.harmony
      JarRunner.main
      1. org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)
      1 frame