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.

Bug 201209

Summary: IllegalArgumentException: MasterFileObject[/ssd/work/sputnik~main/modules/tuxedo.sf/build/classes-generated@1b2cc95:1fe9f61,valid=true] (valid: true) not in MasterFileObject[/ssd/work/sputnik~main/mod
Product: platform Reporter: Egor Ushakov <gorrus>
Component: FilesystemsAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED DUPLICATE    
Severity: normal CC: tzezula
Priority: P2    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 178196
Attachments: stacktrace

Description Egor Ushakov 2011-08-22 12:49:21 UTC
Build: NetBeans IDE 7.0.1 (Build 201107282000)
VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: SunOS

Stacktrace: 
java.lang.IllegalArgumentException: MasterFileObject[/ssd/work/sputnik~main/modules/tuxedo.sf/build/classes-generated@1b2cc95:1fe9f61,valid=true] (valid: true) not in MasterFileObject[/ssd/work/sputnik~main/modules/tuxedo.sf/build/classes-generated@1b2cc95:1625b6b,valid=true] (valid: true)
   at org.netbeans.api.java.classpath.ClassPath$Entry.includes(ClassPath.java:901)
   at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.fileFolderCreatedImpl(RepositoryUpdater.java:489)
   at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$5300(RepositoryUpdater.java:158)
   at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$FCL.fileFolderCreated(RepositoryUpdater.java:4536)
   at org.openide.filesystems.DeepListener.fileFolderCreated(DeepListener.java:133)
   at org.openide.filesystems.DeepListener.fileFolderCreated(DeepListener.java:125)
Comment 1 Egor Ushakov 2011-08-22 12:49:25 UTC
Created attachment 110132 [details]
stacktrace
Comment 2 Tomas Zezula 2011-09-20 14:43:34 UTC
Caused by the duplicated valid FileObjects:
java.lang.IllegalArgumentException:
MasterFileObject[/ssd/work/sputnik~main/modules/tuxedo.sf/build/classes-generated@1b2cc95:1fe9f61,valid=true]
(valid: true) not in
MasterFileObject[/ssd/work/sputnik~main/modules/tuxedo.sf/build/clasdelta_ts=2011-08-25 09:13:34
Comment 3 Tomas Zezula 2011-09-20 14:44:44 UTC
The FileObjects are:
MasterFileObject[/ssd/work/sputnik~main/modules/tuxedo.sf/build/classes-generated@1b2cc95:1fe9f61,valid=true]
(valid: true) not in
MasterFileObject[/ssd/work/sputnik~main/modules/tuxedo.sf/build/classes-generated@1b2cc95:1625b6b,valid=true]
(valid: true)
Comment 4 Jaroslav Tulach 2011-10-12 13:01:28 UTC
Refencent fix for bug 203555 will make sure only one of the fileobjects is valid.

*** This bug has been marked as a duplicate of bug 203555 ***