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.
It's a pity but I can't give accurater information. Sometimes it happens on our local pserver with testing repository "testrepo". It's happend even with fresh build (no mounted cvs fs before). I mounted new cvs: pserver:cvs user:me repository:/testrepo Checkout modules: allmoust all of them. (On Win, there problem to chckout them all, on linux, it works fine) But with this checkout modules if I run Refresh recursively, all of them (folders which represent them) have a status [local] and there isn't another way except manual Refresh to make them show real status (probably)[up-to-date] If I don't perform refresh recursively and click on the node of this new cvs fs, I recieve a notice that the commad faild. And while you explere the nodes(folders) they become change status fro [local] to another mainly to [up-to-date]. But during this activity SOMETIMEs the Exception is thrown: NullPointerException and StringIndexOutOfBoundsException Here you can see the output of a faild command(not run refresh recursievely). Under it you'll find output of the Eception: LIST: LIST: org.netbeans.modules.vcs.cmdline.list.CvsListCommand.class cmd /X /C "set CVSROOT=:pserver:&& cd /D C:\Space\dmladek\Build.Test\CVS\wpt0\\\.&& \"cvs\" status -l" LIST: cmd /X /C "set CVSROOT=:pserver:&& cd /D C:\Space\dmladek\Build.Test\CVS\wpt0\\\.&& \"cvs\" status -l" cvs status: didn't specify hostname in CVSROOT: :pserver: cvs [status aborted]: Bad CVSROOT. LIST: Command failed. =========================================================== Wed Jul 12 15:29:41 GMT+02:00 2000java.lang.NullPointerException: null java.lang.NullPointerException at org.netbeans.modules.vcs.cmdline.list.CvsListRecursiveCommand.fillHashtable (CvsListRecursiveCommand.java:439) at org.netbeans.modules.vcs.cmdline.list.CvsListRecursiveCommand.listRecursively (CvsListRecursiveCommand.java:568) 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) Tue Jul 04 15:05:57 GMT+02:00 2000java.lang.StringIndexOutOfBoundsException: String index out of range: -1 java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1503) at org.netbeans.modules.vcs.VcsDirContainer.addSubdirRecursive (VcsDirContainer.java:139) at org.netbeans.modules.vcs.cmdline.list.CvsListRecursiveCommand.fillHashtable (CvsListRecursiveCommand.java:436) at org.netbeans.modules.vcs.cmdline.list.CvsListRecursiveCommand.listRecursively (CvsListRecursiveCommand.java:568) 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)
Partially fixed. Exeptions should not occure any more, correct statuses when one directory structure is checked out into multiple destinations will be fixed later.
for help to solve part "correct statuses" I attached deffined modules in which is this problem. ---------------- I'm not going to split this bug in to 2 which one of them is fixed and second one not.So,just FYI This fixed part will be check in with Prioryty P2. and the unfixed part and whole bug with P4.
Created attachment 73 [details] fiel with deffined modules which makes problem to preces Refresh Recursively
Automaticaly changed Version from "Other" to "Dev" Version "Other" is nonsence
this bug depended on issue #7041 It is fixed completly now. verified on [NBdev-198]
Created attachment 8532 [details] ide.log file for CVS/Refresh Recursively null pointer error
See attached ide.log. Whenever i try to use the CVS > Refresh Recursively command, I get a java.lang.NullPointer exception. Version dropdown in your bug reporting form only goes up to 3.3dev, but I'm using Netbeans 3.4.
This bug is quite old and was already fixed. To rcwatson: your bug is different and is almost certainly caused by a corrupted CVS profile. This is apparent from the preceding: org.netbeans.modules.vcscore.util.VariableInputFormatException: Unrecognized input component '$[? FILES_IS_FOLDER] [ASK_FOR' It seems, that CvsListRecursiveCommand tries to load an nonexistent command. It should probably print some error instead of throwing NPE, but the problem is in the corrupted CVS profile. Please unmount the affected filesystem and mount it again with the original CVS profile. This should fix the problem. The 3.4 version is not available in the dropdown intentionally. vcscvs module is not a part of NetBeans 3.4 distribution. You're using vcsgeneric module with the CVS profile instead.
Agreed. Verified as already fixed.