<?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: Getting a null refrence of a node. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/getting-a-null-refrence-of-a-node/m-p/222383#M175513</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is your filename qualified by a namespace?&amp;nbsp;&amp;nbsp; I suspect its just an incorrect query.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jul 2010 09:59:22 GMT</pubDate>
    <dc:creator>mrogers</dc:creator>
    <dc:date>2010-07-08T09:59:22Z</dc:date>
    <item>
      <title>Getting a null refrence of a node.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-a-null-refrence-of-a-node/m-p/222382#M175512</link>
      <description>Hi All,I have created a program using web ser api which is the web-client-config-custom.xml in Data Dictionary&amp;gt;Web Client Extension  folder.In this if the file i.e web-client-config-custom.xml already exist in the folder then it will be deleted first and then again uploaded the updated file.But w</description>
      <pubDate>Thu, 08 Jul 2010 09:25:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-a-null-refrence-of-a-node/m-p/222382#M175512</guid>
      <dc:creator>prateekgoyal</dc:creator>
      <dc:date>2010-07-08T09:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a null refrence of a node.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-a-null-refrence-of-a-node/m-p/222383#M175513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is your filename qualified by a namespace?&amp;nbsp;&amp;nbsp; I suspect its just an incorrect query.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 09:59:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-a-null-refrence-of-a-node/m-p/222383#M175513</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2010-07-08T09:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a null refrence of a node.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-a-null-refrence-of-a-node/m-p/222384#M175514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried it by creating as a new file in the same folder i.e. web client extension folder in alfresco using the following code&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ContentFormat format = new ContentFormat("text/plain", "UTF-8");&lt;BR /&gt;CMLCreate create = new CMLCreate("1", companyHomeParent, companyHomeParent.getUuid(), Constants.ASSOC_CONTAINS, null, Constants.PROP_CONTENT, contentProps);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;cml = new CML();&lt;BR /&gt;cml.setCreate(new CMLCreate[] {create});&lt;BR /&gt;cml.setAddAspect(new CMLAddAspect[] {addAspect});&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;UpdateResult[] result = repositoryService.update(cml);&lt;BR /&gt;Reference content = result[0].getDestination();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;contentService.write(content,Constants.PROP_CONTENT , bytes, format);&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;The same querry works fine and the file is getting created in alfresco.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 13:02:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-a-null-refrence-of-a-node/m-p/222384#M175514</guid>
      <dc:creator>prateekgoyal</dc:creator>
      <dc:date>2010-07-08T13:02:39Z</dc:date>
    </item>
  </channel>
</rss>

