JDK-6852953 : JFilechooser silent failure with DFS on Windows Server and Vista SP2
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6u10,6u18
  • Priority: P4
  • Status: Closed
  • Resolution: Not an Issue
  • OS: windows_vista
  • CPU: x86
  • Submitted: 2009-06-19
  • Updated: 2011-02-16
  • Resolved: 2010-10-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6-poolResolved
Related Reports
Relates :  
Description
FULL PRODUCT VERSION :
java version "1.6.0_14"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) 64-Bit Server VM (build 14.0-b16, mixed mode)

ADDITIONAL OS VERSION INFORMATION :
Windows Vista Service Pack 2, Windows 7, Windows Server 2003

EXTRA RELEVANT SYSTEM CONFIGURATION :
Drives on Windows Server 2003 are set up with Distributed File System (DFS).

A DESCRIPTION OF THE PROBLEM :
We have a Netbeans 6.5 based Platform Application.  We require our user to use Windows Vista 64-bit due to heavy memory usage.  In a recent build we installed the software on a computer with Windows Vista Service Pack 2.  When trying to open folders that are linked with DFS on a Windows Server 2003 box  the software did not open the folders.

I was able to reproduce this bug with any JFileChooser code.  Including the Sun JFileChooser Demo which I downloaded on the same computer and it did not work.

We verified that everything works fine with Windows Service Pack 1.  We verified that it does not work with the latest Windows 7 releaese.  We updated to the latest release of the Java SDK and JRE.  1.6.0_14 and the issues persist.

I notice that these DFS links now appear as shortcuts in VIsta SP2 where before they appeared as Folders in Vista SP1.

Note that regular shortcut keys seem to work fine.

Note that I can create a short cut key on my Desktop to the same folder and I am able to connect to the drives with no problem via the JFileChooser.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Use the Demo application from http://java.sun.com/docs/books/tutorial/uiswing/components/filechooser.html

When browsing around attempt to open a DFS linked folder/drive.

JFileChooser silently fails.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
JFileChooser open the folder..

ACTUAL -
JFileChooser silently fails and does not open the folder.

REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
Use the Demo application from http://java.sun.com/docs/books/tutorial/uiswing/components/filechooser.html
---------- END SOURCE ----------

CUSTOMER SUBMITTED WORKAROUND :
I am requiring users to revert back to SP1 which they are not excited about.  Otherwise I am having them create new short cut keys.  I have not found a workaround in Java for this issue.

Comments
EVALUATION comment in activities.
08-10-2010

EVALUATION here's something i am discussing with Pavel Porvatov from dev team. ----------------------------------- to confirm on bug details,when i read the bug description. i think this is a windows problem more than a jdk problem. so browsing more on it, i found this http://support.microsoft.com/kb/972841 The cause of the problem is exactly what our bug describes and is clearly mentioned as a Windows problem. also, found this link related to another product which experiences similar problem. http://www.cadlore.com/specialfeatures/softwarearticles/3931-distributed-file-system-dfs-problems-in-autocad-2010.html ----------------------------------------
03-08-2010