Following JNLP file:
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="file:///C:/j2d/FXStatup/FXTests/new/dummy/" href="launch_fx.jnlp">
<jar href="DummyWS.jar" main="true" download="eager"/>
<extension name="junk" href="jars/Scenario.jar"/>
leads to JNLP error on start.
Perhaps the reason of error is that jars are signed with different certificates
(this is what i get if i change extension to jar tag). However, i can not get details
- pressing "Details" button leads to hung.
Note that this is not deadlock. It seems that WebStart's EDT is just sitting inside
same Swing method (i've checked the code and line 176 corresponds to array allocation).
Perhaps this is Swing issue but this can also be caused by multithread use of Swing or weird parameters.
Stacktrace from jstack is attached (i have collectend number of them and they all are _exactly the same)
as well as testcase (you need to fix codebase in the jnlp file).
Problem is reproducible at least with 60u10 b27, b28 and b30 on Vista and XP.
The cause of the error dialog is the invalid jnlp file, which is actually a jar.
The invalid jnlp file error dialog tries to add the contents of the jnlp file to one of the tabs by creating a JTextArea, and calling setText(xxx) where xxx is the contents of the jnlp file. This clearly should be filtered to be legal characters for JTextArea.setText(), and contain some reasonable limit on size.