Skip to content

Failed

org.eclipse.jst.ws.tests.unittest.ComponentCreationTests.testWebComponentCreation

Failing for the past 29 builds (Since #225 )
Took 0.23 sec.

Error Message

Workspace is already closed or not ready yet. Consider tracking the org.eclipse.core.resources.IWorkspace service (using your favorite technique, e.g. Declarative Services, ServiceTracker, Blueprint, ...) instead of calling the static method here to prevent such issues!

Stacktrace

java.lang.IllegalStateException: Workspace is already closed or not ready yet. Consider tracking the org.eclipse.core.resources.IWorkspace service (using your favorite technique, e.g. Declarative Services, ServiceTracker, Blueprint, ...) instead of calling the static method here to prevent such issues!
	at org.eclipse.core.resources.ResourcesPlugin.getWorkspace(ResourcesPlugin.java:498)
	at org.eclipse.jst.ws.internal.common.ResourceUtils.getWorkspaceRoot(ResourceUtils.java:150)
	at org.eclipse.jst.ws.tests.unittest.ComponentCreationTests.createDynamicWebModule(ComponentCreationTests.java:89)
	at org.eclipse.jst.ws.tests.unittest.ComponentCreationTests.testWebComponentCreation(ComponentCreationTests.java:48)

Standard Error

java.lang.NullPointerException: Cannot invoke "org.eclipse.core.runtime.IExtensionRegistry.getConfigurationElementsFor(String, String)" because "registry" is null
	at org.eclipse.wst.server.core.ServerCore.loadRuntimeTypes(ServerCore.java:242)
	at org.eclipse.wst.server.core.ServerCore.findRuntimeType(ServerCore.java:136)
	at org.eclipse.jst.ws.tests.util.JUnitUtils.createServerRuntime(JUnitUtils.java:77)
	at org.eclipse.jst.ws.tests.unittest.ComponentCreationTests.createServerRuntime(ComponentCreationTests.java:76)
	at org.eclipse.jst.ws.tests.unittest.ComponentCreationTests.testWebComponentCreation(ComponentCreationTests.java:47)
	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 junit.framework.TestCase.runTest(TestCase.java:177)
	at junit.framework.TestCase.runBare(TestCase.java:142)
	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:130)
	at junit.framework.TestSuite.runTest(TestSuite.java:241)
	at junit.framework.TestSuite.run(TestSuite.java:236)
	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.junit.JUnitTestSet.execute(JUnitTestSet.java:100)
	at org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:140)
	at org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:113)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)