<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: NPE with REST and Camel in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/npe-with-rest-and-camel/m-p/128117#M90084</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This might be the cure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://github.com/Activiti/Activiti/pull/126" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/pull/126&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you test if it fixes your problem ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;– Saeid&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Sep 2013 11:55:23 GMT</pubDate>
    <dc:creator>smirzai</dc:creator>
    <dc:date>2013-09-06T11:55:23Z</dc:date>
    <item>
      <title>NPE with REST and Camel</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/npe-with-rest-and-camel/m-p/128114#M90081</link>
      <description>Hi When starting a camel process instance from a rest post, I'm getting a Null Pointer Exception on the receive - so the instance gets stuck waiting for a receive which never arrives.&amp;nbsp; I can invoke the same process from explorer and it completes fine.I've reproduced this using the async Camel exampl</description>
      <pubDate>Wed, 26 Jun 2013 16:32:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/npe-with-rest-and-camel/m-p/128114#M90081</guid>
      <dc:creator>mallux</dc:creator>
      <dc:date>2013-06-26T16:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: NPE with REST and Camel</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/npe-with-rest-and-camel/m-p/128115#M90082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Chris,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you add the camel context definition to the activiti-context.xml file in the Activiti REST application?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 13:52:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/npe-with-rest-and-camel/m-p/128115#M90082</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-06-27T13:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: NPE with REST and Camel</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/npe-with-rest-and-camel/m-p/128116#M90083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tijs&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes I added this to the activit-context.xml:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;import resource="activiti-camel-context.xml" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and that file contains:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;beans xmlns="&lt;/SPAN&gt;&lt;A href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/beans&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:xsi="&lt;/SPAN&gt;&lt;A href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN&gt;" xmlns:context="&lt;/SPAN&gt;&lt;A href="http://www.springframework.org/schema/context" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/context&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:tx="&lt;/SPAN&gt;&lt;A href="http://www.springframework.org/schema/tx" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/tx&lt;/A&gt;&lt;SPAN&gt;" xmlns:jee="&lt;/SPAN&gt;&lt;A href="http://www.springframework.org/schema/jee" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/jee&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xsi:schemaLocation="&lt;/SPAN&gt;&lt;A href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/beans&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A href="http://www.springframework.org/schema/beans/spring-beans-3.1.xsd" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/beans/spring-beans-3.1.xsd&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://www.springframework.org/schema/context" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/context&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A href="http://www.springframework.org/schema/context/spring-context-3.1.xsd" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/context/spring-context-3.1.xsd&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://www.springframework.org/schema/tx" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/tx&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A href="http://www.springframework.org/schema/tx/spring-tx-3.1.xsd" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/tx/spring-tx-3.1.xsd&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://camel.apache.org/schema/spring" rel="nofollow noopener noreferrer"&gt;http://camel.apache.org/schema/spring&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A href="http://camel.apache.org/schema/spring/camel-spring-2.11.0.xsd" rel="nofollow noopener noreferrer"&gt;http://camel.apache.org/schema/spring/camel-spring-2.11.0.xsd&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://www.springframework.org/schema/jee" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/jee&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A href="http://www.springframework.org/schema/jee/spring-jee-3.1.xsd" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/jee/spring-jee-3.1.xsd&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;camelContext id="camelContext" xmlns="&lt;/SPAN&gt;&lt;A href="http://camel.apache.org/schema/spring" rel="nofollow noopener noreferrer"&gt;http://camel.apache.org/schema/spring&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;packageScan&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;package&amp;gt;org.activiti.camel.route&amp;lt;/package&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/packageScan&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/camelContext&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;bean id="sleepBean" class="org.activiti.camel.util.SleepBean"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/beans&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The routes seem to be being loaded ok during startup, and I can see the bean executing if I add some debug statements, which would seem to indicate that there is nothing fundamentally wrong with the camel part.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll see if I can put together a unit test which demonstrates the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 14:58:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/npe-with-rest-and-camel/m-p/128116#M90083</guid>
      <dc:creator>mallux</dc:creator>
      <dc:date>2013-06-27T14:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: NPE with REST and Camel</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/npe-with-rest-and-camel/m-p/128117#M90084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This might be the cure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://github.com/Activiti/Activiti/pull/126" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/pull/126&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you test if it fixes your problem ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;– Saeid&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Sep 2013 11:55:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/npe-with-rest-and-camel/m-p/128117#M90084</guid>
      <dc:creator>smirzai</dc:creator>
      <dc:date>2013-09-06T11:55:23Z</dc:date>
    </item>
  </channel>
</rss>

