Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DAF1711E10 for ; Mon, 5 May 2014 05:36:57 +0000 (UTC) Received: (qmail 93081 invoked by uid 500); 5 May 2014 05:36:56 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 92868 invoked by uid 500); 5 May 2014 05:36:55 -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 92860 invoked by uid 99); 5 May 2014 05:36:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 May 2014 05:36:53 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of shiv.dixit.bgp@gmail.com does not designate 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 May 2014 05:36:50 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1WhBZi-0004Ri-RV for users@camel.apache.org; Sun, 04 May 2014 22:36:26 -0700 Date: Sun, 4 May 2014 22:36:26 -0700 (PDT) From: Shiv To: users@camel.apache.org Message-ID: <1399268186739-5750852.post@n5.nabble.com> In-Reply-To: References: <1399023303275-5750783.post@n5.nabble.com> <1399031452209-5750788.post@n5.nabble.com> Subject: Re: java.lang.NullPointerException in Camel JDBC component for Select statement MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org As per your suggestion, I changed the logging level of the package and got below line in log: 2014-05-05 10:53:46,007 | DEBUG | Creating new JDBC Driver Connection to [jdbc:microsoft:sqlserver://:1433;DatabaseName=TESTDB] | org.springframework.jdbc.datasource.SimpleDriverDataSource Does it also expect to log successful connection message if connection is created successfully? Thanks Shiv -- View this message in context: http://camel.465427.n5.nabble.com/java-lang-NullPointerException-in-Camel-JDBC-component-for-Select-statement-tp5750783p5750852.html Sent from the Camel - Users mailing list archive at Nabble.com.