You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Thomas Mueller (JIRA)" <ji...@apache.org> on 2009/02/18 15:45:02 UTC

[jira] Updated: (JCR-1985) NullPointerException in GarbageCollector.scan() if no DataStore configured

     [ https://issues.apache.org/jira/browse/JCR-1985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Mueller updated JCR-1985:
--------------------------------

    Summary: NullPointerException in GarbageCollector.scan() if no DataStore configured  (was: NullPointerException GarbageCollector.scan())

> NullPointerException in GarbageCollector.scan() if no DataStore configured
> --------------------------------------------------------------------------
>
>                 Key: JCR-1985
>                 URL: https://issues.apache.org/jira/browse/JCR-1985
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 1.5.2
>         Environment: Windows XP
>            Reporter: Jacco van Weert
>             Fix For: 1.5.3
>
>
> I am running the garbage collector in a separate thread every 5 minutes.
>             GarbageCollector gc = ((SessionImpl)mSession).createDataStoreGarbageCollector();
>             gc.scan();
>             gc.stopScan();
>             int du = gc.deleteUnused();
> When using Jackrabbit v1.5.2 I get sometimes a null pointer exception;
> java.lang.NullPointerException
>         at org.apache.jackrabbit.core.data.GarbageCollector.scan(GarbageCollector.java:153)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.