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 53453 - Stack overflow in VcsFileSystem.folder
Summary: Stack overflow in VcsFileSystem.folder
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2005-01-14 22:40 UTC by Jesse Glick
Modified: 2006-03-24 13:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Some thread dumps (688.76 KB, text/plain)
2005-01-14 22:41 UTC, Jesse Glick
Details
My log file for the session, bzipped (WARNING: huge when uncompressed) (97.74 KB, application/octet-stream)
2005-01-14 22:50 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2005-01-14 22:40:33 UTC
Setup is same as for issue #53079, but using a
newer 040114 custom build with that issue's fix.
Comment 1 Jesse Glick 2005-01-14 22:41:49 UTC
Created attachment 19709 [details]
Some thread dumps
Comment 2 Jesse Glick 2005-01-14 22:46:01 UTC
Got a bunch of IllegalArgumentException's, then some StackOverflowError's.
Comment 3 Jesse Glick 2005-01-14 22:49:09 UTC
Just as in #53079, all I need to do to reproduce this bug is to use
Versioning Manager to make a mount for /space/src/ant (offline,
cmdline client, blank file annotations - nothing unusual), then expand
the package view for "Sources" (/space/src/ant/src/main/). Note that
expanding the package view for /space/src/ant/src/testcases/ is fine -
the problem really seems to be in the
/space/src/ant/src/main/org/apache/tools/ant/ directory.

At least P2 since it makes it effectively impossible to use the IDE's
CVS integration on this dir.
Comment 4 Jesse Glick 2005-01-14 22:50:15 UTC
Created attachment 19710 [details]
My log file for the session, bzipped (WARNING: huge when uncompressed)
Comment 5 _ pkuzel 2005-01-17 09:12:02 UTC
org.openide.filesystems.FileObject.refresh(FileObject.java:701)
org.netbeans.modules.vcscore.VcsFileSystem.folder(VcsFileSystem.java:4004)

I'm adding a ThreadLocal detecting the infinite cycle.
Comment 6 _ pkuzel 2005-01-17 09:40:08 UTC
Blindly FIXED as I cannot reproduce.

VcsFileSystem.java new revision: 1.310
Comment 7 Jesse Glick 2005-01-17 17:50:43 UTC
No error in current build.

It seems there is a symlink

lrwxrwxrwx  1 jglick jglick 3 Dec 26 13:37
/space/src/ant/src/main/org/apache/tools/ant/ant -> ant

but I don't know where it came from or if it is a cause or effect of
this bug.