Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jersey-dev] proxyable library is not on the classpath

Hi Guru,

I've introduced the PR to jakartaee-tck project ([375](https://github.com/eclipse-ee4j/jakartaee-tck/pull/375)) for ts.jte generation. Using fixes from this PR and for standalone run of JAXRS/Jersey TCK no failures occurs in TCK results.

I've especially checked for failing tests from log and they are listed as passing:

[javatest.batch] ************************************************************
[javatest.batch] * props file set to "/tmp/jenkins-cts-props.txt"
[javatest.batch] ************************************************************
[javatest.batch] 07-23-2020 09:59:38:  [JAXRSCommonClient] Test setup OK
[javatest.batch] 07-23-2020 09:59:38:  [JAXRSCommonClient] Test cleanup OK
[javatest.batch] STATUS:Passed.
[javatest.batch] Passed.
[javatest.batch] ********************************************************************************
[javatest.batch] Finished Test:  PASSED........com/sun/ts/tests/jaxrs/spec/client/webtarget/JAXRSClient.java#webTargetConfigNotImpactClientTest_from_standalone
[javatest.batch] ********************************************************************************
[javatest.batch] Number of tests completed:  2379 (2379 passed, 0 failed, 0 with errors)
[javatest.batch] Number of tests remaining:  343
[javatest.batch] ********************************************************************************
[javatest.batch] Beginning Test:  com/sun/ts/tests/jaxrs/spec/context/client/JAXRSClient.java#clientReaderTest_from_standalone
[javatest.batch] ********************************************************************************


[javatest.batch] ************************************************************
[javatest.batch] * props file set to "/tmp/jenkins-cts-props.txt"
[javatest.batch] ************************************************************
[javatest.batch] 07-23-2020 09:59:40:  [JAXRSCommonClient] Test setup OK
[javatest.batch] 07-23-2020 09:59:40:  [Request] Dispatching request: 'POST http://localhost:8080/jaxrs_spec_context_client_web/resource/echo' to target server at 'localhost:8080'
[javatest.batch] 07-23-2020 09:59:40:  ###############################
[javatest.batch] 07-23-2020 09:59:40:  [Request] Adding entity: stringbean
[javatest.batch] 07-23-2020 09:59:40:  TRACE: [WIRE] - >> POST http://localhost:8080/jaxrs_spec_context_client_web/resource/echo
[javatest.batch] 07-23-2020 09:59:40:  TRACE: [WIRE] - >> Accept:*/*, Content-Type:*/*
[javatest.batch] 07-23-2020 09:59:40:  TRACE: [WIRE] - >> stringbean
[javatest.batch] 07-23-2020 09:59:40:  TRACE: [WIRE] - << 200 OK
[javatest.batch] 07-23-2020 09:59:40:  TRACE: [WIRE] - << Server: Eclipse GlassFish  6.0.0
[javatest.batch] 07-23-2020 09:59:40:  TRACE: [WIRE] - << Content-Length: 10
[javatest.batch] 07-23-2020 09:59:40:  TRACE: [WIRE] - << X-Powered-By: Servlet/5.0 JSP/3.0(Eclipse GlassFish  6.0.0  Java/Oracle Corporation/1.8)
[javatest.batch] 07-23-2020 09:59:40:  TRACE: [WIRE] - << Content-Type: text/plain
[javatest.batch] 07-23-2020 09:59:40:  TRACE: [WIRE] - << stringbean
[javatest.batch] 07-23-2020 09:59:40:  Injectables are 100010101
[javatest.batch] 07-23-2020 09:59:40:  @Context injected as expected
[javatest.batch] 07-23-2020 09:59:40:  [JAXRSCommonClient] Test cleanup OK
[javatest.batch] STATUS:Passed.
[javatest.batch] Passed.
[javatest.batch] ********************************************************************************
[javatest.batch] Finished Test:  PASSED........com/sun/ts/tests/jaxrs/spec/context/client/JAXRSClient.java#clientReaderTest_from_standalone
[javatest.batch] ********************************************************************************
[javatest.batch] Number of tests completed:  2380 (2380 passed, 0 failed, 0 with errors)
[javatest.batch] Number of tests remaining:  342
[javatest.batch] ********************************************************************************
[javatest.batch] Beginning Test:  com/sun/ts/tests/jaxrs/spec/context/client/JAXRSClient.java#clientWriterTest_from_standalone
[javatest.batch] ********************************************************************************


Regards,

Maxi

On 21. 07. 20 8:59, Gurunandan wrote:

Hi,

There are two failures with JAXRS TCK, failures are consitent across many CI runs.

CI run can be found here - https://ci.eclipse.org/jakartaee-tck/job/standalonetck-nightly-build-run-master/74/junit-reports-with-handlebars/test-summary/66095508-0e86-428a-a0f4-67b0e5df692e.html

Details of failure is as below, more details of run can be found with attached run log and glassfish server log.

---------------------------------------

[javatest.batch] Jul 20, 2020 4:24:05 PM org.glassfish.jersey.internal.Errors logErrors
[javatest.batch] WARNING: The following warnings have been detected: WARNING: HK2 failure has been detected in a code that does not run in an active Jersey Error scope.
[javatest.batch] WARNING: Unknown HK2 failure detected:
[javatest.batch] MultiException stack 1 of 3
[javatest.batch] java.lang.IllegalStateException: A descriptor SystemDescriptor(
[javatest.batch]     implementation=org.glassfish.jersey.inject.hk2.SupplierFactoryBridge
[javatest.batch]     contracts={jakarta.ws.rs.core.HttpHeaders}
[javatest.batch]     scope=org.glassfish.jersey.process.internal.RequestScoped
[javatest.batch]     qualifiers={}
[javatest.batch]     descriptorType=PROVIDE_METHOD
[javatest.batch]     descriptorVisibility=NORMAL
[javatest.batch]     metadata=
[javatest.batch]     rank=0
[javatest.batch]     loader=org.glassfish.hk2.utilities.binding.AbstractBinder$2@1afd44cb
[javatest.batch]     proxiable=true
[javatest.batch]     proxyForSameScope=false
[javatest.batch]     analysisName=null
[javatest.batch]     id=48
[javatest.batch]     locatorId=0
[javatest.batch]     identityHashCode=1769190683
[javatest.batch]     reified=true) requires a proxy, but the proxyable library is not on the classpath
[javatest.batch]     at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2072)
[javatest.batch]     at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:93)
[javatest.batch]     at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:67)
[javatest.batch]     at org.glassfish.jersey.inject.hk2.ContextInjectionResolverImpl.resolve(ContextInjectionResolverImpl.java:103)
[javatest.batch]     at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:188)
[javatest.batch] 07-20-2020 16:24:05:  ERROR: Root cause of Failure: A MultiException has 3 exceptions.  They are:
[javatest.batch]     at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:211)
[javatest.batch] 1. java.lang.IllegalStateException: A descriptor SystemDescriptor(
[javatest.batch]     at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:334)
[javatest.batch]     implementation=org.glassfish.jersey.inject.hk2.SupplierFactoryBridge
[javatest.batch]     at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:466)
[javatest.batch]     contracts={jakarta.ws.rs.core.HttpHeaders}
[javatest.batch]     at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:59)
[javatest.batch]     scope=org.glassfish.jersey.process.internal.RequestScoped
[javatest.batch]     at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:47)
[javatest.batch]     qualifiers={}
[javatest.batch]     at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:74)
[javatest.batch]     descriptorType=PROVIDE_METHOD
[javatest.batch]     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[javatest.batch]     descriptorVisibility=NORMAL
[javatest.batch]     at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:131)
[javatest.batch]     metadata=
[javatest.batch]     at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:176)
[javatest.batch]     rank=0
[javatest.batch]     at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:98)
[javatest.batch]     loader=org.glassfish.hk2.utilities.binding.AbstractBinder$2@1afd44cb
[javatest.batch]     at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2103)
[javatest.batch]     proxiable=true
[javatest.batch]     at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:93)
[javatest.batch]     proxyForSameScope=false
[javatest.batch]     at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:67)
[javatest.batch]     analysisName=null
[javatest.batch]     at org.glassfish.jersey.inject.hk2.AbstractHk2InjectionManager.lambda$getAllServiceHolders$0(AbstractHk2InjectionManager.java:136)
[javatest.batch]     id=48
[javatest.batch]     at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
[javatest.batch]     locatorId=0
[javatest.batch]     at java.util.LinkedList$LLSpliterator.forEachRemaining(LinkedList.java:1235)
[javatest.batch]     identityHashCode=1769190683
[javatest.batch]     at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
[javatest.batch]     reified=true) requires a proxy, but the proxyable library is not on the classpath
[javatest.batch]     at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
[javatest.batch] 2. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of com.sun.ts.tests.jaxrs.spec.context.server.StringBeanEntityProviderWithInjectables errors were found
[javatest.batch]     at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
[javatest.batch] 3. java.lang.IllegalStateException: Unable to perform operation: resolve on com.sun.ts.tests.jaxrs.spec.context.server.StringBeanEntityProviderWithInjectables
[javatest.batch]     at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
[javatest.batch]
[javatest.batch]     at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
[javatest.batch]     at org.glassfish.jersey.inject.hk2.AbstractHk2InjectionManager.getAllServiceHolders(AbstractHk2InjectionManager.java:140)
[javatest.batch]     at org.glassfish.jersey.inject.hk2.ImmediateHk2InjectionManager.getAllServiceHolders(ImmediateHk2InjectionManager.java:30)
[javatest.batch]     at org.glassfish.jersey.internal.inject.Providers.getServiceHolders(Providers.java:307)
[javatest.batch]     at org.glassfish.jersey.internal.inject.Providers.getCustomProviders(Providers.java:151)
[javatest.batch]     at org.glassfish.jersey.message.internal.MessageBodyFactory.initialize(MessageBodyFactory.java:219)
[javatest.batch]     at org.glassfish.jersey.message.internal.MessageBodyFactory$MessageBodyWorkersConfigurator.postInit(MessageBodyFactory.java:114)
[javatest.batch] 07-20-2020 16:24:05:  ERROR: MultiException stack 1 of 3
[javatest.batch]     at org.glassfish.jersey.client.ClientConfig$State.lambda$initRuntime$2(ClientConfig.java:451)
[javatest.batch] java.lang.IllegalStateException: A descriptor SystemDescriptor(
[javatest.batch]     at java.util.Arrays$ArrayList.forEach(Arrays.java:3880)
[javatest.batch]     implementation=org.glassfish.jersey.inject.hk2.SupplierFactoryBridge
[javatest.batch]     at org.glassfish.jersey.client.ClientConfig$State.initRuntime(ClientConfig.java:451)
[javatest.batch]     contracts={jakarta.ws.rs.core.HttpHeaders}
[javatest.batch]     at org.glassfish.jersey.internal.util.collection.Values$LazyValueImpl.get(Values.java:317)
[javatest.batch]     scope=org.glassfish.jersey.process.internal.RequestScoped
[javatest.batch]     at org.glassfish.jersey.client.ClientConfig.getRuntime(ClientConfig.java:807)
[javatest.batch]     qualifiers={}
[javatest.batch]     at org.glassfish.jersey.client.ClientRequest.getClientRuntime(ClientRequest.java:219)
[javatest.batch]     descriptorType=PROVIDE_METHOD
[javatest.batch]     at org.glassfish.jersey.client.ClientRequest.getInjectionManager(ClientRequest.java:610)
[javatest.batch]     descriptorVisibility=NORMAL
[javatest.batch]     at org.glassfish.jersey.client.JerseyWebTarget.onBuilder(JerseyWebTarget.java:364)
[javatest.batch]     metadata=
[javatest.batch]     at org.glassfish.jersey.client.JerseyWebTarget.request(JerseyWebTarget.java:199)
[javatest.batch]     rank=0
[javatest.batch]     at org.glassfish.jersey.client.JerseyWebTarget.request(JerseyWebTarget.java:36)
[javatest.batch]     loader=org.glassfish.hk2.utilities.binding.AbstractBinder$2@1afd44cb
[javatest.batch]     at com.sun.ts.tests.jaxrs.common.client.JaxrsWebTestCase.buildRequest(JaxrsWebTestCase.java:326)
[javatest.batch]     proxiable=true
[javatest.batch]     at com.sun.ts.tests.jaxrs.common.client.JaxrsWebTestCase.execute(JaxrsWebTestCase.java:200)
[javatest.batch]     at com.sun.ts.tests.jaxrs.common.client.JaxrsCommonClient.invoke(JaxrsCommonClient.java:210)
[javatest.batch]     proxyForSameScope=false
[javatest.batch]     analysisName=null
[javatest.batch]     at com.sun.ts.tests.jaxrs.spec.context.client.JAXRSClient.clientWriterTest(JAXRSClient.java:68)
[javatest.batch]     id=48
[javatest.batch]     locatorId=0
[javatest.batch]     identityHashCode=1769190683
[javatest.batch]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[javatest.batch]     reified=true) requires a proxy, but the proxyable library is not on the classpath
[javatest.batch]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[javatest.batch]     at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2072)
[javatest.batch]     at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:93)
[javatest.batch]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[javatest.batch]     at java.lang.reflect.Method.invoke(Method.java:498)
[javatest.batch]     at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:67)
[javatest.batch]     at com.sun.ts.lib.harness.EETest.run(EETest.java:596)
[javatest.batch]     at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:115)
[javatest.batch]     at org.glassfish.jersey.inject.hk2.ContextInjectionResolverImpl.resolve(ContextInjectionResolverImpl.java:103)
[javatest.batch]     at com.sun.ts.tests.common.vehicle.EmptyVehicleRunner.run(EmptyVehicleRunner.java:40)
[javatest.batch]     at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:188)
[javatest.batch]     at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:211)
[javatest.batch]     at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:334)
[javatest.batch]     at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:466)
[javatest.batch]     at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:105)
[javatest.batch]     at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:59)
[javatest.batch]     at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:486)
[javatest.batch]     at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:47)
[javatest.batch]     at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:209)
[javatest.batch]     at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:74)
[javatest.batch]     at com.sun.ts.lib.harness.EETest.run(EETest.java:285)
[javatest.batch]     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[javatest.batch]     at com.sun.ts.tests.common.vehicle.VehicleClient.main(VehicleClient.java:38)
[javatest.batch]     at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:131)
[javatest.batch] MultiException stack 2 of 3
[javatest.batch]     at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:176)
[javatest.batch] java.lang.IllegalArgumentException: While attempting to resolve the dependencies of com.sun.ts.tests.jaxrs.spec.context.server.StringBeanEntityProviderWithInjectables errors were found
[javatest.batch]     at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:98)
[javatest.batch]     at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:224)
[javatest.batch]     at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2103)
[javatest.batch]     at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:334)
[javatest.batch]     at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:93)
[javatest.batch]     at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:466)
[javatest.batch]     at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:67)
[javatest.batch]     at org.glassfish.jersey.inject.hk2.AbstractHk2InjectionManager.lambda$getAllServiceHolders$0(AbstractHk2InjectionManager.java:136)
[javatest.batch]     at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
[javatest.batch]     at java.util.LinkedList$LLSpliterator.forEachRemaining(LinkedList.java:1235)
[javatest.batch]     at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
[javatest.batch]     at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
[javatest.batch]     at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
[javatest.batch]     at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
[javatest.batch]     at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
[javatest.batch]     at org.glassfish.jersey.inject.hk2.AbstractHk2InjectionManager.getAllServiceHolders(AbstractHk2InjectionManager.java:140)
[javatest.batch]     at org.glassfish.jersey.inject.hk2.ImmediateHk2InjectionManager.getAllServiceHolders(ImmediateHk2InjectionManager.java:30)
[javatest.batch]     at org.glassfish.jersey.internal.inject.Providers.getServiceHolders(Providers.java:307)
[javatest.batch]     at org.glassfish.jersey.internal.inject.Providers.getCustomProviders(Providers.java:151)
[javatest.batch]     at org.glassfish.jersey.message.internal.MessageBodyFactory.initialize(MessageBodyFactory.java:219)
[javatest.batch]     at org.glassfish.jersey.message.internal.MessageBodyFactory$MessageBodyWorkersConfigurator.postInit(MessageBodyFactory.java:114)
[javatest.batch]     at org.glassfish.jersey.client.ClientConfig$State.lambda$initRuntime$2(ClientConfig.java:451)
[javatest.batch]     at java.util.Arrays$ArrayList.forEach(Arrays.java:3880)
[javatest.batch]     at org.glassfish.jersey.client.ClientConfig$State.initRuntime(ClientConfig.java:451)
[javatest.batch]     at org.glassfish.jersey.internal.util.collection.Values$LazyValueImpl.get(Values.java:317)
[javatest.batch]     at org.glassfish.jersey.client.ClientConfig.getRuntime(ClientConfig.java:807)
[javatest.batch]     at org.glassfish.jersey.client.ClientRequest.getClientRuntime(ClientRequest.java:219)
[javatest.batch]     at org.glassfish.jersey.client.ClientRequest.getInjectionManager(ClientRequest.java:610)
[javatest.batch]     at org.glassfish.jersey.client.JerseyWebTarget.onBuilder(JerseyWebTarget.java:364)
[javatest.batch]     at org.glassfish.jersey.client.JerseyWebTarget.request(JerseyWebTarget.java:199)
[javatest.batch]     at org.glassfish.jersey.client.JerseyWebTarget.request(JerseyWebTarget.java:36)
[javatest.batch]     at com.sun.ts.tests.jaxrs.common.client.JaxrsWebTestCase.buildRequest(JaxrsWebTestCase.java:326)
[javatest.batch]     at com.sun.ts.tests.jaxrs.common.client.JaxrsWebTestCase.execute(JaxrsWebTestCase.java:200)
[javatest.batch]     at com.sun.ts.tests.jaxrs.common.client.JaxrsCommonClient.invoke(JaxrsCommonClient.java:210)
[javatest.batch]     at com.sun.ts.tests.jaxrs.spec.context.client.JAXRSClient.clientWriterTest(JAXRSClient.java:68)
[javatest.batch]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[javatest.batch]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[javatest.batch]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[javatest.batch]     at java.lang.reflect.Method.invoke(Method.java:498)
[javatest.batch]     at com.sun.ts.lib.harness.EETest.run(EETest.java:596)
[javatest.batch]     at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:115)
[javatest.batch]     at com.sun.ts.tests.common.vehicle.EmptyVehicleRunner.run(EmptyVehicleRunner.java:40)
[javatest.batch]     at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:105)
[javatest.batch]     at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:486)
[javatest.batch]     at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:209)
[javatest.batch]     at com.sun.ts.lib.harness.EETest.run(EETest.java:285)
[javatest.batch]     at com.sun.ts.tests.common.vehicle.VehicleClient.main(VehicleClient.java:38)
[javatest.batch] MultiException stack 2 of 3
[javatest.batch] java.lang.IllegalArgumentException: While attempting to resolve the dependencies of com.sun.ts.tests.jaxrs.spec.context.server.StringBeanEntityProviderWithInjectables errors were found
[javatest.batch]     at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:224)
[javatest.batch]     at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:334)
[javatest.batch]     at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:466)
[javatest.batch]     at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:59)
[javatest.batch]     at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:47)
[javatest.batch]     at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:74)
[javatest.batch]     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[javatest.batch]     at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:131)
[javatest.batch]     at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:176)
[javatest.batch]     at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:98)
[javatest.batch]     at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2103)
[javatest.batch]     at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:93)
[javatest.batch]     at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:67)
[javatest.batch]     at org.glassfish.jersey.inject.hk2.AbstractHk2InjectionManager.lambda$getAllServiceHolders$0(AbstractHk2InjectionManager.java:136)
[javatest.batch]     at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
[javatest.batch]     at java.util.LinkedList$LLSpliterator.forEachRemaining(LinkedList.java:1235)
[javatest.batch]     at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
[javatest.batch]     at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
[javatest.batch]     at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
[javatest.batch]     at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
[javatest.batch]     at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
[javatest.batch]     at org.glassfish.jersey.inject.hk2.AbstractHk2InjectionManager.getAllServiceHolders(AbstractHk2InjectionManager.java:140)
[javatest.batch]     at org.glassfish.jersey.inject.hk2.ImmediateHk2InjectionManager.getAllServiceHolders(ImmediateHk2InjectionManager.java:30)
[javatest.batch]     at org.glassfish.jersey.internal.inject.Providers.getServiceHolders(Providers.java:307)
[javatest.batch]     at org.glassfish.jersey.internal.inject.Providers.getCustomProviders(Providers.java:151)
[javatest.batch]     at org.glassfish.jersey.message.internal.MessageBodyFactory.initialize(MessageBodyFactory.java:219)
[javatest.batch]     at org.glassfish.jersey.message.internal.MessageBodyFactory$MessageBodyWorkersConfigurator.postInit(MessageBodyFactory.java:114)
[javatest.batch]     at org.glassfish.jersey.client.ClientConfig$State.lambda$initRuntime$2(ClientConfig.java:451)
[javatest.batch]     at java.util.Arrays$ArrayList.forEach(Arrays.java:3880)
[javatest.batch]     at org.glassfish.jersey.client.ClientConfig$State.initRuntime(ClientConfig.java:451)
[javatest.batch]     at org.glassfish.jersey.internal.util.collection.Values$LazyValueImpl.get(Values.java:317)
[javatest.batch]     at org.glassfish.jersey.client.ClientConfig.getRuntime(ClientConfig.java:807)
[javatest.batch]     at org.glassfish.jersey.client.ClientRequest.getClientRuntime(ClientRequest.java:219)
[javatest.batch]     at org.glassfish.jersey.client.ClientRequest.getInjectionManager(ClientRequest.java:610)
[javatest.batch]     at org.glassfish.jersey.client.JerseyWebTarget.onBuilder(JerseyWebTarget.java:364)
[javatest.batch]     at org.glassfish.jersey.client.JerseyWebTarget.request(JerseyWebTarget.java:199)
[javatest.batch]     at org.glassfish.jersey.client.JerseyWebTarget.request(JerseyWebTarget.java:36)
[javatest.batch]     at com.sun.ts.tests.jaxrs.common.client.JaxrsWebTestCase.buildRequest(JaxrsWebTestCase.java:326)
[javatest.batch]     at com.sun.ts.tests.jaxrs.common.client.JaxrsWebTestCase.execute(JaxrsWebTestCase.java:200)
[javatest.batch]     at com.sun.ts.tests.jaxrs.common.client.JaxrsCommonClient.invoke(JaxrsCommonClient.java:210)
[javatest.batch]     at com.sun.ts.tests.jaxrs.spec.context.client.JAXRSClient.clientWriterTest(JAXRSClient.java:68)
[javatest.batch]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[javatest.batch]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[javatest.batch]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[javatest.batch]     at java.lang.reflect.Method.invoke(Method.java:498)
[javatest.batch]     at com.sun.ts.lib.harness.EETest.run(EETest.java:596)
[javatest.batch]     at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:115)
[javatest.batch]     at com.sun.ts.tests.common.vehicle.EmptyVehicleRunner.run(EmptyVehicleRunner.java:40)
[javatest.batch]     at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:105)
[javatest.batch]     at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:486)
[javatest.batch]     at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:209)
[javatest.batch]     at com.sun.ts.lib.harness.EETest.run(EETest.java:285)
[javatest.batch]     at com.sun.ts.tests.common.vehicle.VehicleClient.main(VehicleClient.java:38)
[javatest.batch] MultiException stack 3 of 3
[javatest.batch] java.lang.IllegalStateException: Unable to perform operation: resolve on com.sun.ts.tests.jaxrs.spec.context.server.StringBeanEntityProviderWithInjectables
[javatest.batch]     at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:363)
[javatest.batch]     at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:466)
[javatest.batch]     at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:59)
[javatest.batch]     at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:47)
[javatest.batch]     at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:74)
[javatest.batch]     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[javatest.batch]     at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:131)
[javatest.batch]     at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:176)
[javatest.batch]     at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:98)
[javatest.batch]     at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2103)
[javatest.batch]     at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:93)
[javatest.batch]     at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:67)
[javatest.batch]     at org.glassfish.jersey.inject.hk2.AbstractHk2InjectionManager.lambda$getAllServiceHolders$0(AbstractHk2InjectionManager.java:136)
[javatest.batch]     at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
[javatest.batch]     at java.util.LinkedList$LLSpliterator.forEachRemaining(LinkedList.java:1235)
[javatest.batch]     at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
[javatest.batch]     at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
[javatest.batch]     at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
[javatest.batch]     at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
[javatest.batch]     at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
[javatest.batch]     at org.glassfish.jersey.inject.hk2.AbstractHk2InjectionManager.getAllServiceHolders(AbstractHk2InjectionManager.java:140)
[javatest.batch]     at org.glassfish.jersey.inject.hk2.ImmediateHk2InjectionManager.getAllServiceHolders(ImmediateHk2InjectionManager.java:30)
[javatest.batch]     at org.glassfish.jersey.internal.inject.Providers.getServiceHolders(Providers.java:307)
[javatest.batch]     at org.glassfish.jersey.internal.inject.Providers.getCustomProviders(Providers.java:151)
[javatest.batch]     at org.glassfish.jersey.message.internal.MessageBodyFactory.initialize(MessageBodyFactory.java:219)
[javatest.batch]     at org.glassfish.jersey.message.internal.MessageBodyFactory$MessageBodyWorkersConfigurator.postInit(MessageBodyFactory.java:114)
[javatest.batch]     at org.glassfish.jersey.client.ClientConfig$State.lambda$initRuntime$2(ClientConfig.java:451)
[javatest.batch]     at java.util.Arrays$ArrayList.forEach(Arrays.java:3880)
[javatest.batch]     at org.glassfish.jersey.client.ClientConfig$State.initRuntime(ClientConfig.java:451)
[javatest.batch]     at org.glassfish.jersey.internal.util.collection.Values$LazyValueImpl.get(Values.java:317)
[javatest.batch]     at org.glassfish.jersey.client.ClientConfig.getRuntime(ClientConfig.java:807)
[javatest.batch]     at org.glassfish.jersey.client.ClientRequest.getClientRuntime(ClientRequest.java:219)
[javatest.batch]     at org.glassfish.jersey.client.ClientRequest.getInjectionManager(ClientRequest.java:610)
[javatest.batch]     at org.glassfish.jersey.client.JerseyWebTarget.onBuilder(JerseyWebTarget.java:364)
[javatest.batch]     at org.glassfish.jersey.client.JerseyWebTarget.request(JerseyWebTarget.java:199)
[javatest.batch]     at org.glassfish.jersey.client.JerseyWebTarget.request(JerseyWebTarget.java:36)
[javatest.batch]     at com.sun.ts.tests.jaxrs.common.client.JaxrsWebTestCase.buildRequest(JaxrsWebTestCase.java:326)
[javatest.batch]     at com.sun.ts.tests.jaxrs.common.client.JaxrsWebTestCase.execute(JaxrsWebTestCase.java:200)
[javatest.batch]     at com.sun.ts.tests.jaxrs.common.client.JaxrsCommonClient.invoke(JaxrsCommonClient.java:210)
[javatest.batch]     at com.sun.ts.tests.jaxrs.spec.context.client.JAXRSClient.clientWriterTest(JAXRSClient.java:68)
[javatest.batch]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[javatest.batch]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[javatest.batch]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[javatest.batch]     at java.lang.reflect.Method.invoke(Method.java:498)
[javatest.batch]     at com.sun.ts.lib.harness.EETest.run(EETest.java:596)
[javatest.batch]     at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:115)
[javatest.batch]     at com.sun.ts.tests.common.vehicle.EmptyVehicleRunner.run(EmptyVehicleRunner.java:40)
[javatest.batch]     at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:105)
[javatest.batch]     at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:486)
[javatest.batch]     at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:209)
[javatest.batch]     at com.sun.ts.lib.harness.EETest.run(EETest.java:285)
[javatest.batch]     at com.sun.ts.tests.common.vehicle.VehicleClient.main(VehicleClient.java:38)
[javatest.batch]
[javatest.batch] 07-20-2020 16:24:05:  ERROR: Test case throws exception: [JAXRSCommonClient] null failed! Check output for cause of failure.
[javatest.batch] 07-20-2020 16:24:05:  ERROR: Exception at: 
[javatest.batch] 07-20-2020 16:24:05:  ERROR: com.sun.ts.tests.common.webclient.TestFailureException: [FATAL] Unexpected failure during test execution.

-----------------------------------------------

regards,

Guru

00 


_______________________________________________
jersey-dev mailing list
jersey-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://urldefense.com/v3/__https://www.eclipse.org/mailman/listinfo/jersey-dev__;!!GqivPVa7Brio!PFcZX71LMxUB556wizvQIK11XX2AFbXHZ7kvbj9xTm9HZAoaunxPtZ7-uKnrnfZc$ 

Back to the top