Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 17DB9100BB for ; Thu, 12 Sep 2013 02:35:55 +0000 (UTC) Received: (qmail 43737 invoked by uid 500); 12 Sep 2013 02:35:53 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 43617 invoked by uid 500); 12 Sep 2013 02:35:53 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 43608 invoked by uid 99); 12 Sep 2013 02:35:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Sep 2013 02:35:52 +0000 Date: Thu, 12 Sep 2013 02:35:52 +0000 (UTC) From: "Willem Jiang (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CXF-5272) NPE will cause the camel-cxf endpoint start error in blueprint MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Willem Jiang created CXF-5272: --------------------------------- Summary: NPE will cause the camel-cxf endpoint start error in blueprint Key: CXF-5272 URL: https://issues.apache.org/jira/browse/CXF-5272 Project: CXF Issue Type: Bug Components: Transports Reporter: Willem Jiang Assignee: Willem Jiang Fix For: 3.0.0, 2.7.7 When I ran some test on the CXF 2.7.7-SNAPSHOT with Camel 2.12.1-SNAPSHOT, I got a test error like this CxfEndpointBeansTest.testCxfBusConfiguration:97->Assert.assertTrue:41->Assert.fail:88 Should get the fault here The stack trace of CXF is {code} Caused by: java.lang.RuntimeException: Could not process configuration. at org.apache.cxf.transport.http.blueprint.HTTPClientPolicyHolder.init(HTTPClientPolicyHolder.java:79) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297) at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:958) at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:712) ... 60 more Caused by: java.lang.NullPointerException at org.apache.cxf.transports.http.configuration.HTTPClientPolicy.getProxyServerPort(HTTPClientPolicy.java:787) at org.apache.cxf.transport.http.blueprint.HTTPClientPolicyHolder.init(HTTPClientPolicyHolder.java:73) ... 67 more {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira