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.
After fixing of issue 45915, it started to happen that NullPointerException is thrown when the test is configuring new working directory in CVS profile wizard. The test does the following: - open versioning manager - click Add button - type <PROJECT_HOME>/src in workdir text field - select CVS profile - type <PROJECT_HOME>/src in repository workdir Sometime after selecting CVS profile (but before we try to click the next button) the exception is thrown (look at the screen shot and stack trace).
Created attachment 16510 [details] Screen shot
Created attachment 16511 [details] Stack trace
I was able to reproduce it by running just the CVS test. Starting to work on it...
This problem is caused by the newly introduced RapidDocumentChangeListener, which fires change events asynchronously. Some kind of synchronization is necessary now.
Fixed in trunk. Synchronization added, the "testCVS" now pass successfully (if I create <user dir>/SampleProject/src directory. This is either done by some previous tests that I didn't execute, or it should be created by the "testCVS()". /cvs/vcsgeneric/src/org/netbeans/modules/vcs/advanced/VcsCustomizer.java,v <-- VcsCustomizer.java new revision: 1.138; previous revision: 1.137
Fine, it passes. I will add testCVS to the commit validation suite.