[infinispan-issues] [JBoss JIRA] Updated: (ISPN-690) java.io.FileNotFoundException during Directory.copy

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Mon Oct 11 10:03:39 EDT 2010


     [ https://jira.jboss.org/browse/ISPN-690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreño updated ISPN-690:
----------------------------------

        Fix Version/s: 4.2.0.Final
    Affects Version/s: 4.0.0.Final


> java.io.FileNotFoundException during Directory.copy
> ---------------------------------------------------
>
>                 Key: ISPN-690
>                 URL: https://jira.jboss.org/browse/ISPN-690
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Lucene Directory
>    Affects Versions: 4.0.0.Final, 4.1.0.Final, 4.2.0.ALPHA2
>         Environment: Win32 JRE 1.6.0_21-b07
>            Reporter: Paul Nardone
>            Assignee: Sanne Grinovero
>             Fix For: 4.2.0.BETA1, 4.2.0.Final
>
>         Attachments: InfinispanLuceneTest.java
>
>
> I've been experiencing this error in an application I am developing and finally tracked it down to a more simple case
> The stack trace is 
> java.io.FileNotFoundException: Error loading medatada for index file: _0.cfs|M|test1
> 	at org.infinispan.lucene.InfinispanDirectory.openInput(InfinispanDirectory.java:262)
> 	at org.apache.lucene.store.Directory.copy(Directory.java:221)
> The actual cause of this error appears to be an issue with DistributedSegmentReadLocker
> During org.infinispan.lucene.InfinispanIndexInput.close(),   readLocks.deleteOrReleaseReadLock() is called.  
> When eviction is enabled it appears the FileReadLockKey for the .cfs file is being evicted, as SKIP_CACHE_STORE is specified null returns for the lock which causes DistributedSegmentReadLocker to proceded to delete the actual .cfs file
> When a later step tried to access the file it no longer exists resulting in the fileNotFoundException

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the infinispan-issues mailing list