Uploaded image for project: 'Common Controller SDK'
  1. Common Controller SDK
  2. CCSDK-1420

Classpath issue w/ Apache httpclient

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • El Alto Release
    • El Alto Release
    • None
    • None

      2019-06-19 13:15:43,728|||reactor-http-epoll-2||||DEBUG||||||| An exception java.lang.NoSuchMethodError: org.apache.http.impl.conn.CPool.setValidateAfterInactivity(I)V
      at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.<init>(PoolingHttpClientConnectionManager.java:182)
      at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.<init>(PoolingHttpClientConnectionManager.java:164)
      at org.apache.http.impl.client.HttpClientBuilder.build(HttpClientBuilder.java:984)
      at org.onap.ccsdk.cds.blueprintsprocessor.rest.service.BlueprintWebClientService$DefaultImpls.httpClient(BlueprintWebClientService.kt:54)
      at org.onap.ccsdk.cds.blueprintsprocessor.rest.service.TokenAuthRestClientService.httpClient(TokenAuthRestClientService.kt:24)
      at org.onap.ccsdk.cds.blueprintsprocessor.rest.service.BlueprintWebClientService$DefaultImpls.performCallAndExtractTypedWebClientResponse(BlueprintWebClientService.kt:131)
      at org.onap.ccsdk.cds.blueprintsprocessor.rest.service.BlueprintWebClientService$DefaultImpls.get(BlueprintWebClientService.kt:93)
      at org.onap.ccsdk.cds.blueprintsprocessor.rest.service.TokenAuthRestClientService.get(TokenAuthRestClientService.kt:24)
      at org.onap.ccsdk.cds.blueprintsprocessor.rest.service.BlueprintWebClientService$DefaultImpls.exchangeResource(BlueprintWebClientService.kt:71)
      at org.onap.ccsdk.cds.blueprintsprocessor.rest.service.TokenAuthRestClientService.exchangeResource(TokenAuthRestClientService.kt:24)
      at org.onap.ccsdk.cds.blueprintsprocessor.rest.service.BlueprintWebClientService$DefaultImpls.exchangeResource(BlueprintWebClientService.kt:58)
      at org.onap.ccsdk.cds.blueprintsprocessor.rest.service.TokenAuthRestClientService.exchangeResource(TokenAuthRestClientService.kt:24)
      at org.onap.ccsdk.cds.blueprintsprocessor.functions.resource.resolution.processor.RestResourceResolutionProcessor.processNB$suspendImpl(RestResourceResolutionProcessor.kt:88)
      at org.onap.ccsdk.cds.blueprintsprocessor.functions.resource.resolution.processor.RestResourceResolutionProcessor.processNB(RestResourceResolutionProcessor.kt)
      at org.onap.ccsdk.cds.blueprintsprocessor.functions.resource.resolution.processor.RestResourceResolutionProcessor.processNB(RestResourceResolutionProcessor.kt:43)
      at org.onap.ccsdk.cds.blueprintsprocessor.functions.resource.resolution.processor.ResourceAssignmentProcessor.applyNB(ResourceAssignmentProcessor.kt:92)
      at org.onap.ccsdk.cds.blueprintsprocessor.functions.resource.resolution.ResourceResolutionServiceImpl$resolveResourceAssignments$2$invokeSuspend$$inlined$forEach$lambda$1.invokeSuspend(ResourceResolutionService.kt:188)
      at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:32)
      at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:233)
      at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.kt:116)
      at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:76)
      at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:53)
      at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
      at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:35)
      at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
      at org.onap.ccsdk.cds.blueprintsprocessor.selfservice.api.ExecutionServiceController.process(ExecutionServiceController.kt:69)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.springframework.web.reactive.result.method.InvocableHandlerMethod.lambda$invoke$0(InvocableHandlerMethod.java:139)
      at reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext(MonoFlatMap.java:118)
      at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1505)
      at reactor.core.publisher.MonoZip$ZipCoordinator.signal(MonoZip.java:247)
      at reactor.core.publisher.MonoZip$ZipInner.onNext(MonoZip.java:329)
      at reactor.core.publisher.FluxPeek$PeekSubscriber.onNext(FluxPeek.java:192)
      at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:92)
      at reactor.core.publisher.FluxSwitchIfEmpty$SwitchIfEmptySubscriber.onNext(FluxSwitchIfEmpty.java:67)
      at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onNext(FluxOnErrorResume.java:73)
      at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1505)
      at reactor.core.publisher.MonoSingle$SingleSubscriber.onComplete(MonoSingle.java:171)
      at reactor.core.publisher.FluxFlatMap$FlatMapMain.checkTerminated(FluxFlatMap.java:794)
      at reactor.core.publisher.FluxFlatMap$FlatMapMain.drainLoop(FluxFlatMap.java:560)
      at reactor.core.publisher.FluxFlatMap$FlatMapMain.drain(FluxFlatMap.java:540)
      at reactor.core.publisher.FluxFlatMap$FlatMapMain.onComplete(FluxFlatMap.java:426)
      at reactor.core.publisher.FluxFlatMap$FlatMapMain.checkTerminated(FluxFlatMap.java:794)
      at reactor.core.publisher.FluxFlatMap$FlatMapMain.drainLoop(FluxFlatMap.java:560)
      at reactor.core.publisher.FluxFlatMap$FlatMapMain.drain(FluxFlatMap.java:540)
      at reactor.core.publisher.FluxFlatMap$FlatMapMain.onComplete(FluxFlatMap.java:426)
      at reactor.core.publisher.DrainUtils.postCompleteDrain(DrainUtils.java:131)
      at reactor.core.publisher.DrainUtils.postComplete(DrainUtils.java:186)
      at reactor.core.publisher.FluxMapSignal$FluxMapSignalSubscriber.onComplete(FluxMapSignal.java:213)
      at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:136)
      at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:252)
      at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:136)
      at reactor.netty.channel.FluxReceive.terminateReceiver(FluxReceive.java:372)
      at reactor.netty.channel.FluxReceive.drainReceiver(FluxReceive.java:196)
      at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:337)
      at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:334)
      at reactor.netty.http.server.HttpServerOperations.onInboundNext(HttpServerOperations.java:453)
      at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:141)
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
      at reactor.netty.http.server.HttpTrafficHandler.channelRead(HttpTrafficHandler.java:191)
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
      at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:438)
      at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:323)
      at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:297)
      at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:253)
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
      at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1408)
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
      at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:930)
      at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:799)
      at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:427)
      at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:328)
      at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905)
      at java.lang.Thread.run(Thread.java:748)
      was thrown by a user handler's exceptionCaught() method while handling the following exception:
      java.lang.NoSuchMethodError: org.apache.http.impl.conn.CPool.setValidateAfterInactivity(I)V
      at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.<init>(PoolingHttpClientConnectionManager.java:182)
      at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.<init>(PoolingHttpClientConnectionManager.java:164)
      at org.apache.http.impl.client.HttpClientBuilder.build(HttpClientBuilder.java:984)
      at org.onap.ccsdk.cds.blueprintsprocessor.rest.service.BlueprintWebClientService$DefaultImpls.httpClient(BlueprintWebClientService.kt:54)
      at org.onap.ccsdk.cds.blueprintsprocessor.rest.service.TokenAuthRestClientService.httpClient(TokenAuthRestClientService.kt:24)
      at org.onap.ccsdk.cds.blueprintsprocessor.rest.service.BlueprintWebClientService$DefaultImpls.performCallAndExtractTypedWebClientResponse(BlueprintWebClientService.kt:131)
      at org.onap.ccsdk.cds.blueprintsprocessor.rest.service.BlueprintWebClientService$DefaultImpls.get(BlueprintWebClientService.kt:93)
      at org.onap.ccsdk.cds.blueprintsprocessor.rest.service.TokenAuthRestClientService.get(TokenAuthRestClientService.kt:24)
      at org.onap.ccsdk.cds.blueprintsprocessor.rest.service.BlueprintWebClientService$DefaultImpls.exchangeResource(BlueprintWebClientService.kt:71)
      at org.onap.ccsdk.cds.blueprintsprocessor.rest.service.TokenAuthRestClientService.exchangeResource(TokenAuthRestClientService.kt:24)
      at org.onap.ccsdk.cds.blueprintsprocessor.rest.service.BlueprintWebClientService$DefaultImpls.exchangeResource(BlueprintWebClientService.kt:58)
      at org.onap.ccsdk.cds.blueprintsprocessor.rest.service.TokenAuthRestClientService.exchangeResource(TokenAuthRestClientService.kt:24)
      at org.onap.ccsdk.cds.blueprintsprocessor.functions.resource.resolution.processor.RestResourceResolutionProcessor.processNB$suspendImpl(RestResourceResolutionProcessor.kt:88)
      at org.onap.ccsdk.cds.blueprintsprocessor.functions.resource.resolution.processor.RestResourceResolutionProcessor.processNB(RestResourceResolutionProcessor.kt)
      at org.onap.ccsdk.cds.blueprintsprocessor.functions.resource.resolution.processor.RestResourceResolutionProcessor.processNB(RestResourceResolutionProcessor.kt:43)
      at org.onap.ccsdk.cds.blueprintsprocessor.functions.resource.resolution.processor.ResourceAssignmentProcessor.applyNB(ResourceAssignmentProcessor.kt:92)
      at org.onap.ccsdk.cds.blueprintsprocessor.functions.resource.resolution.ResourceResolutionServiceImpl$resolveResourceAssignments$2$invokeSuspend$$inlined$forEach$lambda$1.invokeSuspend(ResourceResolutionService.kt:188)
      at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:32)
      at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:233)
      at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.kt:116)
      at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:76)
      at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:53)
      at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
      at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:35)
      at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
      at org.onap.ccsdk.cds.blueprintsprocessor.selfservice.api.ExecutionServiceController.process(ExecutionServiceController.kt:69)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.springframework.web.reactive.result.method.InvocableHandlerMethod.lambda$invoke$0(InvocableHandlerMethod.java:139)
      at reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext(MonoFlatMap.java:118)
      at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1505)
      at reactor.core.publisher.MonoZip$ZipCoordinator.signal(MonoZip.java:247)
      at reactor.core.publisher.MonoZip$ZipInner.onNext(MonoZip.java:329)
      at reactor.core.publisher.FluxPeek$PeekSubscriber.onNext(FluxPeek.java:192)
      at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:92)
      at reactor.core.publisher.FluxSwitchIfEmpty$SwitchIfEmptySubscriber.onNext(FluxSwitchIfEmpty.java:67)
      at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onNext(FluxOnErrorResume.java:73)
      at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1505)
      at reactor.core.publisher.MonoSingle$SingleSubscriber.onComplete(MonoSingle.java:171)
      at reactor.core.publisher.FluxFlatMap$FlatMapMain.checkTerminated(FluxFlatMap.java:794)
      at reactor.core.publisher.FluxFlatMap$FlatMapMain.drainLoop(FluxFlatMap.java:560)
      at reactor.core.publisher.FluxFlatMap$FlatMapMain.drain(FluxFlatMap.java:540)
      at reactor.core.publisher.FluxFlatMap$FlatMapMain.onComplete(FluxFlatMap.java:426)
      at reactor.core.publisher.FluxFlatMap$FlatMapMain.checkTerminated(FluxFlatMap.java:794)
      at reactor.core.publisher.FluxFlatMap$FlatMapMain.drainLoop(FluxFlatMap.java:560)
      at reactor.core.publisher.FluxFlatMap$FlatMapMain.drain(FluxFlatMap.java:540)
      at reactor.core.publisher.FluxFlatMap$FlatMapMain.onComplete(FluxFlatMap.java:426)
      at reactor.core.publisher.DrainUtils.postCompleteDrain(DrainUtils.java:131)
      at reactor.core.publisher.DrainUtils.postComplete(DrainUtils.java:186)
      at reactor.core.publisher.FluxMapSignal$FluxMapSignalSubscriber.onComplete(FluxMapSignal.java:213)
      at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:136)
      at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:252)
      at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:136)
      at reactor.netty.channel.FluxReceive.terminateReceiver(FluxReceive.java:372)
      at reactor.netty.channel.FluxReceive.drainReceiver(FluxReceive.java:196)
      at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:337)
      at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:334)
      at reactor.netty.http.server.HttpServerOperations.onInboundNext(HttpServerOperations.java:453)
      at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:141)
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
      at reactor.netty.http.server.HttpTrafficHandler.channelRead(HttpTrafficHandler.java:191)
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
      at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:438)
      at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:323)
      at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:297)
      at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:253)
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
      at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1408)
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
      at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:930)
      at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:799)
      at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:427)
      at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:328)
      at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905)
      at java.lang.Thread.run(Thread.java:748)
      error: unexpected EOF

            ym9479 ym9479
            adetalhouet adetalhouet
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: