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 180395 - NPE in ScanOnDemand's refresh action
Summary: NPE in ScanOnDemand's refresh action
Status: RESOLVED FIXED
Alias: None
Product: contrib
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-07 07:05 UTC by flotho
Modified: 2010-02-12 12:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 160512


Attachments
stacktrace (739 bytes, text/plain)
2010-02-07 07:05 UTC, flotho
Details

Note You need to log in before you can comment on or make changes to this bug.
Description flotho 2010-02-07 07:05:14 UTC
Build: NetBeans IDE 6.8 (Build 200912091457)
VM: Java HotSpot(TM) Client VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07
OS: Linux

Stacktrace: 
java.lang.NullPointerException: The file parameter cannot be null
   at org.openide.util.Parameters.notNull(Parameters.java:86)
   at org.openide.filesystems.FileUtil.normalizeFile(FileUtil.java:1647)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.RootObj.invokeRefreshFor(RootObj.java:140)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.RootObj.setAttribute(RootObj.java:130)
   at org.openide.filesystems.FileUtil.refreshFor(FileUtil.java:154)
   at org.netbeans.modules.scanondemand.RefreshFolderAction$ContextAction$1.run(RefreshFolderAction.java:95)
Comment 1 flotho 2010-02-07 07:05:18 UTC
Created attachment 93941 [details]
stacktrace
Comment 2 Jaroslav Tulach 2010-02-12 12:25:51 UTC
contrib#5766f9b5ae86