Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-1110

FuseByExample smx-application-plugins gets RuntimeCamelException on features:install flights-irish-airline

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jboss-fuse-6.1
    • jboss-fuse-6.1
    • None
    • None
    • % %

      I updated the following properties in pom.xml for this example

      <camel-version>2.12.0.redhat-610312</camel-version>
      <activemq-camel-version>5.9.0.redhat-610312</activemq-camel-version>
      <servicemix-version>4.5.0.redhat-610312</servicemix-version>

      Then on the fuse console, when I executed "features:install flights-irish-airline" I got the following exception:

      15:44:24,904 | ERROR | ExtenderThread-4 | ContextLoaderListener | 144 - org.springframework.osgi.extender - 1.2.1 | Application context refresh failed (OsgiBundleXmlApplicationContext(bundle=flights-plugin-irish-airline, config=osgibundle:/META-INF/spring/*.xml))
      org.apache.camel.RuntimeCamelException: java.lang.NullPointerException
      at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1363)[141:org.apache.camel.camel-core:2.12.0.redhat-610312]
      at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:120)[148:org.apache.camel.camel-spring:2.12.0.redhat-610312]
      at org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:301)[148:org.apache.camel.camel-spring:2.12.0.redhat-610312]
      at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:96)[123:org.springframework.context:3.2.4.RELEASE]
      at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334)[123:org.springframework.context:3.2.4.RELEASE]
      at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:948)[123:org.springframework.context:3.2.4.RELEASE]
      at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)[145:org.springframework.osgi.core:1.2.1]
      at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)[145:org.springframework.osgi.core:1.2.1]
      at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[145:org.springframework.osgi.core:1.2.1]
      at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)[145:org.springframework.osgi.core:1.2.1]
      at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)[144:org.springframework.osgi.extender:1.2.1]
      at java.lang.Thread.run(Thread.java:744)[:1.7.0_45]
      Caused by: java.lang.NullPointerException
      at org.apache.servicemix.camel.nmr.ServiceMixComponent.registerEndpoint(ServiceMixComponent.java:63)[260:org.apache.servicemix.camel.component:4.5.0.redhat-610312]
      at org.apache.servicemix.camel.nmr.ServiceMixConsumer.doStart(ServiceMixConsumer.java:49)[260:org.apache.servicemix.camel.component:4.5.0.redhat-610312]
      at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)[141:org.apache.camel.camel-core:2.12.0.redhat-610312]
      at org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:1903)[141:org.apache.camel.camel-core:2.12.0.redhat-610312]
      at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRouteConsumers(DefaultCamelContext.java:2197)[141:org.apache.camel.camel-core:2.12.0.redhat-610312]
      at org.apache.camel.impl.DefaultCamelContext.doStartRouteConsumers(DefaultCamelContext.java:2133)[141:org.apache.camel.camel-core:2.12.0.redhat-610312]
      at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:2063)[141:org.apache.camel.camel-core:2.12.0.redhat-610312]
      at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:1842)[141:org.apache.camel.camel-core:2.12.0.redhat-610312]
      at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1714)[141:org.apache.camel.camel-core:2.12.0.redhat-610312]
      at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1559)[141:org.apache.camel.camel-core:2.12.0.redhat-610312]
      at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)[141:org.apache.camel.camel-core:2.12.0.redhat-610312]
      at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1527)[141:org.apache.camel.camel-core:2.12.0.redhat-610312]
      at org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:221)[148:org.apache.camel.camel-spring:2.12.0.redhat-610312]
      at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:118)[148:org.apache.camel.camel-spring:2.12.0.redhat-610312]
      ... 10 more

            yfang@redhat.com Freeman(Yue) Fang
            kearls@redhat.com Kevin Earls (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: