jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Imran (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-2292) attempt to access a deleted document
Date Thu, 03 Sep 2009 13:18:57 GMT
attempt to access a deleted document

                 Key: JCR-2292
                 URL: https://issues.apache.org/jira/browse/JCR-2292
             Project: Jackrabbit Content Repository
          Issue Type: Bug
    Affects Versions: 1.6.0
         Environment: Windows XP, Java 1.6.0_13-b03
            Reporter: Imran
            Priority: Critical

When I run the query : items//*[(jcr:contains(@MYATTRIB, 'MYATTRIB-VALUE') I get results back.

But if I add a "not" condition: items//*[not(jcr:contains(@MYATTRIB, 'MYATTRIB-VALUE') , I
get "java.lang.IllegalArgumentException: attempt to access a deleted document" exception

After I renamed the index directory [effectively forcing a re-index], and ran the application
again, the "not" condition query works. If I restore the previous index I get the error again.

The workaround of deleting index is fine in the development environment. But once we go to
production, we will not have the option to delete the index directories.

Btw, I found that a similar defect [JCR-1573] was reported and marked as fixed. Apparently
it keeps re-surfacing under different conditions.

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

View raw message