JDK-8214049 : Before the file open dialog opens one or more error dialog boxes are displayed
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 8u191
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_10
  • CPU: x86_64
  • Submitted: 2018-11-15
  • Updated: 2018-11-23
  • Resolved: 2018-11-23
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 8
8-poolResolved
Related Reports
Duplicate :  
Duplicate :  
Description
A DESCRIPTION OF THE PROBLEM :
We have an application deployed via Java Web Start. Once the user wants to open a file via the file open dialog, several error dialogs are displayed, which require the user to click away, to be able to continue.
After this the file dialog shows up and work can be continued.
Examples are.

Dialog title: "<yellow warning triangle> jp2launcher.exe"
Dialog content: "<yellow warning triangle> Das Ziel wurde nicht gefunden" (Target not found)

Dialog title: "Fehlende Verkn����pfung" (Missing Link)
Dialog content: "GfxUIEX.exe wird gesucht. Klicken Sie auf "Durchsuchen" um selbst nach der Datei zu suchen" <"Durchsuchen" Button> <"Abbrechen" Button> (Searching for .. Click on "Durchsuchen" to let you search for the file)

This article on Reddis
https://www.reddit.com/r/java/comments/9qzgmo/really_weird_java_jre_8u191192_webstart_issue/
claims the cause to be that every .lnk file on user and publick Windows desktop is checked by jp2launcher.exe and that broken or non-accessible links trigger the error dialogs.

REGRESSION : Last worked in version 8u181

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Start a Java Web Start application which uses the file open dialog.

E.g. start http://www.jgoodies.com/download/demos/looks/looksdemo.jnlp, select "JGoodies Windows", click the "Launch" button, select the "Open" icon (folder icon, 2nd row from above, 4th icon).


EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
No error dialogs, just the file open dialog opens.
ACTUAL -
Before the file open dialog opens, error dialogs pop up.
(The nature and number of the messages depends on the individual machine)

FREQUENCY : always



Comments
This bug and JDK-8213583 have the same root cause. Closing this one as dupe of JDK-8213583.
23-11-2018

The given example fails because http://www.jgoodies.com/download/demos/looks/looksdemo.jar is no longer reachable (404 response)
21-11-2018

Regression in 8u191, where it seems jp2launcher.exe opens all .lnk files in both user's and public desktop folders while launcing a java applet or webstart application. Checked this for reported versions and could confirm the issue. Results: ========= 8u181: OK 8u191: Fail To reproduce: - Create a simple .txt file - foo.txt - Create a shortcut and placed in public as well as user's desktop. - Delete the original .txt file (foo.txt) - Run the webstart application with respective versions (8u181 and 8u191): http://www.jgoodies.com/download/demos/looks/looksdemo.jnlp, - Application launches and run fine with 8u181 but generate errors with 8u191 inquiring about missing shortcut file (foo.txt) Ref: See attached screenshot as reference.
16-11-2018