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.
When opening a CVS filesystem in the Filesystems view and answering "Yes" to the question "Download contents of CVS recursively?", I receive the following exception: Sat Nov 18 20:19:12 EST 2000java.lang.ClassCastException: java.lang.Boolean java.lang.ClassCastException: java.lang.Boolean at org.netbeans.modules.vcs.cmdline.commands.CvsModuleParser.resolveModuleLinks (CvsModuleParser.java:199) at org.netbeans.modules.vcs.cmdline.list.CvsListRecursiveCommand.addModuleDefs (CvsListRecursiveCommand.java:171) at org.netbeans.modules.vcs.cmdline.list.CvsListRecursiveCommand.getModulesPaths (CvsListRecursiveCommand.java:219) at org.netbeans.modules.vcs.cmdline.list.CvsListRecursiveCommand.listRecursively (CvsListRecursiveCommand.java:573) at org.netbeans.modules.vcs.cmdline.CommandLineVcsDirReaderRecursive.runClass (CommandLineVcsDirReaderRecursive.java:114) at org.netbeans.modules.vcs.cmdline.CommandLineVcsDirReaderRecursive.run (CommandLineVcsDirReaderRecursive.java:207) at java.lang.Thread.run(Thread.java:484) This occurs under both FFJ 2.0 1099j and every build of Netbeans I've tried since 28. Having finally looked at the code, the error is evident, and I attach a patch here. RCS file: /cvs/vcscvs/src/org/netbeans/modules/vcs/cmdline/commands/CvsModuleParser. java,v retrieving revision 1.7 diff -u -r1.7 CvsModuleParser.java --- CvsModuleParser.java 2000/06/01 15:49:53 1.7 +++ CvsModuleParser.java 2000/11/19 01:16:11 @@ -195,7 +195,7 @@ int n = module.size(); dirLocations.remove(work); if (alias.booleanValue()) { - for(int i = 1; i < n; i++) { + for(int i = 2; i < n; i++) { String moduleRep = (String) module.get(i); D.deb("put ("+work+PATHSEP+moduleRep+", "+moduleRep+")"); dirLocations.put(work+PATHSEP+moduleRep, moduleRep); This fix was tested on the cvs version of netbeans, and didn't catch the machine on fire.
In case it helps: Sun JDK 1.3 on Windows 2000; the CVS executable is 1.11, from the wincvs distribution.
Thanks for the description. It is fixed in sources now, the correction should appear in build #74 and release3.1 #11
Fixed in FFJ2.0 JP1.
fixed long time ago and in boston JP1. in [NBdev-199] works fine
Resolved for 3.4.x or earlier, no new info since then -> closing.