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 186186 - [69cat] IllegalArgumentException: MasterFileObject[/Users/alc/NetBeansProjects/converge/modules@6e0f282c:5478a746,valid=true] [isValid=true] is not parent of MasterFileObject[/Users/alc/NetBeansProjects/conve
Summary: [69cat] IllegalArgumentException: MasterFileObject[/Users/alc/NetBeansProject...
Status: RESOLVED DUPLICATE of bug 185346
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
: 186187 186667 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-14 21:49 UTC by big_al
Modified: 2010-05-25 14:02 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 169640


Attachments
stacktrace (3.26 KB, text/plain)
2010-05-14 21:49 UTC, big_al
Details

Note You need to log in before you can comment on or make changes to this bug.
Description big_al 2010-05-14 21:49:09 UTC
This bug was originally marked as duplicate of bug 161904, 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 201005132200)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.3-b01-101, Java(TM) SE Runtime Environment, 1.6.0_17-b04-248-10M3025
OS: Mac OS X

User Comments:
big_al: Right clicked on a Maven project in the Files view




Stacktrace: 
java.lang.IllegalArgumentException: MasterFileObject[/Users/alc/NetBeansProjects/converge/modules@6e0f282c:5478a746,valid=true] [isValid=true] is not parent of MasterFileObject[/Users/alc/NetBeansProjects/converge/modules/converge-war@1e818d28:19d07e10,valid=true] [isValid=true].
   at org.netbeans.spi.project.support.GenericSources$Group.contains(GenericSources.java:158)
   at org.netbeans.modules.versioning.spi.VCSContext.addProjectFiles(VCSContext.java:306)
   at org.netbeans.modules.versioning.spi.VCSContext.forNodes(VCSContext.java:145)
   at org.netbeans.modules.versioning.Utils.contextForLookup(Utils.java:96)
   at org.netbeans.modules.versioning.VersioningAnnotationProvider$AbstractVersioningSystemActions.createContextAwareInstance(VersioningAnnotationProvider.java:195)
   at org.openide.actions.FileSystemAction.createMenu(FileSystemAction.java:173)
Comment 1 big_al 2010-05-14 21:49:14 UTC
Created attachment 99028 [details]
stacktrace
Comment 2 Jesse Glick 2010-05-14 22:11:51 UTC
FileUtil.isParentOf is reporting false for what I guess should be true.
Comment 3 Jesse Glick 2010-05-14 22:33:39 UTC
*** Bug 186187 has been marked as a duplicate of this bug. ***
Comment 4 Jaroslav Tulach 2010-05-17 04:49:44 UTC
The assert is probably wrong. Try to run without -ea. Things shall somehow work.

*** This bug has been marked as a duplicate of bug 185346 ***
Comment 5 Jesse Glick 2010-05-25 14:02:50 UTC
*** Bug 186667 has been marked as a duplicate of this bug. ***