<?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 Activiti on Spring configuration issue with navigatorManager in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-on-spring-configuration-issue-with-navigatormanager/m-p/145357#M101568</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I try to get Activiti including Explorer (and Camel, doesn't matter here) running in a spring container.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Activiti Engine is working. (At least, there is no error on startup) But I can't get the explorer running.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;mvn camel:run dies with java.lang.reflect.InvocationTargetException&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'navigatorManager'&lt;BR /&gt;Caused by: java.lang.NullPointerException&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.activiti.explorer.navigation.TaskNavigator.&amp;lt;init&amp;gt;(TaskNavigator.java:51)&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not quite sure if the beans-configuration is complete.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Everything is fine if I comment out following line from context definition:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;bean name="navigatorManager" class="org.activiti.explorer.navigation.NavigatorManager" /&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I actually do have a &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;bean id="processEngine" class="org.activiti.spring.ProcessEngineFactoryBean"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;property name="processEngineConfiguration" ref="processEngineConfiguration" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/bean&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anybody give me a hint what I forgot?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT: added the info the problem is concerning the explorer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Mar 2013 10:52:56 GMT</pubDate>
    <dc:creator>macbarfuss</dc:creator>
    <dc:date>2013-03-26T10:52:56Z</dc:date>
    <item>
      <title>Activiti on Spring configuration issue with navigatorManager</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-on-spring-configuration-issue-with-navigatormanager/m-p/145357#M101568</link>
      <description>I try to get Activiti including Explorer (and Camel, doesn't matter here) running in a spring container.The Activiti Engine is working. (At least, there is no error on startup) But I can't get the explorer running.mvn camel:run dies with java.lang.reflect.InvocationTargetExceptionCaused by: org.spri</description>
      <pubDate>Tue, 26 Mar 2013 10:52:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-on-spring-configuration-issue-with-navigatormanager/m-p/145357#M101568</guid>
      <dc:creator>macbarfuss</dc:creator>
      <dc:date>2013-03-26T10:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti on Spring configuration issue with navigatorManager</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-on-spring-configuration-issue-with-navigatormanager/m-p/145358#M101569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I compared my configuration with the examlpe configuration attached to "Activiti In Action" (book-camel) and corrected some entries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now it runs.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2013 13:33:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-on-spring-configuration-issue-with-navigatormanager/m-p/145358#M101569</guid>
      <dc:creator>macbarfuss</dc:creator>
      <dc:date>2013-03-26T13:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti on Spring configuration issue with navigatorManager</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-on-spring-configuration-issue-with-navigatormanager/m-p/145359#M101570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Maybe you can share what you did wrong, can be interesting for other uses as well…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 12:03:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-on-spring-configuration-issue-with-navigatormanager/m-p/145359#M101570</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-03-27T12:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti on Spring configuration issue with navigatorManager</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-on-spring-configuration-issue-with-navigatormanager/m-p/145360#M101571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, you're right.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I tried to get everything up I added the necessary beans and tried to start with mvn camel:run.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I first had errors here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt; &amp;lt;bean id="repositoryService" factory-bean="processEngine"&lt;BR /&gt;&amp;nbsp; factory-method="getRepositoryService" /&amp;gt;&lt;BR /&gt; &amp;lt;bean id="runtimeService" factory-bean="processEngine"&lt;BR /&gt;&amp;nbsp; factory-method="getRuntimeService" /&amp;gt;&lt;BR /&gt; &amp;lt;bean id="taskService" factory-bean="processEngine"&lt;BR /&gt;&amp;nbsp; factory-method="getTaskService" /&amp;gt;&lt;BR /&gt; &amp;lt;bean id="historyService" factory-bean="processEngine"&lt;BR /&gt;&amp;nbsp; factory-method="getHistoryService" /&amp;gt;&lt;BR /&gt; &amp;lt;bean id="managementService" factory-bean="processEngine"&lt;BR /&gt;&amp;nbsp; factory-method="getManagementService" /&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to figure out what was wrong and found similar bean configurations on the web with processEngingeConfiguration as factory-bean, like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt; &amp;lt;bean id="repositoryService" factory-bean="processEngingeConfiguration"&lt;BR /&gt;&amp;nbsp; factory-method="getRepositoryService" /&amp;gt;&lt;BR /&gt; &amp;lt;bean id="runtimeService" factory-bean="processEngingeConfiguration"&lt;BR /&gt;&amp;nbsp; factory-method="getRuntimeService" /&amp;gt;&lt;BR /&gt; &amp;lt;bean id="taskService" factory-bean="processEngingeConfiguration"&lt;BR /&gt;&amp;nbsp; factory-method="getTaskService" /&amp;gt;&lt;BR /&gt; &amp;lt;bean id="historyService" factory-bean="processEngingeConfiguration"&lt;BR /&gt;&amp;nbsp; factory-method="getHistoryService" /&amp;gt;&lt;BR /&gt; &amp;lt;bean id="managementService" factory-bean="processEngingeConfiguration"&lt;BR /&gt;&amp;nbsp; factory-method="getManagementService" /&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Then this seamed to work until I got the error when I started this thread. I had to change things back as shown in the first code block.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I'm sorry, I have no idea why this did not work and works now. Maybe I changed a dependency from maven but can't remeber.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 12:46:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-on-spring-configuration-issue-with-navigatormanager/m-p/145360#M101571</guid>
      <dc:creator>macbarfuss</dc:creator>
      <dc:date>2013-03-27T12:46:56Z</dc:date>
    </item>
  </channel>
</rss>

