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 apache.org by Unknown author, 2 years ago
line 3)\n void foo(){ super.foo(); }\n ^^^^^^^^^^^\n The method foo() from the type X is deprecated\n ----------\n 4. ERROR in /Reconciler15/src/Y.java (at line 4)\n Zork z;\n ^^^^\n Zork cannot be resolved to a type\n ----------\n
via harmony-alerts by nomail@intel.com, 1 year ago
line 3)\n void foo(){ super.foo(); }\n ^^^^^^^^^^^\n The method foo() from the type X is deprecated\n ----------\n 4. ERROR in /Reconciler15/src/Y.java (at line 4)\n Zork z;\n ^^^^\n Zork cannot be resolved to a type\n ----------\n
via Eclipse Bugzilla by error-reports-inbox, 2 years 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 problems.
----------- Expected ------------
----------\n
1. WARNING in /Reconciler15/src/Y.java (at line 1)\n
	public class Y extends X {\n
	                       ^\n
The type X is deprecated\n
----------\n
2. ERROR in /Reconciler15/src/Y.java (at line 4)\n
	Zork z;\n
	^^^^\n
Zork cannot be resolved to a type\n
----------\n
------------ but was ------------
----------\n
1. WARNING in /Reconciler15/src/Y.java (at line 1)\n
	public class Y extends X {\n
	                       ^\n
The type X is deprecated\n
----------\n
2. ERROR in /Reconciler15/src/Y.java (at line 2)\n
	@SuppressWarnings(&quot;all&quot;)\n
	 ^^^^^^^^^^^^^^^^\n
SuppressWarnings cannot be resolved to a type\n
----------\n
3. WARNING in /Reconciler15/src/Y.java (at line 3)\n
	void foo(){ super.foo(); }\n
	            ^^^^^^^^^^^\n
The method foo() from the type X is deprecated\n
----------\n
4. ERROR in /Reconciler15/src/Y.java (at line 4)\n
	Zork z;\n
	^^^^\n
Zork cannot be resolved to a type\n
----------\n
--------- Difference is ----------
 expected:&lt;......&gt; but was:&lt;...2)\n
	@SuppressWarnings(&quot;all&quot;)\n
	 ^^^^^^^^^^^^^^^^\n
SuppressWarnings cannot be resolved to a type\n
----------\n
3. WARNING in /Reconciler15/src/Y.java (at line 3)\n
	void foo(){ super.foo(); }\n
	            ^^^^^^^^^^^\n
The method foo() from the type X is deprecated\n
----------\n
4. ERROR in /Reconciler15/src/Y.java (at line ...&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.assertProblems(AbstractJavaModelTests.java:430)	at org.eclipse.jdt.core.tests.model.ReconcilerTests.assertProblems(ReconcilerTests.java:101)	at org.eclipse.jdt.core.tests.model.ReconcilerTests.testSuppressWarnings4(ReconcilerTests.java:2572)	at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)	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.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)	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.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)	at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)	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.eclipse.core.launcher.Main.main(Main.java:952)	at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)	at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)