Return-Path: X-Original-To: apmail-karaf-dev-archive@minotaur.apache.org Delivered-To: apmail-karaf-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D14ECD401 for ; Sat, 14 Jul 2012 19:02:11 +0000 (UTC) Received: (qmail 74408 invoked by uid 500); 14 Jul 2012 19:02:11 -0000 Delivered-To: apmail-karaf-dev-archive@karaf.apache.org Received: (qmail 74350 invoked by uid 500); 14 Jul 2012 19:02:11 -0000 Mailing-List: contact dev-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list dev@karaf.apache.org Delivered-To: moderator for dev@karaf.apache.org Received: (qmail 58923 invoked by uid 99); 13 Jul 2012 19:56:47 -0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.236.26 is neither permitted nor denied by domain of ashok.mollin@gmail.com) Date: Fri, 13 Jul 2012 12:56:20 -0700 (PDT) From: amollin To: dev@karaf.apache.org Message-ID: <1342209380855-4025233.post@n3.nabble.com> Subject: info-route generating NullPointerException MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello there, I've a simple Camel beans.xml that I've deployed in karaf. When I execute info-route command, I get a NullPointerException as shown below: 2012-07-13 15:47:58,374 | INFO | l Console Thread | Console | ? ? | 25 - org.apache.karaf.shell.cons ole - 2.2.4 | Exception caught while executing command java.lang.NullPointerException at java.util.Calendar.setTime(Calendar.java:1076)[:1.6.0_31] at java.text.SimpleDateFormat.format(SimpleDateFormat.java:875)[:1.6.0_31] at java.text.SimpleDateFormat.format(SimpleDateFormat.java:868)[:1.6.0_31] at java.text.DateFormat.format(DateFormat.java:316)[:1.6.0_31] at org.apache.camel.karaf.commands.InfoRouteCommand.doExecute(InfoRouteCommand.java:96)[95:org.apache.camel.karaf.camel-karaf-commands:2.8.4] at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[25:org.apache.karaf.shell.console:2.2.4] at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[25:org.apache.karaf.shell.console:2.2.4] at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[25:org.apache.karaf.shell.console:2.2.4] at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[25:org.apache.karaf.shell.console:2.2.4] at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[25:org.apache.karaf.shell.console:2.2.4] at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:2.2.4] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[25:org.apache.karaf.shell.console:2.2.4] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[25:org.apache.karaf.shell.console:2.2.4] at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[25:org.apache.karaf.shell.console:2.2.4] at org.apache.karaf.shell.console.jline.Console.run(Console.java:218)[25:org.apache.karaf.shell.console:2.2.4] at java.lang.Thread.run(Thread.java:662)[:1.6.0_31] Please advise. Thanks, Ashok -- View this message in context: http://karaf.922171.n3.nabble.com/info-route-generating-NullPointerException-tp4025233.html Sent from the Karaf - Dev mailing list archive at Nabble.com.