jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@day.com>
Subject Re: NPE on scan
Date Thu, 09 Jul 2009 11:00:08 GMT
2009/7/9 Hervé Agnoux <herve.agnoux@diaam-informatique.com>:
> java.lang.NullPointerException
>        at
> org.apache.jackrabbit.core.data.GarbageCollector.scan(GarbageCollector.java:153)
>        at com.Maintenance.main(Maintenance.java:103)
>
> What's append ?
>
> I use jackrabbit-core-1.5.5.
>
> If I look svn source repository,
> http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-
> core/src/main/java/org/apache/jackrabbit/core/data/GarbageCollector.java?revision=792437
> at line 153, I get :

This is the trunk, where the code obviously has changed since the
1.5.5 release. To get the code for 1.5.5, you have to look at the
tagged version:

http://svn.apache.org/viewvc/jackrabbit/tags/1.5.5/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/data/GarbageCollector.java?view=co

Here, line 153 is this:

    store.updateModifiedDateOnAccess(startScanTimestamp);

Which means your repository doesn't have a DataStore. See
https://issues.apache.org/jira/browse/JCR-1985

Regards,
Alex

-- 
Alexander Klimetschek
alexander.klimetschek@day.com

Mime
View raw message