Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15644

camel-salesforce - NullPointerException on route startup

    XMLWordPrintableJSON

    Details

    • Estimated Complexity:
      Unknown

      Description

      While using the toD-Tag in combination with the camel-salesforce component a NullPointerException occurs on route startup. It doesn't appears with the to-Tag.

       

      Stacktrace:

      org.apache.camel.FailedToStartRouteException: Failed to start route isp.route.user.ISPSFO001 because of null
      at org.apache.camel.impl.engine.RouteService.warmUp(RouteService.java:125) ~[!/:3.4.3]
      at org.apache.camel.impl.engine.InternalRouteStartupManager.doWarmUpRoutes(InternalRouteStartupManager.java:263) ~[!/:3.4.3]
      at org.apache.camel.impl.engine.InternalRouteStartupManager.safelyStartRouteServices(InternalRouteStartupManager.java:156) ~[!/:3.4.3]
      at org.apache.camel.impl.engine.InternalRouteStartupManager.doStartOrResumeRoutes(InternalRouteStartupManager.java:114) ~[!/:3.4.3]
      at org.apache.camel.impl.engine.AbstractCamelContext.doStartCamel(AbstractCamelContext.java:2809) ~[!/:3.4.3]
      at org.apache.camel.impl.engine.AbstractCamelContext.doStartContext(AbstractCamelContext.java:2657) ~[!/:3.4.3]
      at org.apache.camel.impl.engine.AbstractCamelContext.doStart(AbstractCamelContext.java:2620) ~[!/:3.4.3]
      at org.apache.camel.support.service.BaseService.start(BaseService.java:115) ~[!/:3.4.3]
      at org.apache.camel.impl.engine.AbstractCamelContext.start(AbstractCamelContext.java:2452) ~[!/:3.4.3]
      at org.apache.camel.blueprint.BlueprintCamelContext.start(BlueprintCamelContext.java:241) ~[!/:3.4.3]
      at org.apache.camel.blueprint.BlueprintCamelContext.maybeStart(BlueprintCamelContext.java:283) ~[!/:3.4.3]
      at org.apache.camel.blueprint.BlueprintCamelContext.blueprintEvent(BlueprintCamelContext.java:187) [!/:3.4.3]
      at org.apache.aries.blueprint.container.BlueprintEventDispatcher$3.call(BlueprintEventDispatcher.java:190) [!/:1.10.2]
      at org.apache.aries.blueprint.container.BlueprintEventDispatcher$3.call(BlueprintEventDispatcher.java:188) [!/:1.10.2]
      at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]
      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]
      at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]
      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]
      at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
      at java.lang.Thread.run(Unknown Source) [?:?]
      Caused by: org.apache.camel.RuntimeCamelException: Cannot auto create component: salesforce
      at org.apache.camel.impl.engine.AbstractCamelContext.getComponent(AbstractCamelContext.java:546) ~[!/:3.4.3]
      at org.apache.camel.impl.engine.AbstractCamelContext.getComponent(AbstractCamelContext.java:504) ~[!/:3.4.3]
      at org.apache.camel.processor.SendDynamicProcessor.doStart(SendDynamicProcessor.java:343) ~[?:?]
      at org.apache.camel.support.service.BaseService.start(BaseService.java:115) ~[!/:3.4.3]
      at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:84) ~[!/:3.4.3]
      at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:101) ~[!/:3.4.3]
      at org.apache.camel.processor.channel.DefaultChannel.doStart(DefaultChannel.java:143) ~[?:?]
      at org.apache.camel.support.service.BaseService.start(BaseService.java:115) ~[!/:3.4.3]
      at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:84) ~[!/:3.4.3]
      at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:87) ~[!/:3.4.3]
      at org.apache.camel.processor.Pipeline.doStart(Pipeline.java:154) ~[?:?]
      at org.apache.camel.support.service.BaseService.start(BaseService.java:115) ~[!/:3.4.3]
      at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:84) ~[!/:3.4.3]
      at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:101) ~[!/:3.4.3]
      at org.apache.camel.processor.TryProcessor.doStart(TryProcessor.java:137) ~[?:?]
      at org.apache.camel.support.service.BaseService.start(BaseService.java:115) ~[!/:3.4.3]
      at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:84) ~[!/:3.4.3]
      at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:101) ~[!/:3.4.3]
      at org.apache.camel.processor.channel.DefaultChannel.doStart(DefaultChannel.java:143) ~[?:?]
      at org.apache.camel.support.service.BaseService.start(BaseService.java:115) ~[!/:3.4.3]
      at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:84) ~[!/:3.4.3]
      at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:87) ~[!/:3.4.3]
      at org.apache.camel.processor.Pipeline.doStart(Pipeline.java:154) ~[?:?]
      at org.apache.camel.support.service.BaseService.start(BaseService.java:115) ~[!/:3.4.3]
      at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:84) ~[!/:3.4.3]
      at org.apache.camel.support.processor.DelegateAsyncProcessor.doStart(DelegateAsyncProcessor.java:78) ~[?:?]
      at org.apache.camel.support.service.BaseService.start(BaseService.java:115) ~[!/:3.4.3]
      at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:84) ~[!/:3.4.3]
      at org.apache.camel.impl.engine.RouteService.startChildService(RouteService.java:334) ~[!/:3.4.3]
      at org.apache.camel.impl.engine.RouteService.doWarmUp(RouteService.java:184) ~[!/:3.4.3]
      at org.apache.camel.impl.engine.RouteService.warmUp(RouteService.java:123) ~[!/:3.4.3]
      ... 22 more
      Caused by: java.lang.NullPointerException
      at org.apache.camel.component.salesforce.SalesforceComponent.doStart(SalesforceComponent.java:341) ~[?:?]
      at org.apache.camel.support.service.BaseService.start(BaseService.java:115) ~[!/:3.4.3]
      at org.apache.camel.impl.engine.AbstractCamelContext.startService(AbstractCamelContext.java:3025) ~[!/:3.4.3]
      at org.apache.camel.impl.engine.AbstractCamelContext.getComponent(AbstractCamelContext.java:541) ~[!/:3.4.3]
      at org.apache.camel.impl.engine.AbstractCamelContext.getComponent(AbstractCamelContext.java:504) ~[!/:3.4.3]
      at org.apache.camel.processor.SendDynamicProcessor.doStart(SendDynamicProcessor.java:343) ~[?:?]
      at org.apache.camel.support.service.BaseService.start(BaseService.java:115) ~[!/:3.4.3]
      at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:84) ~[!/:3.4.3]
      at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:101) ~[!/:3.4.3]
      at org.apache.camel.processor.channel.DefaultChannel.doStart(DefaultChannel.java:143) ~[?:?]
      at org.apache.camel.support.service.BaseService.start(BaseService.java:115) ~[!/:3.4.3]
      at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:84) ~[!/:3.4.3]
      at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:87) ~[!/:3.4.3]
      at org.apache.camel.processor.Pipeline.doStart(Pipeline.java:154) ~[?:?]
      at org.apache.camel.support.service.BaseService.start(BaseService.java:115) ~[!/:3.4.3]
      at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:84) ~[!/:3.4.3]
      at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:101) ~[!/:3.4.3]
      at org.apache.camel.processor.TryProcessor.doStart(TryProcessor.java:137) ~[?:?]
      at org.apache.camel.support.service.BaseService.start(BaseService.java:115) ~[!/:3.4.3]
      at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:84) ~[!/:3.4.3]
      at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:101) ~[!/:3.4.3]
      at org.apache.camel.processor.channel.DefaultChannel.doStart(DefaultChannel.java:143) ~[?:?]
      at org.apache.camel.support.service.BaseService.start(BaseService.java:115) ~[!/:3.4.3]
      at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:84) ~[!/:3.4.3]
      at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:87) ~[!/:3.4.3]
      at org.apache.camel.processor.Pipeline.doStart(Pipeline.java:154) ~[?:?]
      at org.apache.camel.support.service.BaseService.start(BaseService.java:115) ~[!/:3.4.3]
      at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:84) ~[!/:3.4.3]
      at org.apache.camel.support.processor.DelegateAsyncProcessor.doStart(DelegateAsyncProcessor.java:78) ~[?:?]
      at org.apache.camel.support.service.BaseService.start(BaseService.java:115) ~[!/:3.4.3]
      at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:84) ~[!/:3.4.3]
      at org.apache.camel.impl.engine.RouteService.startChildService(RouteService.java:334) ~[!/:3.4.3]
      at org.apache.camel.impl.engine.RouteService.doWarmUp(RouteService.java:184) ~[!/:3.4.3]
      at org.apache.camel.impl.engine.RouteService.warmUp(RouteService.java:123) ~[!/:3.4.3]
      ... 22 more

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              Dennis Wiesemann Dennis Wiesemann
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: