<?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: Activiti REST-LDAP integration broken in 5.15.1 in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-ldap-integration-broken-in-5-15-1/m-p/174387#M127517</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmmm interesting. So it indeed must be something different.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which snapshot build did you use? Maybe we can pinpoint the wrong code line in the period between the snapshot build and the release?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 May 2014 07:19:05 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2014-05-27T07:19:05Z</dc:date>
    <item>
      <title>Activiti REST-LDAP integration broken in 5.15.1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-ldap-integration-broken-in-5-15-1/m-p/174382#M127512</link>
      <description>Hello at all,I configured Activiti 5.14 REST-Webapp with the following LDAP-Parameters and everything worked perfectly fine:&amp;lt;property name="configurators"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;list&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;bean class="org.activiti.ldap.LDAPConfigurator"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!– Server conn</description>
      <pubDate>Tue, 20 May 2014 13:16:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-ldap-integration-broken-in-5-15-1/m-p/174382#M127512</guid>
      <dc:creator>b_schnarr</dc:creator>
      <dc:date>2014-05-20T13:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti REST-LDAP integration broken in 5.15.1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-ldap-integration-broken-in-5-15-1/m-p/174383#M127513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It seems to be related to MyBatis&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;org.apache.ibatis.scripting.xmltags.ExpressionEvaluator.evaluateBoolean(ExpressionEvaluator.java:29)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have any other versions of MyBatis on your classpath?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 09:26:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-ldap-integration-broken-in-5-15-1/m-p/174383#M127513</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-05-21T09:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti REST-LDAP integration broken in 5.15.1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-ldap-integration-broken-in-5-15-1/m-p/174384#M127514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I did not change anything. I downloaded the new war-file from activiti.org and deployed it. Then I got this error. Deleting 5.15-war and deploying 5.14-war, all worked Fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Therefore, this should be reproducable&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 09:34:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-ldap-integration-broken-in-5-15-1/m-p/174384#M127514</guid>
      <dc:creator>b_schnarr</dc:creator>
      <dc:date>2014-05-21T09:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti REST-LDAP integration broken in 5.15.1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-ldap-integration-broken-in-5-15-1/m-p/174385#M127515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt; Therefore, this should be reproducable&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That is why I asked what is going in. It is reproducable in your case. Remember, we've got unit tests for this, and we don't have failures. So it must be something that goes in on your side that makes it fail. Which is not tested in the unit test.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The error seems to be happening on the line that was changed in 5.15:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://github.com/Activiti/Activiti/commit/691b8ef0953cac4381ec95a8269182cf0ccaccf7" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/commit/691b8ef0953cac4381ec95a8269182cf0ccaccf7&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems that the Rdn.escapeValue is not doing what it should do for you?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 11:13:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-ldap-integration-broken-in-5-15-1/m-p/174385#M127515</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-05-22T11:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti REST-LDAP integration broken in 5.15.1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-ldap-integration-broken-in-5-15-1/m-p/174386#M127516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, indeed. I also saw this line. But I do not have enough skills to figure out what is wrong. But this does not seem to be the root cause because with this line&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt; searchExpression = MessageFormat.format(ldapConfigurator.getQueryGroupsForUser(), Rdn.escapeValue(userDn));&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;everything works fine (I switched back to a snapshot build)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 11:22:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-ldap-integration-broken-in-5-15-1/m-p/174386#M127516</guid>
      <dc:creator>b_schnarr</dc:creator>
      <dc:date>2014-05-22T11:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti REST-LDAP integration broken in 5.15.1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-ldap-integration-broken-in-5-15-1/m-p/174387#M127517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmmm interesting. So it indeed must be something different.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which snapshot build did you use? Maybe we can pinpoint the wrong code line in the period between the snapshot build and the release?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 07:19:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-ldap-integration-broken-in-5-15-1/m-p/174387#M127517</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-05-27T07:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti REST-LDAP integration broken in 5.15.1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-ldap-integration-broken-in-5-15-1/m-p/174388#M127518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I checked out a Snapshot release on the 27th febuary 2014. This version works. With the newest wars, I get this error.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 11:11:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-ldap-integration-broken-in-5-15-1/m-p/174388#M127518</guid>
      <dc:creator>b_schnarr</dc:creator>
      <dc:date>2014-05-27T11:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti REST-LDAP integration broken in 5.15.1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-ldap-integration-broken-in-5-15-1/m-p/174389#M127519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have looked at the history from 27/02 - release date, but the Rdn addition is the only change in the LDAP module.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The error is really happening in that line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: java.lang.NullPointerException&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at javax.naming.ldap.Rdn.escapeStringValue(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at javax.naming.ldap.Rdn.escapeValue(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.ldap.LDAPQueryBuilder.buildQueryGroupsForUser(LDAPQueryBuilder.java:77)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, the 'rdn fix' has been made 6/03 (see &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/commit/691b8ef0953cac4381ec95a8269182cf0ccaccf7" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/commit/691b8ef0953cac4381ec95a8269182cf0ccaccf7&lt;/A&gt;&lt;SPAN&gt;), which wouldn't be in the snapshot release of 27 february.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So again, I'm really interested in the 'userDn', which is fed into the following line where it breaks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;searchExpression = MessageFormat.format(ldapConfigurator.getQueryGroupsForUser(), Rdn.escapeValue(userDn));&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 07:43:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-ldap-integration-broken-in-5-15-1/m-p/174389#M127519</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-06-02T07:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti REST-LDAP integration broken in 5.15.1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-ldap-integration-broken-in-5-15-1/m-p/174390#M127520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, but how can I contribute to solve this? I have no idea how I can debug the whole application?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 10:53:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-ldap-integration-broken-in-5-15-1/m-p/174390#M127520</guid>
      <dc:creator>b_schnarr</dc:creator>
      <dc:date>2014-06-04T10:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti REST-LDAP integration broken in 5.15.1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-ldap-integration-broken-in-5-15-1/m-p/174391#M127521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You debug the app like any java webapp: add the JVM opts to have Eclipse remote debugging&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Xdebug -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;have the code of Explorer in Eclipse, and put a breakpoint there. Execute the logic that fails, and see the userDn in the variables list.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 11:53:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-ldap-integration-broken-in-5-15-1/m-p/174391#M127521</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-06-06T11:53:12Z</dc:date>
    </item>
  </channel>
</rss>

