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.
Summary: | [67cat] IllegalArgumentException: C:\Dokumente und Einstellungen\pna\Eigene Dateien\NetBeansProjects\VomHofeAnalysis-job00046\attic is not inside C:\Dokumente und Einstellungen\pna\Eigene Dateien\NetBeansProj | ||
---|---|---|---|
Product: | versioncontrol | Reporter: | Peter Nabbefeld <epdv> |
Component: | Code | Assignee: | issues@versioncontrol <issues> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | abajja, giorgio42, glarian, jglick, jskrivanek, kipriz |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=37441 | ||
Issue Type: | DEFECT | Exception Reporter: | 37441 |
Bug Depends on: | 204271 | ||
Bug Blocks: | |||
Attachments: |
stacktrace
stacktrace stacktrace stacktrace |
Description
Peter Nabbefeld
2009-04-03 15:32:07 UTC
Created attachment 79402 [details]
stacktrace
Build: NetBeans IDE Dev (Build 200904030200) VM: Java HotSpot(TM) Client VM, 1.5.0_17-b04, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_17-b04 OS: Windows XP, 5.1, x86 User Comments: Stacktrace: java.lang.IllegalArgumentException: D:\Java\NetBeans\LRTS_V2\CVS is not inside D:\Java\NetBeans\LRTS_V2 at org.netbeans.spi.project.support.ant.SourcesHelper$SourceRoot$Group.contains(SourcesHelper.java:180) at org.netbeans.modules.versioning.spi.VCSContext.addProjectFiles(VCSContext.java:291) at org.netbeans.modules.versioning.spi.VCSContext.forNodes(VCSContext.java:142) at org.netbeans.modules.versioning.ProjectMenuItem.getOwners(ProjectMenuItem.java:135) at org.netbeans.modules.versioning.ProjectMenuItem.createItems(ProjectMenuItem.java:79) at org.netbeans.modules.versioning.ProjectMenuItem.access$100(ProjectMenuItem.java:66) Created attachment 79470 [details]
stacktrace
Build: NetBeans IDE Dev (Build 200904051400) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33 OS: Windows Vista, 6.0, x86 User Comments: Stacktrace: java.lang.IllegalArgumentException: C:\projects\sadifa is not inside C:\projects at org.netbeans.spi.project.support.ant.SourcesHelper$SourceRoot$Group.contains(SourcesHelper.java:181) at org.netbeans.modules.versioning.spi.VCSContext.addProjectFiles(VCSContext.java:291) at org.netbeans.modules.versioning.spi.VCSContext.forNodes(VCSContext.java:142) at org.netbeans.modules.versioning.ProjectMenuItem.getOwners(ProjectMenuItem.java:135) at org.netbeans.modules.versioning.ProjectMenuItem.createItems(ProjectMenuItem.java:79) at org.netbeans.modules.versioning.ProjectMenuItem.access$100(ProjectMenuItem.java:66) Created attachment 79553 [details]
stacktrace
Build: NetBeans IDE Dev (Build 090404) VM: Java HotSpot(TM) Client VM, 14.0-b11, Java(TM) SE Runtime Environment, 1.6.0_14-ea-b02 OS: Windows XP, 5.1, x86 User Comments: Opened web application. IAE is obviously wrong (C:\home\a0796942\projects\ffabmit\apps\ee\pmsystem\webapp\setup is inside C:\home\a0796942\projects\ffabmit\apps\ee\pmsystem\webapp). Stacktrace: java.lang.IllegalArgumentException: C:\home\a0796942\projects\ffabmit\apps\ee\pmsystem\webapp\setup is not inside C:\home\a0796942\projects\ffabmit\apps\ee\pmsystem\webapp at org.netbeans.spi.project.support.ant.SourcesHelper$SourceRoot$Group.contains(SourcesHelper.java:181) at org.netbeans.modules.versioning.spi.VCSContext.addProjectFiles(VCSContext.java:291) at org.netbeans.modules.versioning.spi.VCSContext.forNodes(VCSContext.java:142) at org.netbeans.modules.versioning.ProjectMenuItem.getOwners(ProjectMenuItem.java:135) at org.netbeans.modules.versioning.ProjectMenuItem.createItems(ProjectMenuItem.java:79) at org.netbeans.modules.versioning.ProjectMenuItem.access$100(ProjectMenuItem.java:66) Created attachment 79673 [details]
stacktrace
Recent exceptions might be related to issue 161960. The fix is in build 200904081400, so I would wait if there is a new report from newer builds. *** Issue 161760 has been marked as a duplicate of this issue. *** So far there have been no reports in latest builds. I'll leave this open for a little longer. *** Issue 163389 has been marked as a duplicate of this issue. *** I've added some logging and isValid test before calling sourceGroup.contains cdev #9b18fc8ac689 Integrated into 'main-golden', will be available in build *200904281401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/9b18fc8ac689 User: Ondrej Vrabec <ovrabec@netbeans.org> Log: #161904 - IAE in VCSContext added logging and isValid condition before calling sourceGroup.contains A report from 6.7.1 implies that a situation can happen when a project root file can be invalid (FileObject.isValid returns false) while it's children are still valid. I do not know how we can deal with this in another way than skip such root file. fixing this scenario in cdev #1f51e1d53c25 - skipping an invalid root file - skipping the sharebility test of it's children - adding some more loggings marking this as fixed for the time being Integrated into 'main-golden', will be available in build *200908131401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/1f51e1d53c25 User: Ondrej Vrabec <ovrabec@netbeans.org> Log: #161904 - [67cat] IllegalArgumentException in VCSContext do not add an invalid root file to the context and do not test it's children for being excluded |