-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
15
-
x86_64
-
windows_10
A DESCRIPTION OF THE PROBLEM :
Apparently, certain shortcuts on Windows cause JFileChooser to throw InternalError. With about 20,000 uses per day of our IDE, we get a report for one of these crashes every few days on average. Some of the files are not named as shortcuts (see stack dumps below), but most are. So far, none of the reporting users have provided us with the file that causes the problem. When the exception occurs, a dialog message recommends that they delete the problem shortcut, and request that they send us more information, so many may just delete the shortcut and move on.
We have been unable to reproduce this ourselves. Hopefully the cause can be determined from an examination of the stack dumps.
This has been a problem for many years.
ACTUAL -
Java 15:
Unable to bind C:\\Users\\Lunga\\Documents\\NFS Most Wanted\\lunga\\Quick access - Shortcut.lnk to parent
java.lang.InternalError: Unable to bind C:\\Users\\Lunga\\Documents\\NFS Most Wanted\\lunga\\Quick access - Shortcut.lnk to parent
at java.desktop/sun.awt.shell.Win32ShellFolder2$4.call(Win32ShellFolder2.java:454)
at java.desktop/sun.awt.shell.Win32ShellFolder2$4.call(Win32ShellFolder2.java:438)
at java.desktop/sun.awt.shell.Win32ShellFolderManager2$ComInvoker.invoke(Win32ShellFolderManager2.java:616)
at java.desktop/sun.awt.shell.ShellFolder.invoke(ShellFolder.java:519)
at java.desktop/sun.awt.shell.Win32ShellFolder2.getIShellFolder(Win32ShellFolder2.java:438)
at java.desktop/sun.awt.shell.Win32ShellFolder2$16.call(Win32ShellFolder2.java:1186)
at java.desktop/sun.awt.shell.Win32ShellFolder2$16.call(Win32ShellFolder2.java:1184)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.desktop/sun.awt.shell.Win32ShellFolderManager2$ComInvoker$1.run(Win32ShellFolderManager2.java:586)
at java.base/java.lang.Thread.run(Thread.java:832)
Java 13.0.1:
Unable to bind C:\\Users\\wneal\\AppData\\Roaming\\Microsoft\\Windows\\Recent\\My Java Scripts_ITEC 1030.lnk to parent
java.lang.InternalError: Unable to bind C:\\Users\\wneal\\AppData\\Roaming\\Microsoft\\Windows\\Recent\\My Java Scripts_ITEC 1030.lnk to parent
at java.desktop/sun.awt.shell.Win32ShellFolder2$4.call(Win32ShellFolder2.java:454)
at java.desktop/sun.awt.shell.Win32ShellFolder2$4.call(Win32ShellFolder2.java:438)
at java.desktop/sun.awt.shell.Win32ShellFolderManager2$ComInvoker.invoke(Win32ShellFolderManager2.java:616)
at java.desktop/sun.awt.shell.ShellFolder.invoke(ShellFolder.java:519)
at java.desktop/sun.awt.shell.Win32ShellFolder2.getIShellFolder(Win32ShellFolder2.java:438)
at java.desktop/sun.awt.shell.Win32ShellFolder2$16.call(Win32ShellFolder2.java:1186)
at java.desktop/sun.awt.shell.Win32ShellFolder2$16.call(Win32ShellFolder2.java:1184)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.desktop/sun.awt.shell.Win32ShellFolderManager2$ComInvoker$1.run(Win32ShellFolderManager2.java:586)
at java.base/java.lang.Thread.run(Thread.java:830)
Java 9:
java.lang.InternalError: Unable to bind C:\\Users\\i\\AppData\\Roaming\\Microsoft\\Windows\\Network Shortcuts\\acelerar windows.docx to parent
at java.desktop/sun.awt.shell.Win32ShellFolder2$4.call(Win32ShellFolder2.java:447)
at java.desktop/sun.awt.shell.Win32ShellFolder2$4.call(Win32ShellFolder2.java:431)
at java.desktop/sun.awt.shell.Win32ShellFolderManager2$ComInvoker.invoke(Win32ShellFolderManager2.java:573)
at java.desktop/sun.awt.shell.ShellFolder.invoke(ShellFolder.java:519)
at java.desktop/sun.awt.shell.Win32ShellFolder2.getIShellFolder(Win32ShellFolder2.java:431)
at java.desktop/sun.awt.shell.Win32ShellFolder2.access$300(Win32ShellFolder2.java:75)
at java.desktop/sun.awt.shell.Win32ShellFolder2$16.call(Win32ShellFolder2.java:1177)
at java.desktop/sun.awt.shell.Win32ShellFolder2$16.call(Win32ShellFolder2.java:1175)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.desktop/sun.awt.shell.Win32ShellFolderManager2$ComInvoker$1.run(Win32ShellFolderManager2.java:548)
at java.base/java.lang.Thread.run(Thread.java:844)
Java 1.8.0_20:
Unable to bind C:\\Users\\phu\\AppData\\Roaming\\Microsoft\\Windows\\Network Shortcuts\\hmw2.vsd to parent
java.lang.InternalError: Unable to bind C:\\Users\\phu\\AppData\\Roaming\\Microsoft\\Windows\\Network Shortcuts\\hmw2.vsd to parent
at sun.awt.shell.Win32ShellFolder2$4.call(Win32ShellFolder2.java:414)
at sun.awt.shell.Win32ShellFolder2$4.call(Win32ShellFolder2.java:398)
at sun.awt.shell.Win32ShellFolderManager2$ComInvoker.invoke(Win32ShellFolderManager2.java:535)
at sun.awt.shell.ShellFolder.invoke(ShellFolder.java:518)
at sun.awt.shell.Win32ShellFolder2.getIShellFolder(Win32ShellFolder2.java:398)
at sun.awt.shell.Win32ShellFolder2.access$200(Win32ShellFolder2.java:72)
at sun.awt.shell.Win32ShellFolder2$16.call(Win32ShellFolder2.java:1095)
at sun.awt.shell.Win32ShellFolder2$16.call(Win32ShellFolder2.java:1093)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at sun.awt.shell.Win32ShellFolderManager2$ComInvoker$3.run(Win32ShellFolderManager2.java:511)
at java.lang.Thread.run(Thread.java:745)
Apparently, certain shortcuts on Windows cause JFileChooser to throw InternalError. With about 20,000 uses per day of our IDE, we get a report for one of these crashes every few days on average. Some of the files are not named as shortcuts (see stack dumps below), but most are. So far, none of the reporting users have provided us with the file that causes the problem. When the exception occurs, a dialog message recommends that they delete the problem shortcut, and request that they send us more information, so many may just delete the shortcut and move on.
We have been unable to reproduce this ourselves. Hopefully the cause can be determined from an examination of the stack dumps.
This has been a problem for many years.
ACTUAL -
Java 15:
Unable to bind C:\\Users\\Lunga\\Documents\\NFS Most Wanted\\lunga\\Quick access - Shortcut.lnk to parent
java.lang.InternalError: Unable to bind C:\\Users\\Lunga\\Documents\\NFS Most Wanted\\lunga\\Quick access - Shortcut.lnk to parent
at java.desktop/sun.awt.shell.Win32ShellFolder2$4.call(Win32ShellFolder2.java:454)
at java.desktop/sun.awt.shell.Win32ShellFolder2$4.call(Win32ShellFolder2.java:438)
at java.desktop/sun.awt.shell.Win32ShellFolderManager2$ComInvoker.invoke(Win32ShellFolderManager2.java:616)
at java.desktop/sun.awt.shell.ShellFolder.invoke(ShellFolder.java:519)
at java.desktop/sun.awt.shell.Win32ShellFolder2.getIShellFolder(Win32ShellFolder2.java:438)
at java.desktop/sun.awt.shell.Win32ShellFolder2$16.call(Win32ShellFolder2.java:1186)
at java.desktop/sun.awt.shell.Win32ShellFolder2$16.call(Win32ShellFolder2.java:1184)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.desktop/sun.awt.shell.Win32ShellFolderManager2$ComInvoker$1.run(Win32ShellFolderManager2.java:586)
at java.base/java.lang.Thread.run(Thread.java:832)
Java 13.0.1:
Unable to bind C:\\Users\\wneal\\AppData\\Roaming\\Microsoft\\Windows\\Recent\\My Java Scripts_ITEC 1030.lnk to parent
java.lang.InternalError: Unable to bind C:\\Users\\wneal\\AppData\\Roaming\\Microsoft\\Windows\\Recent\\My Java Scripts_ITEC 1030.lnk to parent
at java.desktop/sun.awt.shell.Win32ShellFolder2$4.call(Win32ShellFolder2.java:454)
at java.desktop/sun.awt.shell.Win32ShellFolder2$4.call(Win32ShellFolder2.java:438)
at java.desktop/sun.awt.shell.Win32ShellFolderManager2$ComInvoker.invoke(Win32ShellFolderManager2.java:616)
at java.desktop/sun.awt.shell.ShellFolder.invoke(ShellFolder.java:519)
at java.desktop/sun.awt.shell.Win32ShellFolder2.getIShellFolder(Win32ShellFolder2.java:438)
at java.desktop/sun.awt.shell.Win32ShellFolder2$16.call(Win32ShellFolder2.java:1186)
at java.desktop/sun.awt.shell.Win32ShellFolder2$16.call(Win32ShellFolder2.java:1184)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.desktop/sun.awt.shell.Win32ShellFolderManager2$ComInvoker$1.run(Win32ShellFolderManager2.java:586)
at java.base/java.lang.Thread.run(Thread.java:830)
Java 9:
java.lang.InternalError: Unable to bind C:\\Users\\i\\AppData\\Roaming\\Microsoft\\Windows\\Network Shortcuts\\acelerar windows.docx to parent
at java.desktop/sun.awt.shell.Win32ShellFolder2$4.call(Win32ShellFolder2.java:447)
at java.desktop/sun.awt.shell.Win32ShellFolder2$4.call(Win32ShellFolder2.java:431)
at java.desktop/sun.awt.shell.Win32ShellFolderManager2$ComInvoker.invoke(Win32ShellFolderManager2.java:573)
at java.desktop/sun.awt.shell.ShellFolder.invoke(ShellFolder.java:519)
at java.desktop/sun.awt.shell.Win32ShellFolder2.getIShellFolder(Win32ShellFolder2.java:431)
at java.desktop/sun.awt.shell.Win32ShellFolder2.access$300(Win32ShellFolder2.java:75)
at java.desktop/sun.awt.shell.Win32ShellFolder2$16.call(Win32ShellFolder2.java:1177)
at java.desktop/sun.awt.shell.Win32ShellFolder2$16.call(Win32ShellFolder2.java:1175)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.desktop/sun.awt.shell.Win32ShellFolderManager2$ComInvoker$1.run(Win32ShellFolderManager2.java:548)
at java.base/java.lang.Thread.run(Thread.java:844)
Java 1.8.0_20:
Unable to bind C:\\Users\\phu\\AppData\\Roaming\\Microsoft\\Windows\\Network Shortcuts\\hmw2.vsd to parent
java.lang.InternalError: Unable to bind C:\\Users\\phu\\AppData\\Roaming\\Microsoft\\Windows\\Network Shortcuts\\hmw2.vsd to parent
at sun.awt.shell.Win32ShellFolder2$4.call(Win32ShellFolder2.java:414)
at sun.awt.shell.Win32ShellFolder2$4.call(Win32ShellFolder2.java:398)
at sun.awt.shell.Win32ShellFolderManager2$ComInvoker.invoke(Win32ShellFolderManager2.java:535)
at sun.awt.shell.ShellFolder.invoke(ShellFolder.java:518)
at sun.awt.shell.Win32ShellFolder2.getIShellFolder(Win32ShellFolder2.java:398)
at sun.awt.shell.Win32ShellFolder2.access$200(Win32ShellFolder2.java:72)
at sun.awt.shell.Win32ShellFolder2$16.call(Win32ShellFolder2.java:1095)
at sun.awt.shell.Win32ShellFolder2$16.call(Win32ShellFolder2.java:1093)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at sun.awt.shell.Win32ShellFolderManager2$ComInvoker$3.run(Win32ShellFolderManager2.java:511)
at java.lang.Thread.run(Thread.java:745)
- duplicates
-
JDK-6550546 Win LAF: JFileChooser -> Look in Drop down should not display any shortcuts created on desktop
-
- Resolved
-