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 126400 - Adding folder throws NPE.
Summary: Adding folder throws NPE.
Status: VERIFIED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: ClearCase (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-31 15:27 UTC by Peter Pis
Modified: 2008-02-15 09:16 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 Peter Pis 2008-01-31 15:27:01 UTC
Product Version: NetBeans IDE Dev (Build 080130)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)
Userdir: D:\nb-hg\main\nbbuild\user

Steps:
1. Mount a view drive in "Favorites" view. 
2. Create new folder in it. 
3. Select it and invoke "ClearCase | Add ..." action.
4. Proceed with dialog for addition.

Exception is thrown:

java.lang.NullPointerException
	at org.netbeans.modules.clearcase.FileStatusCache.getFileStatus(FileStatusCache.java:418)
	at org.netbeans.modules.clearcase.FileStatusCache.refresh(FileStatusCache.java:344)
	at org.netbeans.modules.clearcase.FileStatusCache.refresh(FileStatusCache.java:281)
	at org.netbeans.modules.clearcase.FileStatusCache.access$100(FileStatusCache.java:70)
	at org.netbeans.modules.clearcase.FileStatusCache$1.run(FileStatusCache.java:509)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
Comment 1 Tomas Stupka 2008-02-11 10:20:12 UTC
could not reproduce. seems to be fixed
Comment 2 Peter Pis 2008-02-15 09:16:35 UTC
Verified.