Skip to content

Update wrong calls to TaskClient #23

Update wrong calls to TaskClient

Update wrong calls to TaskClient #23

GitHub Actions / JUnit Test Report failed Apr 26, 2024 in 0s

781 tests run, 768 passed, 12 skipped, 1 failed.

Annotations

Check failure on line 55 in java-sdk/src/test/java/com/netflix/conductor/sdk/workflow/testing/WorkflowTestFrameworkTests.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

WorkflowTestFrameworkTests.initializationError

java.lang.NoSuchMethodError: 'boolean org.glassfish.jersey.internal.config.SystemPropertiesConfigurationModel.hasProperty(java.lang.String)'
Raw output
java.lang.NoSuchMethodError: 'boolean org.glassfish.jersey.internal.config.SystemPropertiesConfigurationModel.hasProperty(java.lang.String)'
	at org.glassfish.jersey.internal.config.SystemPropertiesConfigurationModel.as(SystemPropertiesConfigurationModel.java:83)
	at org.glassfish.jersey.internal.config.SystemPropertiesConfigurationModel.getProperties(SystemPropertiesConfigurationModel.java:119)
	at org.glassfish.jersey.internal.config.ExternalConfigurationProviderImpl.getProperties(ExternalConfigurationProviderImpl.java:34)
	at org.glassfish.jersey.internal.config.ExternalPropertiesConfigurationFactory.readExternalPropertiesMap(ExternalPropertiesConfigurationFactory.java:65)
	at org.glassfish.jersey.internal.config.ExternalPropertiesConfigurationFactory.configure(ExternalPropertiesConfigurationFactory.java:95)
	at org.glassfish.jersey.internal.config.ExternalPropertiesConfigurationFactory.configure(ExternalPropertiesConfigurationFactory.java:76)
	at org.glassfish.jersey.client.JerseyClientBuilder.build(JerseyClientBuilder.java:167)
	at org.glassfish.jersey.client.JerseyClientBuilder.build(JerseyClientBuilder.java:49)
	at jakarta.ws.rs.client.ClientBuilder.newClient(ClientBuilder.java:99)
	at com.netflix.conductor.client.http.ClientRequestHandler.<init>(ClientRequestHandler.java:47)
	at com.netflix.conductor.client.http.TaskClient.<init>(TaskClient.java:97)
	at com.netflix.conductor.client.http.TaskClient.<init>(TaskClient.java:69)
	at com.netflix.conductor.sdk.testing.WorkflowTestRunner.<init>(WorkflowTestRunner.java:40)
	at com.netflix.conductor.sdk.workflow.testing.WorkflowTestFrameworkTests.init(WorkflowTestFrameworkTests.java:45)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	Suppressed: java.lang.NullPointerException: Cannot invoke "com.netflix.conductor.sdk.testing.WorkflowTestRunner.shutdown()" because "com.netflix.conductor.sdk.workflow.testing.WorkflowTestFrameworkTests.testRunner" is null
		at com.netflix.conductor.sdk.workflow.testing.WorkflowTestFrameworkTests.cleanUp(WorkflowTestFrameworkTests.java:55)
		at java.base/java.lang.reflect.Method.invoke(Method.java:568)
		at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
		at java.base/java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1092)
		... 1 more