<?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: java.lang.ExceptionInInitializerError at org.alfresco.trashcan.TrashcanCleanerTest.&amp;lt;clinit&amp;gt;(TrashcanCleanerTest.java:67) in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/java-lang-exceptionininitializererror-at-org-alfresco-trashcan/m-p/48491#M18876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm on Enterprise 5.1.3&lt;/P&gt;&lt;P&gt;Yes, I know that 5.2.x includes it.&lt;/P&gt;&lt;P&gt;I also know that for large trashcans, the current trashcan cleaner will kill the server, because it gets all child associations instead of getting only a limited number.&amp;nbsp; That's why I'm trying to change it, but I'm stuck not able to run the tests.&amp;nbsp;&lt;/P&gt;&lt;P&gt;See&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Alfresco/alfresco-trashcan-cleaner-module/issues/2" title="https://github.com/Alfresco/alfresco-trashcan-cleaner-module/issues/2" rel="nofollow noopener noreferrer"&gt;java.lang.OutOfMemoryError: Java heap space due to no limit on getChildAssocs · Issue #2 · Alfresco/alfresco-trashcan-cl…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jun 2018 13:41:29 GMT</pubDate>
    <dc:creator>aowian</dc:creator>
    <dc:date>2018-06-28T13:41:29Z</dc:date>
    <item>
      <title>java.lang.ExceptionInInitializerError at org.alfresco.trashcan.TrashcanCleanerTest.&lt;clinit&gt;(TrashcanCleanerTest.java:67)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-lang-exceptionininitializererror-at-org-alfresco-trashcan/m-p/48489#M18874</link>
      <description>How can I solve&amp;nbsp;java.lang.ExceptionInInitializerError at org.alfresco.trashcan.TrashcanCleanerTest.&amp;lt;clinit&amp;gt;(TrashcanCleanerTest.java:67)‍‍I pulled down&amp;nbsp;GitHub - Alfresco/alfresco-trashcan-cleaner-module&amp;nbsp;and ranmvn clean install‍It failed with this:----------------------------------------------</description>
      <pubDate>Tue, 26 Jun 2018 19:18:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-lang-exceptionininitializererror-at-org-alfresco-trashcan/m-p/48489#M18874</guid>
      <dc:creator>aowian</dc:creator>
      <dc:date>2018-06-26T19:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.ExceptionInInitializerError at org.alfresco.trashcan.TrashcanCleanerTest.&lt;clinit&gt;(TrashcanCleanerTest.java:67)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-lang-exceptionininitializererror-at-org-alfresco-trashcan/m-p/48490#M18875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What Alfresco version are you using ? Do you know that last Alfresco CE GA (201707) includes the thrascan cleaner ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2018 09:12:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-lang-exceptionininitializererror-at-org-alfresco-trashcan/m-p/48490#M18875</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2018-06-28T09:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.ExceptionInInitializerError at org.alfresco.trashcan.TrashcanCleanerTest.&lt;clinit&gt;(TrashcanCleanerTest.java:67)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-lang-exceptionininitializererror-at-org-alfresco-trashcan/m-p/48491#M18876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm on Enterprise 5.1.3&lt;/P&gt;&lt;P&gt;Yes, I know that 5.2.x includes it.&lt;/P&gt;&lt;P&gt;I also know that for large trashcans, the current trashcan cleaner will kill the server, because it gets all child associations instead of getting only a limited number.&amp;nbsp; That's why I'm trying to change it, but I'm stuck not able to run the tests.&amp;nbsp;&lt;/P&gt;&lt;P&gt;See&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Alfresco/alfresco-trashcan-cleaner-module/issues/2" title="https://github.com/Alfresco/alfresco-trashcan-cleaner-module/issues/2" rel="nofollow noopener noreferrer"&gt;java.lang.OutOfMemoryError: Java heap space due to no limit on getChildAssocs · Issue #2 · Alfresco/alfresco-trashcan-cl…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2018 13:41:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-lang-exceptionininitializererror-at-org-alfresco-trashcan/m-p/48491#M18876</guid>
      <dc:creator>aowian</dc:creator>
      <dc:date>2018-06-28T13:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.ExceptionInInitializerError at org.alfresco.trashcan.TrashcanCleanerTest.&lt;clinit&gt;(TrashcanCleanerTest.java:67)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-lang-exceptionininitializererror-at-org-alfresco-trashcan/m-p/48492#M18877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ahmed:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good to know, but I think the idea is not to have a large trashcan, or doing massive deletions (if fact any massive action in the repo).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another approach I used in Alfresco 5.1 is to use Javascript Console for manually deleting documents and folders with something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://gist.github.com/douglascrp/dd6a10a61e82c6bf8ced156d419921ed" title="https://gist.github.com/douglascrp/dd6a10a61e82c6bf8ced156d419921ed" rel="nofollow noopener noreferrer"&gt;limpeza lixeira alfresco.js · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delete first documents, and then folders in batches.&lt;/P&gt;&lt;P&gt;If you plan massive deletions, you can delete using (adding) sys:temporary aspect for not passing via Thrashcan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2018 17:52:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-lang-exceptionininitializererror-at-org-alfresco-trashcan/m-p/48492#M18877</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2018-06-28T17:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.ExceptionInInitializerError at org.alfresco.trashcan.TrashcanCleanerTest.&lt;clinit&gt;(TrashcanCleanerTest.java:67)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-lang-exceptionininitializererror-at-org-alfresco-trashcan/m-p/48493#M18878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We just accumulated a large trashcan over time, and now we decided to clean it up.&amp;nbsp; This use case is not supported with the current Alfresco Trashcan Cleaner module.&amp;nbsp; The original author even acknowledged it with a TODO in the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea why I can't run the tests?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2018 18:15:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-lang-exceptionininitializererror-at-org-alfresco-trashcan/m-p/48493#M18878</guid>
      <dc:creator>aowian</dc:creator>
      <dc:date>2018-06-28T18:15:54Z</dc:date>
    </item>
  </channel>
</rss>

