<?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: Alfresco excption in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-excption/m-p/276461#M229591</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you mean AlfrescoRuntimeException ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not all exceptions have a message, so there may not be anything to print.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also the AlfrescoRuntimeException may be "wrapping" another exception in which case you should examine the "cause".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you cut and paste what you see in eclipse the perhaps you could clarify which bits of the exception you are trying to access through code.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Sep 2011 07:36:55 GMT</pubDate>
    <dc:creator>mrogers</dc:creator>
    <dc:date>2011-09-28T07:36:55Z</dc:date>
    <item>
      <title>Alfresco excption</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-excption/m-p/276460#M229590</link>
      <description>Hi all,I've some problem printing the exception stack trace for Alfresco Exception.On debug mode, step by step under Eclipse IDE I'm able to see the message when the exception is raised inspecting the Exception object but, when I print the error message to console output it's always null (I tryed wi</description>
      <pubDate>Wed, 28 Sep 2011 07:28:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-excption/m-p/276460#M229590</guid>
      <dc:creator>andrea_girardi</dc:creator>
      <dc:date>2011-09-28T07:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco excption</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-excption/m-p/276461#M229591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you mean AlfrescoRuntimeException ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not all exceptions have a message, so there may not be anything to print.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also the AlfrescoRuntimeException may be "wrapping" another exception in which case you should examine the "cause".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you cut and paste what you see in eclipse the perhaps you could clarify which bits of the exception you are trying to access through code.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 07:36:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-excption/m-p/276461#M229591</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2011-09-28T07:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco excption</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-excption/m-p/276462#M229592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tryed to run this code (in that case I'm trying to write a content on a folder that doesn't exists):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;try {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UpdateResult[] results = WebServiceFactory.getRepositoryService().update(cml);&lt;BR /&gt;}&lt;BR /&gt;catch (Exception ex) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println(" " + ex.getStackTrace());&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println("ERROR - createContent : " + ex.getMessage());&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;and this is what I can see on Eclipse inspecting the object ex :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;java.lang.IllegalStateException: Failed to resolve to a single NodeRef with parameters (store=workspace:SpacesStore uuid=null path=/app:company_home/cm:UploadFromJava), found 0 nodes.&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;but when I try to print on log, it's always null.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 15:15:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-excption/m-p/276462#M229592</guid>
      <dc:creator>andrea_girardi</dc:creator>
      <dc:date>2011-09-28T15:15:40Z</dc:date>
    </item>
  </channel>
</rss>

