Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 77479 invoked from network); 23 Apr 2009 07:38:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Apr 2009 07:38:58 -0000 Received: (qmail 68869 invoked by uid 500); 23 Apr 2009 07:38:57 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 68795 invoked by uid 500); 23 Apr 2009 07:38:57 -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 68785 invoked by uid 500); 23 Apr 2009 07:38:57 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 68781 invoked by uid 99); 23 Apr 2009 07:38:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Apr 2009 07:38:57 +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; Thu, 23 Apr 2009 07:38:55 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0F04B234C044 for ; Thu, 23 Apr 2009 00:38:34 -0700 (PDT) Message-ID: <577060789.1240472314060.JavaMail.jira@brutus> Date: Thu, 23 Apr 2009 00:38:34 -0700 (PDT) From: "Willem Jiang (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Resolved: (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 ] Willem Jiang resolved CAMEL-1529. --------------------------------- Resolution: Fixed Fix Version/s: 1.6.1 trunk http://svn.apache.org/viewvc?rev=767824&view=rev camel-1.x http://svn.apache.org/viewvc?rev=767829&view=rev > 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-osgi > 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: 1.6.1, 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.