The fix for bug #196940 introduced a nasty regression, taken from an e-mail by Vladimir:
> Below is exceptions report which can not be converted into IZ.
> We'd like it to be fixed in 7.0 (because it is expected to be platform for Solaris Studio IDE.Next)
> The fix is simple:
> check for null after file.listFiles() and exit if null.
> as seen from exception it is in DirectoryChooserUI.ListFilesWorker (line 1070)
> And occurs in case of read only dir in path.
> In NFS env we have such situation rather often when trying to open project from co-worker /home/user/NetBeansProjects folders or other NFS paths
Should be fixed in 7.0, Marian, do you agree?
Adding the keyword to keep track of it.
To reproduce the problem, just enter /blablabla/ into the filename field
The patch works for me.
Ondreji, please integrate to release70 today. Thanks.
Verified in the custom build. Ondro, please, integrate now. Thanks.
fixed in release70: http://hg.netbeans.org/releases/rev/49a55c18a2ac
Integrated into 'main-golden', will be available in build *201103310400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Ondrej Vrabec <email@example.com>
Log: Issue #197219 - NPE in DirectoryChooserUI
I have verified the fix in the following NB7.0 build:
Product Version: NetBeans IDE 7.0 RC2 (Build 201103310000)
Java: 1.6.0_24; Java HotSpot(TM) Client VM 19.1-b02
System: Windows 7 version 6.1 running on x86; Cp1250; cs_CZ (nb)