Failed

org.eclipse.jdt.ui.tests.leaks.JavaLeakTest.testTextEditorCloseOneOfTwo (from org.eclipse.jdt.ui.tests.LeakTestSuite)

Failing for the past 1 build (Since Unstable#4 )
Took 20 sec.

Error Message

Expected instance count: 1, actual: 2 Element 0 org.eclipse.ui.editors.text.TextEditor   org.eclipse.ui.internal.e4.compatibility.CompatibilityPart#wrapped -> org.eclipse.ui.editors.text.TextEditor@6905d030   org.eclipse.ui.internal.e4.compatibility.CompatibilityPart$$Lambda$485/571532390#arg$1 -> CompatibilityPart [partId=org.eclipse.e4.ui.compatibility.editor, properties=[], tags=[Editor, org.   org.eclipse.e4.ui.services.internal.events.UIEventHandler#eventHandler -> org.eclipse.ui.internal.e4.compatibility.CompatibilityPart$$Lambda$485/571532390@5b5a89d1   org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl#service -> org.eclipse.e4.ui.services.internal.events.UIEventHandler@282c0891   java.lang.Object[297] -> {org.osgi.service.event.EventHandler}={service.id=308, service.bundleid=77, service.scope=singleton   java.util.ArrayList#elementData -> [Ljava.lang.Object;@2c750b69   org.eclipse.osgi.internal.serviceregistry.ServiceRegistry#allPublishedServices -> [{org.eclipse.osgi.framework.log.FrameworkLog}={service.id=4, service.bundleid=0, service.scope=bun   org.eclipse.osgi.internal.framework.EquinoxContainer#serviceRegistry -> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry@574413bd   org.eclipse.osgi.internal.loader.BundleLoader#container -> Equinox Container: e7e681e8-85d2-47b4-b609-377621c0ec4c   org.eclipse.osgi.internal.loader.EquinoxClassLoader#delegate -> org.eclipse.jdt.ui.tests_3.13.300.v20181109-1247   org.eclipse.osgi.internal.loader.EquinoxClassLoader -> org.eclipse.osgi.internal.loader.EquinoxClassLoader@6cc64028[org.eclipse.jdt.ui.tests:3.13.300.v201  Element 1 org.eclipse.ui.editors.text.TextEditor   org.eclipse.ui.texteditor.BasicTextEditorActionContributor#fActiveEditorPart -> org.eclipse.ui.editors.text.TextEditor@5617cb92   org.eclipse.ui.internal.EditorActionBars#editorContributor -> org.eclipse.ui.editors.text.TextEditorActionContributor@3a18a162   org.eclipse.ui.internal.PartSite#actionBars -> org.eclipse.ui.internal.EditorActionBars@4fd00e10   org.eclipse.ui.part.WorkbenchPart#partSite -> PartSite(id=org.eclipse.ui.DefaultTextEditor,pluginId=org.eclipse.ui.editors,registeredName=Text Ed   org.eclipse.ui.internal.e4.compatibility.CompatibilityPart#wrapped -> org.eclipse.ui.editors.text.TextEditor@6905d030   org.eclipse.ui.internal.e4.compatibility.CompatibilityPart$$Lambda$485/571532390#arg$1 -> CompatibilityPart [partId=org.eclipse.e4.ui.compatibility.editor, properties=[], tags=[Editor, org.   org.eclipse.e4.ui.services.internal.events.UIEventHandler#eventHandler -> org.eclipse.ui.internal.e4.compatibility.CompatibilityPart$$Lambda$485/571532390@5b5a89d1   org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl#service -> org.eclipse.e4.ui.services.internal.events.UIEventHandler@282c0891   java.lang.Object[297] -> {org.osgi.service.event.EventHandler}={service.id=308, service.bundleid=77, service.scope=singleton   java.util.ArrayList#elementData -> [Ljava.lang.Object;@2c750b69   org.eclipse.osgi.internal.serviceregistry.ServiceRegistry#allPublishedServices -> [{org.eclipse.osgi.framework.log.FrameworkLog}={service.id=4, service.bundleid=0, service.scope=bun   org.eclipse.osgi.internal.framework.EquinoxContainer#serviceRegistry -> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry@574413bd   org.eclipse.osgi.internal.loader.BundleLoader#container -> Equinox Container: e7e681e8-85d2-47b4-b609-377621c0ec4c   org.eclipse.osgi.internal.loader.EquinoxClassLoader#delegate -> org.eclipse.jdt.ui.tests_3.13.300.v20181109-1247   org.eclipse.osgi.internal.loader.EquinoxClassLoader -> org.eclipse.osgi.internal.loader.EquinoxClassLoader@6cc64028[org.eclipse.jdt.ui.tests:3.13.300.v201  

Stacktrace

junit.framework.AssertionFailedError: Expected instance count: 1, actual: 2
Element 0
org.eclipse.ui.editors.text.TextEditor
  org.eclipse.ui.internal.e4.compatibility.CompatibilityPart#wrapped -> org.eclipse.ui.editors.text.TextEditor@6905d030
  org.eclipse.ui.internal.e4.compatibility.CompatibilityPart$$Lambda$485/571532390#arg$1 -> CompatibilityPart [partId=org.eclipse.e4.ui.compatibility.editor, properties=[], tags=[Editor, org.
  org.eclipse.e4.ui.services.internal.events.UIEventHandler#eventHandler -> org.eclipse.ui.internal.e4.compatibility.CompatibilityPart$$Lambda$485/571532390@5b5a89d1
  org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl#service -> org.eclipse.e4.ui.services.internal.events.UIEventHandler@282c0891
  java.lang.Object[297] -> {org.osgi.service.event.EventHandler}={service.id=308, service.bundleid=77, service.scope=singleton
  java.util.ArrayList#elementData -> [Ljava.lang.Object;@2c750b69
  org.eclipse.osgi.internal.serviceregistry.ServiceRegistry#allPublishedServices -> [{org.eclipse.osgi.framework.log.FrameworkLog}={service.id=4, service.bundleid=0, service.scope=bun
  org.eclipse.osgi.internal.framework.EquinoxContainer#serviceRegistry -> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry@574413bd
  org.eclipse.osgi.internal.loader.BundleLoader#container -> Equinox Container: e7e681e8-85d2-47b4-b609-377621c0ec4c
  org.eclipse.osgi.internal.loader.EquinoxClassLoader#delegate -> org.eclipse.jdt.ui.tests_3.13.300.v20181109-1247
  org.eclipse.osgi.internal.loader.EquinoxClassLoader -> org.eclipse.osgi.internal.loader.EquinoxClassLoader@6cc64028[org.eclipse.jdt.ui.tests:3.13.300.v201

Element 1
org.eclipse.ui.editors.text.TextEditor
  org.eclipse.ui.texteditor.BasicTextEditorActionContributor#fActiveEditorPart -> org.eclipse.ui.editors.text.TextEditor@5617cb92
  org.eclipse.ui.internal.EditorActionBars#editorContributor -> org.eclipse.ui.editors.text.TextEditorActionContributor@3a18a162
  org.eclipse.ui.internal.PartSite#actionBars -> org.eclipse.ui.internal.EditorActionBars@4fd00e10
  org.eclipse.ui.part.WorkbenchPart#partSite -> PartSite(id=org.eclipse.ui.DefaultTextEditor,pluginId=org.eclipse.ui.editors,registeredName=Text Ed
  org.eclipse.ui.internal.e4.compatibility.CompatibilityPart#wrapped -> org.eclipse.ui.editors.text.TextEditor@6905d030
  org.eclipse.ui.internal.e4.compatibility.CompatibilityPart$$Lambda$485/571532390#arg$1 -> CompatibilityPart [partId=org.eclipse.e4.ui.compatibility.editor, properties=[], tags=[Editor, org.
  org.eclipse.e4.ui.services.internal.events.UIEventHandler#eventHandler -> org.eclipse.ui.internal.e4.compatibility.CompatibilityPart$$Lambda$485/571532390@5b5a89d1
  org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl#service -> org.eclipse.e4.ui.services.internal.events.UIEventHandler@282c0891
  java.lang.Object[297] -> {org.osgi.service.event.EventHandler}={service.id=308, service.bundleid=77, service.scope=singleton
  java.util.ArrayList#elementData -> [Ljava.lang.Object;@2c750b69
  org.eclipse.osgi.internal.serviceregistry.ServiceRegistry#allPublishedServices -> [{org.eclipse.osgi.framework.log.FrameworkLog}={service.id=4, service.bundleid=0, service.scope=bun
  org.eclipse.osgi.internal.framework.EquinoxContainer#serviceRegistry -> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry@574413bd
  org.eclipse.osgi.internal.loader.BundleLoader#container -> Equinox Container: e7e681e8-85d2-47b4-b609-377621c0ec4c
  org.eclipse.osgi.internal.loader.EquinoxClassLoader#delegate -> org.eclipse.jdt.ui.tests_3.13.300.v20181109-1247
  org.eclipse.osgi.internal.loader.EquinoxClassLoader -> org.eclipse.osgi.internal.loader.EquinoxClassLoader@6cc64028[org.eclipse.jdt.ui.tests:3.13.300.v201


	at junit.framework.Assert.fail(Assert.java:57)
	at junit.framework.Assert.assertTrue(Assert.java:22)
	at junit.framework.TestCase.assertTrue(TestCase.java:192)
	at org.eclipse.jdt.ui.leaktest.LeakTestCase.assertInstanceCount(LeakTestCase.java:134)
	at org.eclipse.jdt.ui.tests.leaks.JavaLeakTest.testTextEditorCloseOneOfTwo(JavaLeakTest.java:110)
	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 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.extensions.TestDecorator.basicRun(TestDecorator.java:23)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
	at junit.framework.TestResult.runProtected(TestResult.java:142)
	at junit.extensions.TestSetup.run(TestSetup.java:27)
	at junit.framework.TestSuite.runTest(TestSuite.java:252)
	at junit.framework.TestSuite.run(TestSuite.java:247)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
	at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:39)
	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
	at java.util.Iterator.forEachRemaining(Iterator.java:116)
	at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
	at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:79)
	at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:70)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220)
	at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188)
	at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128)
	at org.eclipse.test.EclipseTestRunner.runTests(EclipseTestRunner.java:291)
	at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:267)
	at org.eclipse.test.UITestApplication.lambda$0(UITestApplication.java:103)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4073)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3740)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1173)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1062)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:636)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:563)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:151)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:155)
	at org.eclipse.test.UITestApplication.run(UITestApplication.java:48)
	at org.eclipse.test.UITestApplication.start(UITestApplication.java:118)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
	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 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:595)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1501)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1474)
	at org.eclipse.core.launcher.Main.main(Main.java:37)