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 61277 - VSS Recursive refresh fails with NPE.
Summary: VSS Recursive refresh fails with NPE.
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcsgeneric (show other bugs)
Version: 4.x
Hardware: PC Windows 3.1/NT
: P1 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-22 10:10 UTC by bulmers
Modified: 2005-09-05 17:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bulmers 2005-07-22 10:10:22 UTC
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)
Comment 1 Peter Pis 2005-07-29 12:42:51 UTC
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.
Comment 2 bulmers 2005-08-04 10:41:24 UTC
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.
Comment 3 Martin Entlicher 2005-09-05 17:46:22 UTC
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