camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trilok Agarwal <trilok.agar...@trantorinc.com>
Subject Camel Box component throwing RuntimeException
Date Thu, 05 Jan 2017 08:43:03 GMT
Hi

I am using Camel Box version 2.16.3 my bundle get build successfully, but I
am deploying it under servicemix 6.1.2 I am getting below excpetion-

I created a sample service by using the same code provided as an example to
use camel box component.

java.lang.IllegalArgumentException: Cannot locate declared field class
org.apache.http.impl.client.HttpClientBuilder.sslcontext
at
org.apache.commons.lang3.Validate.isTrue(Validate.java:155)[330:org.apache.commons.lang3:3.4.0]
at
org.apache.commons.lang3.reflect.FieldUtils.readDeclaredField(FieldUtils.java:512)[330:org.apache.commons.lang3:3.4.0]
at
com.gargoylesoftware.htmlunit.HttpWebConnection.createConnectionManager(HttpWebConnection.java:775)[333:org.apache.servicemix.bundles.htmlunit:2.15.0.1]
at
com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse(HttpWebConnection.java:159)[333:org.apache.servicemix.bundles.htmlunit:2.15.0.1]
at
com.gargoylesoftware.htmlunit.util.WebConnectionWrapper.getResponse(WebConnectionWrapper.java:68)[333:org.apache.servicemix.bundles.htmlunit:2.15.0.1]
at
org.apache.camel.component.box.internal.LoginAuthFlowUI$1.getResponse(LoginAuthFlowUI.java:109)[328:org.apache.camel.camel-box:2.16.3]
at
com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1313)[333:org.apache.servicemix.bundles.htmlunit:2.15.0.1]
at
com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1230)[333:org.apache.servicemix.bundles.htmlunit:2.15.0.1]
at
com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:338)[333:org.apache.servicemix.bundles.htmlunit:2.15.0.1]
at
com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:407)[333:org.apache.servicemix.bundles.htmlunit:2.15.0.1]
at
com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:392)[333:org.apache.servicemix.bundles.htmlunit:2.15.0.1]
at
org.apache.camel.component.box.internal.LoginAuthFlowUI.authenticate(LoginAuthFlowUI.java:129)[328:org.apache.camel.camel-box:2.16.3]
at
com.box.boxjavalibv2.BoxClient.authenticate(BoxClient.java:515)[332:wrap_mvn_net.box_boxjavalibv2_3.2.1:0.0.0]
at
org.apache.camel.component.box.internal.BoxClientHelper.getOAuthToken(BoxClientHelper.java:178)[328:org.apache.camel.camel-box:2.16.3]
at
org.apache.camel.component.box.BoxEndpoint.doStart(BoxEndpoint.java:225)[328:org.apache.camel.camel-box:2.16.3]
at
org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)[81:org.apache.camel.camel-core:2.16.3]
at
org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:3234)[81:org.apache.camel.camel-core:2.16.3]
at
org.apache.camel.impl.DefaultCamelContext.doAddService(DefaultCamelContext.java:1209)[81:org.apache.camel.camel-core:2.16.3]
at
org.apache.camel.impl.DefaultCamelContext.addService(DefaultCamelContext.java:1170)[81:org.apache.camel.camel-core:2.16.3]
at
org.apache.camel.impl.DefaultCamelContext.addService(DefaultCamelContext.java:1166)[81:org.apache.camel.camel-core:2.16.3]

Can anyone please suggest what is wrong here?

Rgds
Trilok

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message