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 - 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
Summary: IllegalArgumentException: MasterFileObject[/ssd/work/sputnik~main/modules/tux...
Status: RESOLVED DUPLICATE of bug 203555
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-22 12:49 UTC by Egor Ushakov
Modified: 2011-10-12 13:01 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 178196


Attachments
stacktrace (2.37 KB, text/plain)
2011-08-22 12:49 UTC, Egor Ushakov
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***