Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AsyncContentAssistTest : testSyncFailureNPE fails in I-build both on Windows and Mac #75

Closed
ktatavarthi opened this issue May 20, 2022 · 5 comments

Comments

@ktatavarthi
Copy link
Member

org.eclipse.jface.text.tests.contentassist.AsyncContentAssistTest.testSyncFailureNPE failed in the build I20220519-0130 with the below error

Widget is disposed

org.eclipse.swt.SWTException: Widget is disposed
at org.eclipse.swt.SWT.error(SWT.java:4918)
at org.eclipse.swt.SWT.error(SWT.java:4833)
at org.eclipse.swt.SWT.error(SWT.java:4804)
at org.eclipse.swt.widgets.Widget.error(Widget.java:811)
at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:597)
at org.eclipse.swt.widgets.Control.forceFocus(Control.java:1443)
at org.eclipse.jface.text.tests.contentassist.AsyncContentAssistTest$2.run(AsyncContentAssistTest.java:159)
at org.eclipse.swt.widgets.Display.runTimers(Display.java:4578)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3957)
at org.eclipse.jface.text.tests.util.DisplayHelper.driveEventQueue(DisplayHelper.java:126)
at org.eclipse.jface.text.tests.util.DisplayHelper.waitForCondition(DisplayHelper.java:78)
at org.eclipse.jface.text.tests.util.DisplayHelper.sleep(DisplayHelper.java:105)
at org.eclipse.jface.text.tests.contentassist.AsyncContentAssistTest.testSyncFailureNPE(AsyncContentAssistTest.java:100)

Link to test results

@ktatavarthi ktatavarthi transferred this issue from eclipse-platform/eclipse.platform.ui Aug 18, 2022
@ktatavarthi
Copy link
Member Author

@ktatavarthi
Copy link
Member Author

@ktatavarthi
Copy link
Member Author

@jukzi
Copy link
Contributor

jukzi commented Sep 30, 2022

even though testSyncFailureNPE failed it was an event from testCompleteActivationChar (AsyncContentAssistTest.java:159) that failed

 org.eclipse.swt.SWTException: Widget is disposed
at org.eclipse.swt.SWT.error(SWT.java:4918)
at org.eclipse.swt.SWT.error(SWT.java:4833)
at org.eclipse.swt.SWT.error(SWT.java:4804)
at org.eclipse.swt.widgets.Widget.error(Widget.java:450)
at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:369)
at org.eclipse.swt.widgets.Control.forceFocus(Control.java:1069)
at org.eclipse.jface.text.tests.contentassist.AsyncContentAssistTest$2.run(AsyncContentAssistTest.java:159) <-----
at org.eclipse.swt.widgets.Display.runTimer(Display.java:4154)
at org.eclipse.swt.widgets.Display.messageProc(Display.java:3263)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(Native Method)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3631)
at org.eclipse.jface.text.tests.util.DisplayHelper.driveEventQueue(DisplayHelper.java:126)
at org.eclipse.jface.text.tests.util.DisplayHelper.waitForCondition(DisplayHelper.java:78)
at org.eclipse.jface.text.tests.util.DisplayHelper.sleep(DisplayHelper.java:105)
at org.eclipse.jface.text.tests.contentassist.AsyncContentAssistTest.testSyncFailureNPE(AsyncContentAssistTest.java:100) <-----
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
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:42)
at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80)
at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:147)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:127)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:90)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:55)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:102)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:54)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
at org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:53)
at org.eclipse.test.EclipseTestRunner.runTests(EclipseTestRunner.java:226)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:202)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:52)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.start(CoreTestApplication.java:43)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
at org.eclipse.equinox.launcher.Main.main(Main.java:1440)
at org.eclipse.core.launcher.Main.main(Main.java:44)

@jukzi
Copy link
Contributor

jukzi commented Sep 30, 2022

jukzi pushed a commit to jukzi/eclipse.platform.text that referenced this issue Sep 30, 2022
…m#75

testSyncFailureNPE failed because of late event handling
jukzi pushed a commit to jukzi/eclipse.platform.text that referenced this issue Oct 4, 2022
jukzi pushed a commit to jukzi/eclipse.platform.text that referenced this issue Oct 4, 2022
jukzi pushed a commit to jukzi/eclipse.platform.text that referenced this issue Oct 4, 2022
…m#75

testSyncFailureNPE failed because of late event handling
jukzi pushed a commit that referenced this issue Oct 4, 2022
testSyncFailureNPE failed because of late event handling
@jukzi jukzi closed this as completed Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants