0 Replies Latest reply: Aug 30, 2012 10:53 AM by 395252 RSS

    JFileChooser: "Could not bind shell folder to interface" on Windows 7

    395252
      in Windows 7 (32 bit) with JRE 1.6.0_23 when I open a file selection dialog (new JFileChooser() ) in some cases I get the following error and my application hangs. Anyone knows the solution to thie problem? Thanks.

      Exception in thread "AWT-EventQueue-0" java.lang.InternalError: Could not bind shell folder to interface
      at sun.awt.shell.Win32ShellFolder2.initSpecial(Native Method)
      at sun.awt.shell.Win32ShellFolder2.access$200(Unknown Source)
      at sun.awt.shell.Win32ShellFolder2$1.call(Unknown Source)
      at sun.awt.shell.Win32ShellFolder2$1.call(Unknown Source)
      at sun.awt.shell.Win32ShellFolderManager2$ComInvoker.invoke(Unknown Source)
      at sun.awt.shell.ShellFolder.invoke(Unknown Source)
      at sun.awt.shell.ShellFolder.invoke(Unknown Source)
      at sun.awt.shell.Win32ShellFolder2.<init>(Unknown Source)
      at sun.awt.shell.Win32ShellFolderManager2.getNetwork(Unknown Source)
      at sun.awt.shell.Win32ShellFolder2$7.call(Unknown Source)
      at sun.awt.shell.Win32ShellFolder2$7.call(Unknown Source)
      at sun.awt.shell.Win32ShellFolderManager2$ComInvoker.invoke(Unknown Source)
      at sun.awt.shell.ShellFolder.invoke(Unknown Source)
      at sun.awt.shell.ShellFolder.invoke(Unknown Source)
      at sun.awt.shell.Win32ShellFolder2.getFileSystemPath(Unknown Source)
      at sun.awt.shell.Win32ShellFolder2.access$300(Unknown Source)
      at sun.awt.shell.Win32ShellFolder2$11.call(Unknown Source)
      at sun.awt.shell.Win32ShellFolder2$11.call(Unknown Source)
      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at sun.awt.shell.Win32ShellFolderManager2$ComInvoker$3.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)