Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 2751 invoked from network); 18 Apr 2009 10:32:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Apr 2009 10:32:56 -0000 Received: (qmail 90264 invoked by uid 500); 18 Apr 2009 10:32:56 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 90208 invoked by uid 500); 18 Apr 2009 10:32:56 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 90198 invoked by uid 500); 18 Apr 2009 10:32:56 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 90194 invoked by uid 99); 18 Apr 2009 10:32:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Apr 2009 10:32:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Apr 2009 10:32:53 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1AB99234C004 for ; Sat, 18 Apr 2009 03:32:32 -0700 (PDT) Message-ID: <1311089445.1240050752107.JavaMail.jira@brutus> Date: Sat, 18 Apr 2009 03:32:32 -0700 (PDT) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Updated: (CAMEL-1529) PackageHelper.isValidVersion NPE in osgi In-Reply-To: <1198971779.1239709892393.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-1529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-1529: ------------------------------- Priority: Minor (was: Major) Fix Version/s: 2.1.0 Assignee: Willem Jiang Willem something for you to look at in the OSGi land. As the application runs fine I have lowered the priority. But would be nice to get the exception fixed so the log isnt spammed. > PackageHelper.isValidVersion NPE in osgi > ---------------------------------------- > > Key: CAMEL-1529 > URL: https://issues.apache.org/activemq/browse/CAMEL-1529 > Project: Apache Camel > Issue Type: Bug > Components: camel-activemq > Environment: osgi - Equinox 3.4.2 > org.apache.activemq/activemq-core/5.2.0 > org.apache.activemq/activemq-camel/5.2.0 > org.apache.activemq/activemq-pool/5.2.0 > org.apache.camel/camel-core/2.0-SNAPSHOT > org.apache.camel/camel-jms/2.0-SNAPSHOT > org.apache.camel/camel-spring/2.0-SNAPSHOT > org.apache.camel/camel-osgi/2.0-SNAPSHOT > Reporter: Cameron Braid > Assignee: Willem Jiang > Priority: Minor > Fix For: 2.1.0 > > > [ SpringOsgiExtenderThread-4] PackageHelper DEBUG Failed to find out org.springframework.jms version: java.lang.NullPointerException > java.lang.NullPointerException > at org.apache.camel.util.PackageHelper.isValidVersion(PackageHelper.java:47) > at org.apache.camel.component.jms.JmsConfiguration.defaultCacheLevel(JmsConfiguration.java:1036) > at org.apache.camel.component.jms.JmsConfiguration.configureMessageListenerContainer(JmsConfiguration.java:942) > at org.apache.camel.component.jms.JmsConfiguration.createMessageListenerContainer(JmsConfiguration.java:417) > at org.apache.camel.component.jms.JmsEndpoint.createConsumer(JmsEndpoint.java:161) > at org.apache.camel.component.jms.JmsEndpoint.createConsumer(JmsEndpoint.java:51) > at org.apache.camel.impl.EventDrivenConsumerRoute.addServices(EventDrivenConsumerRoute.java:61) > at org.apache.camel.Route.getServicesForRoute(Route.java:74) > at org.apache.camel.impl.RouteService.doStart(RouteService.java:77) > at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:54) > at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:773) > at org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:94) > at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:113) > at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:78) > at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49) > at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:76) > at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:274) > at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:736) > at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235) > at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358) > at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85) > at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320) > at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:136) > at java.lang.Thread.run(Thread.java:619) > isValidVersion fortunately returns true when an exception occurs, so it gets passed this check anyway. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.