United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6852953 JFilechooser silent failure with DFS on Windows Server and Vista SP2
6852953 : JFilechooser silent failure with DFS on Windows Server and Vista SP2

Details
Type:
Bug
Submit Date:
2009-06-19
Status:
Closed
Updated Date:
2011-02-16
Project Name:
JDK
Resolved Date:
2010-10-08
Component:
client-libs
OS:
windows_vista
Sub-Component:
javax.swing
CPU:
x86
Priority:
P4
Resolution:
Not an Issue
Affected Versions:
6u10,6u18
Fixed Versions:
6-pool

Related Reports
Relates:

Sub Tasks

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.
                                     
2010-10-08
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
----------------------------------------
                                     
2010-08-03



Hardware and Software, Engineered to Work Together