<?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 Could not find the root directory in repository in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/could-not-find-the-root-directory-in-repository/m-p/23980#M10424</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I am searching /Company Home root directory from the repository. I did the following way&lt;/P&gt;&lt;P&gt;CmisObject object = session.getObjectByPath(objectPath, OperationContext)&lt;/P&gt;&lt;P&gt;where objectPath is="/CompanyHome&lt;SPAN&gt;/Tests-folder&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;but after executing above code got the following exception:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;org.apache.chemistry.opencmis.commons.exceptions.CmisObjectNotFoundException: Object not found: /Company Home/Tests-folder&lt;BR /&gt; at org.alfresco.opencmis.AlfrescoCmisServiceImpl.getObjectByPath(AlfrescoCmisServiceImpl.java:2077)&lt;BR /&gt; at sun.reflect.GeneratedMethodAccessor572.invoke(Unknown Source)&lt;BR /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt; at java.lang.reflect.Method.invoke(Method.java:498)&lt;BR /&gt; at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)&lt;BR /&gt; at org.alfresco.repo.transaction.RetryingTransactionInterceptor$1.execute(RetryingTransactionInterceptor.java:79)&lt;BR /&gt; at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:457)&lt;BR /&gt; at org.alfresco.repo.transaction.RetryingTransactionInterceptor.invoke(RetryingTransactionInterceptor.java:69)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)&lt;BR /&gt; at org.alfresco.opencmis.AlfrescoCmisStreamInterceptor.invoke(AlfrescoCmisStreamInterceptor.java:72)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)&lt;BR /&gt; at org.alfresco.opencmis.AlfrescoCmisServiceInterceptor.invoke(AlfrescoCmisServiceInterceptor.java:101)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)&lt;BR /&gt; at org.alfresco.opencmis.AlfrescoCmisExceptionInterceptor.invoke(AlfrescoCmisExceptionInterceptor.java:83)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)&lt;BR /&gt; at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)&lt;BR /&gt; at com.sun.proxy.$Proxy328.getObjectByPath(Unknown Source)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I searched in the repository using node ref id like&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;session.getObject("2dc70dba-1cd1-4b36-84ff-ee4f17e981cb").getName(); and it returns the "Company Home" directory name. I would like to know why it is not searching directory "Company Home" using&amp;nbsp;&lt;SPAN&gt;session.getObjectByPath("/CompanyHome/Tests-folder"&lt;/SPAN&gt;&lt;SPAN&gt;) method?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Jun 2017 07:30:10 GMT</pubDate>
    <dc:creator>prasal</dc:creator>
    <dc:date>2017-06-27T07:30:10Z</dc:date>
    <item>
      <title>Could not find the root directory in repository</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/could-not-find-the-root-directory-in-repository/m-p/23980#M10424</link>
      <description>Hi,&amp;nbsp; &amp;nbsp;I am searching /Company Home root directory from the repository. I did the following wayCmisObject object = session.getObjectByPath(objectPath, OperationContext)where objectPath is="/CompanyHome/Tests-folder"but after executing above code got the following exception&lt;IMG id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;rg.apache.chemistry.opencm</description>
      <pubDate>Tue, 27 Jun 2017 07:30:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/could-not-find-the-root-directory-in-repository/m-p/23980#M10424</guid>
      <dc:creator>prasal</dc:creator>
      <dc:date>2017-06-27T07:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Could not find the root directory in repository</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/could-not-find-the-root-directory-in-repository/m-p/23981#M10425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are looking for "CompanyHome" yet he folder name is "Company Home". If you have not noticed it, these names do not match. One has a whitespace, the other doesn't.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 08:22:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/could-not-find-the-root-directory-in-repository/m-p/23981#M10425</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-06-28T08:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Could not find the root directory in repository</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/could-not-find-the-root-directory-in-repository/m-p/23982#M10426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Axel thanks for reply.&lt;/P&gt;&lt;P&gt;I am looking for the "Company Home" not "CompanyHome". Sorry it was my typing mistake.&lt;/P&gt;&lt;P&gt;I am passing &amp;nbsp;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;"/Company Home&lt;/SPAN&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px;"&gt;/Tests-folder&lt;/SPAN&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;" as a parameter to the function. Their is a space between Company and Home string.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;It is a ("Company Home") default directory which I am looking for in repository.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 09:02:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/could-not-find-the-root-directory-in-repository/m-p/23982#M10426</guid>
      <dc:creator>prasal</dc:creator>
      <dc:date>2017-06-28T09:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Could not find the root directory in repository</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/could-not-find-the-root-directory-in-repository/m-p/23983#M10427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is their any changes in Alfresco 5.1 version that I am not getting the cmis object for "/Company Home" directory.&lt;/P&gt;&lt;P&gt;But I am able to see "/Company Home" directory on Client UI side and also while iterating the "/" I am not able to see "Company Home" directory but can see the child directory of "Company Home".&lt;/P&gt;&lt;P&gt;Please let me know why this happened in this version.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 13:42:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/could-not-find-the-root-directory-in-repository/m-p/23983#M10427</guid>
      <dc:creator>prasal</dc:creator>
      <dc:date>2017-07-05T13:42:05Z</dc:date>
    </item>
  </channel>
</rss>

