Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 542898

Summary: [Tests] LineTracker and ConsoleTracker test failing
Product: [Eclipse Project] JDT Reporter: Sarika Sinha <sarika.sinha>
Component: DebugAssignee: Sarika Sinha <sarika.sinha>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: loskutov
Version: 4.10   
Target Milestone: 4.11 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on: 536943    
Bug Blocks:    

Description Sarika Sinha CLA 2018-12-18 23:18:52 EST
https://download.eclipse.org/eclipse/downloads/drops4/I20181218-0120/testresults/html/org.eclipse.jdt.debug.tests_ep411I-unit-mac64_macosx.cocoa.x86_64_8.0.html

testStackTraces	Failure	Wrong number of exception hyperlinks expected:<100> but was:<1> 

junit.framework.AssertionFailedError: Wrong number of exception hyperlinks expected:<100> but was:<1>
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.failNotEquals(Assert.java:329)
at junit.framework.Assert.assertEquals(Assert.java:78)
at junit.framework.Assert.assertEquals(Assert.java:234)
at junit.framework.TestCase.assertEquals(TestCase.java:401)
at org.eclipse.jdt.debug.tests.core.LineTrackerTests.testStackTraces(LineTrackerTests.java:260)
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:498)
at junit.framework.TestCase.runTest(TestCase.java:176)
at junit.framework.TestCase.runBare(TestCase.java:141)
at org.eclipse.jdt.debug.tests.AbstractDebugTest.runBare(AbstractDebugTest.java:2565)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:252)
at junit.framework.TestSuite.run(TestSuite.java:247)
at junit.framework.TestSuite.runTest(TestSuite.java:252)
at org.eclipse.jdt.debug.tests.DebugSuite$1.run(DebugSuite.java:60)
at java.lang.Thread.run(Thread.java:748)


testHyperLink	Error	N/A 

java.lang.NullPointerException
at org.eclipse.jdt.debug.testplugin.ConsoleLineTracker.getDocument(ConsoleLineTracker.java:69)
at org.eclipse.jdt.debug.tests.core.LineTrackerTests.testHyperLink(LineTrackerTests.java:178)
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:498)
at junit.framework.TestCase.runTest(TestCase.java:176)
at junit.framework.TestCase.runBare(TestCase.java:141)
at org.eclipse.jdt.debug.tests.AbstractDebugTest.runBare(AbstractDebugTest.java:2565)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:252)
at junit.framework.TestSuite.run(TestSuite.java:247)
at junit.framework.TestSuite.runTest(TestSuite.java:252)
at org.eclipse.jdt.debug.tests.DebugSuite$1.run(DebugSuite.java:60)
at java.lang.Thread.run(Thread.java:748)
Comment 1 Sarika Sinha CLA 2018-12-18 23:19:46 EST
Looks like a regression of some commit for 4.11
Comment 2 Andrey Loskutov CLA 2019-01-07 10:02:42 EST
Fixed by reverting the offending change in bug 536943.