Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3743B200BF3 for ; Thu, 5 Jan 2017 09:44:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 35EB1160B26; Thu, 5 Jan 2017 08:44:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 81487160B27 for ; Thu, 5 Jan 2017 09:43:59 +0100 (CET) Received: (qmail 71595 invoked by uid 500); 5 Jan 2017 08:43:53 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 71581 invoked by uid 99); 5 Jan 2017 08:43:53 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jan 2017 08:43:53 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id C065AC03A0 for ; Thu, 5 Jan 2017 08:43:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.38 X-Spam-Level: ** X-Spam-Status: No, score=2.38 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=trantorinc.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 4hoMKfkE-hnA for ; Thu, 5 Jan 2017 08:43:50 +0000 (UTC) Received: from mail-wj0-f174.google.com (mail-wj0-f174.google.com [209.85.210.174]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 621515F286 for ; Thu, 5 Jan 2017 08:43:50 +0000 (UTC) Received: by mail-wj0-f174.google.com with SMTP id i20so29140386wjn.2 for ; Thu, 05 Jan 2017 00:43:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trantorinc.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=GeuZL1xg/Njw+xnjDsXZOL4k4t/u8GuWrp74BOOitY0=; b=Ljw0M/BBj7HQWXFp5upg/mUIqWz9uETexXUlXDoZTI/iFF4xUqlxH9G37l6WgqBXCo pW+HOYkSpvt4XS0z2Pncf10ywM/BoToxne7Ctwgtr89gO44lm/5Sin4Y2tfgOwMXto+X v7l1wf5jf7tVSfZru+yGOX0LjcnX81Im+NgqpOZBjlkeI5vi8nqkC9FylRx2OQc/EqCL swzQGo3qONARgoE7kUJTZddkKtQkT5MA+73alczBSLI6VHpdGQ+q5S2woasaiaF1IzLO iqOS9567suL7Kz/val9dw62HDbHscWkhXc+bW6mnrv5IwOnaiFrMNEtSHfEiVMmzqH62 is8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=GeuZL1xg/Njw+xnjDsXZOL4k4t/u8GuWrp74BOOitY0=; b=OSvFj+TAitPyIhtkbCXpSGMLiu1fpgZfLWE8flygz1TNQYyncaKJxSny+UBSz0c2eN t4t2xcAsXLwYlxY4zohCzbkXRf8FqPjxbE4c0CljSH/O9uIW83vGVYxk/hbUBDT6gRVH /X1pnj90/z0GWZvedNiuW0+lSuprSlpNRJ8ax43oRFVxpcsiNfsvo/sZbN+zwPX7/fuH kqEtWW21Bsb9tlkDCYeAtbOGqz5N65LN5aQ707aaDl4KMVNdUc9n3JbTcKajyW7OP53X GCXnDaC46rRMiHia/LpfMyxq6nwDLdAZmzdVafXK33UQ0TOn/uWPJFIIxIGt8TXkRwp8 vnxw== X-Gm-Message-State: AIkVDXKNBSJMc7b6/NG7XZT1a6qb7rxr/sfiXpDVZcLZ77xqHnLhonsMMfJtROfFrKcsEUpdua6GvgKmdGTRz768 X-Received: by 10.194.58.52 with SMTP id n20mr59477384wjq.110.1483605824109; Thu, 05 Jan 2017 00:43:44 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.74.2 with HTTP; Thu, 5 Jan 2017 00:43:03 -0800 (PST) From: Trilok Agarwal Date: Thu, 5 Jan 2017 14:13:03 +0530 Message-ID: Subject: Camel Box component throwing RuntimeException To: users@camel.apache.org Content-Type: multipart/alternative; boundary=047d7ba979b42214b9054554e65f archived-at: Thu, 05 Jan 2017 08:44:00 -0000 --047d7ba979b42214b9054554e65f Content-Type: text/plain; charset=UTF-8 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 --047d7ba979b42214b9054554e65f--