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

Bug 439970

Summary: [Tests] Incorrect number of remove notifications expected in BreakpointListenerTests
Product: [Eclipse Project] JDT Reporter: Sarika Sinha <sarika.sinha>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 4.5   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug

Description Sarika Sinha CLA 2014-07-20 23:40:43 EDT
http://download.eclipse.org/eclipse/downloads/drops4/N20140716-2000/testresults/html/org.eclipse.jdt.debug.tests_win32.win32.x86_7.0.html

testSingleListenerMoveCompilationUnit	Failure	Incorrect number of remove notifications expected:<19> but was:<0> 

junit.framework.AssertionFailedError: Incorrect number of remove notifications expected:<19> but was:<0>
at org.eclipse.jdt.debug.tests.breakpoints.BreakpointListenerTests.testSingleListenerMoveCompilationUnit(BreakpointListenerTests.java:304)
at org.eclipse.jdt.debug.tests.AbstractDebugTest.runBare(AbstractDebugTest.java:2458)
at org.eclipse.jdt.debug.tests.DebugSuite$1.run(DebugSuite.java:55)
at java.lang.Thread.run(Thread.java:744)


Console Log is filled with TestAgainException -
\org.eclipse.jdt.debug.tests.TestAgainException: The file is not synchronized with the local file system.
Comment 1 Michael Rennie CLA 2014-07-21 09:41:59 EDT
*** Bug 439971 has been marked as a duplicate of this bug. ***
Comment 2 Michael Rennie CLA 2014-07-21 09:42:42 EDT
*** Bug 439972 has been marked as a duplicate of this bug. ***
Comment 3 Sarika Sinha CLA 2015-01-12 01:20:42 EST
Yet again!!
http://download.eclipse.org/eclipse/downloads/drops4/N20150109-2000/testresults/html/org.eclipse.jdt.debug.tests_win32.win32.x86_7.0.html

testSingleListenerMoveCompilationUnit	Failure	Incorrect number of remove notifications expected:<19> but was:<0>

junit.framework.AssertionFailedError: Incorrect number of remove notifications expected:<19> but was:<0>
at org.eclipse.jdt.debug.tests.breakpoints.BreakpointListenerTests.testSingleListenerMoveCompilationUnit(BreakpointListenerTests.java:304)
at org.eclipse.jdt.debug.tests.AbstractDebugTest.runBare(AbstractDebugTest.java:2459)
at org.eclipse.jdt.debug.tests.DebugSuite$1.run(DebugSuite.java:55)
at java.lang.Thread.run(Thread.java:744)


Console Log details:
org.eclipse.core.internal.resources.ResourceException: Marker id 745 not found.
	at org.eclipse.core.internal.resources.Marker.checkInfo(Marker.java:57)
	at org.eclipse.core.internal.resources.Marker.getAttribute(Marker.java:99)
	at org.eclipse.debug.internal.ui.views.breakpoints.BreakpointSetOrganizer.getWorkingsetAttributeFromMarker(BreakpointSetOrganizer.java:394)
	at org.eclipse.debug.internal.ui.views.breakpoints.BreakpointSetOrganizer.breakpointsAdded(BreakpointSetOrganizer.java:180)
	at org.eclipse.debug.internal.core.BreakpointManager$BreakpointsNotifier.run(BreakpointManager.java:1110)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.debug.internal.core.BreakpointManager$BreakpointsNotifier.notify(BreakpointManager.java:1137)
	at org.eclipse.debug.internal.core.BreakpointManager.fireUpdate(BreakpointManager.java:980)
	at org.eclipse.debug.internal.core.BreakpointManager.addBreakpoints(BreakpointManager.java:619)
	at org.eclipse.debug.internal.core.BreakpointManager.addBreakpoints(BreakpointManager.java:590)
	at org.eclipse.debug.internal.core.BreakpointManager.addBreakpoint(BreakpointManager.java:582)
	at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.register(JavaBreakpoint.java:205)
	at org.eclipse.jdt.internal.debug.core.breakpoints.JavaMethodBreakpoint$1.run(JavaMethodBreakpoint.java:163)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
	at org.eclipse.debug.core.model.Breakpoint.run(Breakpoint.java:357)
	at org.eclipse.jdt.internal.debug.core.breakpoints.JavaMethodBreakpoint.<init>(JavaMethodBreakpoint.java:167)
	at org.eclipse.jdt.debug.core.JDIDebugModel.createMethodBreakpoint(JDIDebugModel.java:711)
	at org.eclipse.jdt.internal.debug.ui.actions.ToggleBreakpointAdapter$3.run(ToggleBreakpointAdapter.java:289)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!SUBENTRY 1 org.eclipse.core.resources 4 376 2015-01-09 22:37:51.065
!MESSAGE Marker id 745 not found.
Comment 6 Sarika Sinha CLA 2016-09-09 05:17:02 EDT
http://download.eclipse.org/eclipse/downloads/drops4/N20160908-2000/testresults/html/org.eclipse.jdt.debug.tests_ep47N-unit-win32_win32.win32.x86_8.0.html

testMultiListenerMoveCompilationUnit	Failure	Should have received one remove notification expected:<1> but was:<0>

junit.framework.AssertionFailedError: Should have received one remove notification expected:<1> but was:<0>
at org.eclipse.jdt.debug.tests.breakpoints.BreakpointListenerTests.testMultiListenerMoveCompilationUnit(BreakpointListenerTests.java:259)
at org.eclipse.jdt.debug.tests.AbstractDebugTest.runBare(AbstractDebugTest.java:2470)
at org.eclipse.jdt.debug.tests.DebugSuite$1.run(DebugSuite.java:57)
at java.lang.Thread.run(Thread.java:745)
Comment 7 Eclipse Genie CLA 2020-04-19 16:29:31 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.