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.
VSS Recursive refresh fails with NPE. Using SourceSafe 6. Same problem occurs with the 4.2 build from 19th July. Problem is reproducable on two separate machines both using the same project set up. Project is a web application. java.lang.NullPointerException at org.netbeans.modules.vcs.profiles.vss.list.VssListRecursive.outputData (VssListRecursive.java:502) at org.netbeans.modules.vcscore.cmdline.ExecuteCommand.printDataOutput (ExecuteCommand.java:817) at org.netbeans.modules.vcscore.cmdline.ExecuteCommand$7.outputData (ExecuteCommand.java:934) at org.netbeans.modules.vcs.profiles.vss.commands.SSCommand$FilterListener.outputLi ne(SSCommand.java:395) at org.netbeans.modules.vcscore.cmdline.exec.ExternalCommand.stdoutNextLine (ExternalCommand.java:904) at org.netbeans.modules.vcscore.cmdline.exec.ExternalCommand.access$200 (ExternalCommand.java:40) at org.netbeans.modules.vcscore.cmdline.exec.ExternalCommand$OutputGrabber.run (ExternalCommand.java:549) at org.netbeans.modules.vcscore.cmdline.exec.ExternalCommand$OutputGrabbersProcesso r.run(ExternalCommand.java:667) at org.openide.util.Task.run(Task.java:189) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330) [catch] at org.openide.util.RequestProcessor$Processor.run (RequestProcessor.java:721)
I've tried to reproduce it, but everything seems to be OK. Recursive refresh finishes with no error. Please, can you provide some steps how to reproduce your problem? Thanks.
Can't think of any more useful information to provide other than Java version. Simply mount a VSS project with a new empty directory. Get latest version works fine to create the local source tree but then any attempt at recursive refresh at any point in the source tree (in Project view) fails with NPE. The same issue occurs on another developers PC using the same sourcesafe database. Netbeans is running under Java 1.5.0_04-b05. NPE appears to happen immediately before any files are refreshed.
Hopefully fixed in trunk: /cvs/vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/list/VssListRecursive.java,v <-- VssListRecursive.java new revision: 1.13; previous revision: 1.12