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 - NullPointerException when updating folder
Summary: NullPointerException when updating folder
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscvs (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P1 normal (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-11-21 13:13 UTC by tkellerer
Modified: 2003-07-02 17:20 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 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.