This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Submitted on behalf of external user. Build: NetBeans IDE 6.5 (Build 200811100001) VM: Java HotSpot(TM) Client VM, 1.5.0_06-b05, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_06-b05 OS: Windows XP, 5.1, x86 User comments: NetBEans SUCKS STACKTRACE: (first 10 lines) org.openide.filesystems.FileAlreadyLockedException: E:\NetBeansProjects\ICEFacesDemo\src\java\icefacesdemo\ProviderFind.java at org.netbeans.modules.masterfs.filebasedfs.fileobjects.LockForFile.registerLock(LockForFile.java:107) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.LockForFile.tryLock(LockForFile.java:96) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.lock(FileObj.java:277) at org.openide.loaders.MultiDataObject$Entry.takeLock(MultiDataObject.java:1189) at org.openide.loaders.FileEntry.delete(FileEntry.java:132) at org.openide.loaders.MultiDataObject.handleDelete(MultiDataObject.java:524) at org.openide.loaders.DataObject$4.run(DataObject.java:608) at org.openide.loaders.DataObject$1WrapRun.run(DataObject.java:849) at org.openide.loaders.DataObjectPool$1WrapAtomicAction.run(DataObjectPool.java:258) at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:120)
This belongs to IceFaces.
Do not think this is related to IceFaces - the same exception just jump on me and I'm not using IceFaces at all.. not sure where it belong, reassigning for evaluation
Created attachment 136649 [details] Proposed Patch
I was able to reproduce the bug by accepting the hint that suggests transforming items in Bundle.properties to @NbBundle.Messages annotations (thank you, Martin). It seems that the problem is caused by method ModificationResult.FilteringReader.read(char[], int, int), that cannot return value -1 at the end of input file. Please check the patch and apply it if you think it is OK. Thank you.
Thank you for the analysis & patch, Jardo. Committed as rev. http://hg.netbeans.org/jet-main/rev/adec8af77fae.