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 186185

Summary: IllegalArgumentException: MasterFileObject[/home/jryan/cix_2.7/services/il-common/il-case-management/target/generated-persistence/META-INF@1c22807:5d3ebd,valid=true] (valid: true) not in MasterFileObj
Product: platform Reporter: quidryan <quidryan>
Component: FilesystemsAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 169638
Attachments: stacktrace

Description quidryan 2010-05-14 20:30:49 UTC
This bug was originally marked as duplicate of bug 130998, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201005050200)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Linux

User Comments:
quidryan: "Check for external changes..." is popping this up over and over again.




Stacktrace: 
java.lang.IllegalArgumentException: MasterFileObject[/home/jryan/cix_2.7/services/il-common/il-case-management/target/generated-persistence/META-INF@1c22807:5d3ebd,valid=true] (valid: true) not in MasterFileObject[/home/jryan/cix_2.7/services/il-common/il-case-management/target/generated-persistence@fcbefd:1de404d,valid=true] (valid: true)
Children of MasterFileObject[/home/jryan/cix_2.7/services/il-common/il-case-management/target/generated-persistence@177ced5:8cfa3,valid=true] are:
  [MasterFileObject[/home/jryan/cix_2.7/services/il-common/il-case-management/target/generated-persistence/META-INF@1c22807:5d3ebd,valid=true]]
   at org.netbeans.api.java.classpath.ClassPath$Entry.includes(ClassPath.java:830)
   at org.netbeans.modules.java.source.parsing.SourceFileManager.list(SourceFileManager.java:95)
   at org.netbeans.modules.java.source.parsing.SourceFileManager.list(SourceFileManager.java:67)
   at org.netbeans.modules.java.source.parsing.ProxyFileManager.list(ProxyFileManager.java:200)
   at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2682)
   at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:2303)
Comment 1 quidryan 2010-05-14 20:30:53 UTC
Created attachment 99027 [details]
stacktrace
Comment 2 Dusan Balek 2010-05-17 07:57:19 UTC
Seems there are duplicate file objects for the same file.
Comment 3 Jaroslav Tulach 2010-05-17 13:40:06 UTC

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