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 8495

Summary: NullPointerException when updating folder
Product: obsolete Reporter: tkellerer <tkellerer>
Component: vcscvsAssignee: issues@obsolete <issues>
Status: CLOSED FIXED    
Severity: normal    
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: Windows 3.1/NT   
Issue Type: DEFECT Exception Reporter:

Description tkellerer 2000-11-21 13:13:32 UTC
With the new 3.1 Build 11 the CVS update command gives me a
Null pointer exception (I only selected CVS/Update from the explorer)
It does not matter if the node is a file or a directory. The advanced
options are enabled. This worked in Build 10


Tue Nov 21 14:11:10 GMT+01:00 2000java.lang.NullPointerException: null
java.lang.NullPointerException

        at
org.netbeans.modules.vcs.cmdline.list.CvsListRecursiveCommand.addDirName(CvsList
RecursiveCommand.java:435)

        at
org.netbeans.modules.vcs.cmdline.list.CvsListRecursiveCommand.addLocalFolders(Cv
sListRecursiveCommand.java:460)

        at
org.netbeans.modules.vcs.cmdline.list.CvsListRecursiveCommand.listRecursively(Cv
sListRecursiveCommand.java:509)

        at
org.netbeans.modules.vcs.cmdline.CommandLineVcsDirReaderRecursive.runClass(Comma
ndLineVcsDirReaderRecursive.java:114)

        at
org.netbeans.modules.vcs.cmdline.CommandLineVcsDirReaderRecursive.run(CommandLin
eVcsDirReaderRecursive.java:207)

[catch] at java.lang.Thread.run(Thread.java:484)
Comment 1 Martin Entlicher 2000-11-21 13:55:59 UTC
Thanks for discovering this.
I rewrote the recursive refresh command yesterday, that is why the bug occurs.
It is fixed now in sources and it should work correctly in build #12.
Comment 2 Quality Engineering 2003-07-02 17:20:28 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.