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

org.eclipse.pde.core.tests.internal.WorkspaceModelManagerTest.testDelete_projectWithChangedBundleRoot fails #255

Closed
laeubi opened this issue Aug 2, 2022 · 0 comments · Fixed by #544

Comments

@laeubi
Copy link
Contributor

laeubi commented Aug 2, 2022

The test currently fails, it should be either fixed, disabled or give a reasonable cause why it fails, for example it is unclear why it "expected null":

java.lang.AssertionError: expected null, but was:<plugin.a>
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.failNotNull(Assert.java:756)
	at org.junit.Assert.assertNull(Assert.java:738)
	at org.junit.Assert.assertNull(Assert.java:748)
	at org.eclipse.pde.core.tests.internal.WorkspaceModelManagerTest.testDelete_projectWithChangedBundleRoot(WorkspaceModelManagerTest.java:170)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	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.RunAfters.evaluate(RunAfters.java:27)
	at org.eclipse.pde.ui.tests.runtime.TestUtils$1.evaluate(TestUtils.java:271)
	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.eclipse.pde.ui.tests.runtime.TestUtils$1.evaluate(TestUtils.java:271)
	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
	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.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:107)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
	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.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:188)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:128)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.apache.maven.surefire.api.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:167)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:161)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:84)
	at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:142)
	at org.eclipse.tycho.surefire.osgibooter.AbstractUITestApplication$1.run(AbstractUITestApplication.java:40)
	at org.eclipse.e4.ui.internal.workbench.swt.E4Testable.lambda$1(E4Testable.java:127)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:5000)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4480)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:643)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:550)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
	at org.eclipse.tycho.surefire.osgibooter.UITestApplication.runApplication(UITestApplication.java:33)
	at org.eclipse.tycho.surefire.osgibooter.AbstractUITestApplication.run(AbstractUITestApplication.java:127)
	at org.eclipse.tycho.surefire.osgibooter.UITestApplication.start(UITestApplication.java:42)
	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:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	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)
HannesWell added a commit to HannesWell/eclipse.pde that referenced this issue Mar 29, 2023
... due to race conditions and not thread-safe but concurrently accessed
models.

Fixes eclipse-pde#21
Fixes eclipse-pde#125
Fixes eclipse-pde#255
Fixes eclipse-pde#300
Fixes eclipse-pde#375
Fixes eclipse-pde#359
Fixes eclipse-pde#494
HannesWell added a commit to HannesWell/eclipse.pde that referenced this issue Mar 29, 2023
... due to race conditions and not thread-safe but concurrently accessed
models.

Fixes eclipse-pde#21
Fixes eclipse-pde#125
Fixes eclipse-pde#255
Fixes eclipse-pde#300
Fixes eclipse-pde#375
Fixes eclipse-pde#359
Fixes eclipse-pde#494
HannesWell added a commit to HannesWell/eclipse.pde that referenced this issue Mar 29, 2023
... due to race conditions and not thread-safe but concurrently accessed
models.

Fixes eclipse-pde#21
Fixes eclipse-pde#125
Fixes eclipse-pde#255
Fixes eclipse-pde#300
Fixes eclipse-pde#375
Fixes eclipse-pde#359
Fixes eclipse-pde#494
HannesWell added a commit to HannesWell/eclipse.pde that referenced this issue Mar 30, 2023
... due to race conditions and not thread-safe but concurrently accessed
models.

Fixes eclipse-pde#21
Fixes eclipse-pde#125
Fixes eclipse-pde#255
Fixes eclipse-pde#300
Fixes eclipse-pde#375
Fixes eclipse-pde#359
Fixes eclipse-pde#494
HannesWell added a commit to HannesWell/eclipse.pde that referenced this issue Mar 30, 2023
... due to race conditions and not thread-safe but concurrently accessed
models.

Fixes eclipse-pde#21
Fixes eclipse-pde#125
Fixes eclipse-pde#255
Fixes eclipse-pde#300
Fixes eclipse-pde#375
Fixes eclipse-pde#359
Fixes eclipse-pde#494
HannesWell added a commit to HannesWell/eclipse.pde that referenced this issue Mar 30, 2023
... due to race conditions and not thread-safe but concurrently accessed
models.

Fixes eclipse-pde#21
Fixes eclipse-pde#125
Fixes eclipse-pde#255
Fixes eclipse-pde#300
Fixes eclipse-pde#375
Fixes eclipse-pde#359
Fixes eclipse-pde#494
HannesWell added a commit to HannesWell/eclipse.pde that referenced this issue Mar 30, 2023
... due to race conditions and not thread-safe but concurrently accessed
models.

Fixes eclipse-pde#21
Fixes eclipse-pde#125
Fixes eclipse-pde#255
Fixes eclipse-pde#300
Fixes eclipse-pde#375
Fixes eclipse-pde#359
Fixes eclipse-pde#494
HannesWell added a commit to HannesWell/eclipse.pde that referenced this issue Mar 30, 2023
... due to race conditions and not thread-safe but concurrently accessed
models.

Fixes eclipse-pde#21
Fixes eclipse-pde#125
Fixes eclipse-pde#255
Fixes eclipse-pde#300
Fixes eclipse-pde#375
Fixes eclipse-pde#359
Fixes eclipse-pde#494
HannesWell added a commit to HannesWell/eclipse.pde that referenced this issue Mar 31, 2023
... due to race conditions and not thread-safe but concurrently accessed
models.

Fixes eclipse-pde#21
Fixes eclipse-pde#125
Fixes eclipse-pde#255
Fixes eclipse-pde#300
Fixes eclipse-pde#375
Fixes eclipse-pde#359
Fixes eclipse-pde#494
HannesWell added a commit to HannesWell/eclipse.pde that referenced this issue Mar 31, 2023
... due to race conditions and not thread-safe but concurrently accessed
models.

Fixes eclipse-pde#21
Fixes eclipse-pde#125
Fixes eclipse-pde#255
Fixes eclipse-pde#300
Fixes eclipse-pde#375
Fixes eclipse-pde#359
Fixes eclipse-pde#494
HannesWell added a commit to HannesWell/eclipse.pde that referenced this issue Mar 31, 2023
... due to race conditions and not thread-safe but concurrently accessed
models.

Fixes eclipse-pde#21
Fixes eclipse-pde#125
Fixes eclipse-pde#255
Fixes eclipse-pde#300
Fixes eclipse-pde#375
Fixes eclipse-pde#359
Fixes eclipse-pde#494
HannesWell added a commit to HannesWell/eclipse.pde that referenced this issue Mar 31, 2023
... due to race conditions and not thread-safe but concurrently accessed
models.

Fixes eclipse-pde#21
Fixes eclipse-pde#125
Fixes eclipse-pde#255
Fixes eclipse-pde#300
Fixes eclipse-pde#375
Fixes eclipse-pde#359
Fixes eclipse-pde#494
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

Successfully merging a pull request may close this issue.

1 participant