<?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: How to add new user to activiti through API in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-new-user-to-activiti-through-api/m-p/201991#M155121</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The identityService attribute seems to be null in your example. I also don't see it getting assigned an IdentityService instance, which you do for the repositoryService etc.&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, 30 Oct 2014 15:25:12 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2014-10-30T15:25:12Z</dc:date>
    <item>
      <title>How to add new user to activiti through API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-new-user-to-activiti-through-api/m-p/201988#M155118</link>
      <description>I am trrying ti add users to the process engine, but it keeps throwing the java.lang.NullPointerExceptionHere is my code&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ackage fluis;import java.util.List;import org.activiti.engine.HistoryService;import org.activiti.engine.IdentityService;import org.activiti.engine.ProcessEngine;import org.activi</description>
      <pubDate>Wed, 29 Oct 2014 19:45:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-new-user-to-activiti-through-api/m-p/201988#M155118</guid>
      <dc:creator>vishnukumarnekk</dc:creator>
      <dc:date>2014-10-29T19:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to add new user to activiti through API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-new-user-to-activiti-through-api/m-p/201989#M155119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Any stacktrace?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you create jUniti test?&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.activiti.org/content/sticky-how-write-unit-test" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/content/sticky-how-write-unit-test&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 05:38:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-new-user-to-activiti-through-api/m-p/201989#M155119</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-10-30T05:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to add new user to activiti through API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-new-user-to-activiti-through-api/m-p/201990#M155120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Console output:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;log4j:WARN No appenders could be found for logger (org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;log4j:WARN Please initialize the log4j system properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;log4j:WARN See &lt;/SPAN&gt;&lt;A href="http://logging.apache.org/log4j/1.2/faq.html#noconfig" rel="nofollow noopener noreferrer"&gt;http://logging.apache.org/log4j/1.2/faq.html#noconfig&lt;/A&gt;&lt;SPAN&gt; for more info.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Exception in thread "main" java.lang.NullPointerException&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at fluis.adduser.main(adduser.java:77)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I ran the unit test and it is throwing an Error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Class not found fluis.MyUnitTest&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;java.lang.ClassNotFoundException: fluis.MyUnitTest&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.net.URLClassLoader$1.run(URLClassLoader.java:372)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.net.URLClassLoader$1.run(URLClassLoader.java:361)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.security.AccessController.doPrivileged(Native Method)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.net.URLClassLoader.findClass(URLClassLoader.java:360)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.lang.ClassLoader.loadClass(ClassLoader.java:424)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.lang.ClassLoader.loadClass(ClassLoader.java:357)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClass(RemoteTestRunner.java:685)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClasses(RemoteTestRunner.java:421)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:444)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also tried to catch the exception but the try{} catch(){} method is not working&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 14:47:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-new-user-to-activiti-through-api/m-p/201990#M155120</guid>
      <dc:creator>vishnukumarnekk</dc:creator>
      <dc:date>2014-10-30T14:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to add new user to activiti through API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-new-user-to-activiti-through-api/m-p/201991#M155121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The identityService attribute seems to be null in your example. I also don't see it getting assigned an IdentityService instance, which you do for the repositoryService etc.&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, 30 Oct 2014 15:25:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-new-user-to-activiti-through-api/m-p/201991#M155121</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2014-10-30T15:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to add new user to activiti through API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-new-user-to-activiti-through-api/m-p/201992#M155122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank alot, I wouldn't have check it forever.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Nov 2014 08:43:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-new-user-to-activiti-through-api/m-p/201992#M155122</guid>
      <dc:creator>vishnukumarnekk</dc:creator>
      <dc:date>2014-11-02T08:43:57Z</dc:date>
    </item>
  </channel>
</rss>

