-
Bug
-
Resolution: Fixed
-
P2
-
8u161
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8212347 | 8u202 | Dmitry Markov | P2 | Resolved | Fixed | b01 |
JDK-8208851 | 8u201 | Dmitry Markov | P2 | Resolved | Fixed | b01 |
JDK-8202866 | 8u191 | Dmitry Markov | P2 | Resolved | Fixed | b01 |
JDK-8203168 | 8u181 | Dmitry Markov | P2 | Closed | Fixed | b07 |
JDK-8202189 | 8u172 | Dmitry Markov | P2 | Closed | Fixed | b32 |
JDK-8216657 | emb-8u201 | Dmitry Markov | P2 | Resolved | Fixed | master |
JDK-8211574 | emb-8u191 | Dmitry Markov | P2 | Resolved | Fixed | master |
JDK-8203402 | emb-8u181 | Dmitry Markov | P2 | Resolved | Fixed | b07 |
java version "1.8.0_172-ea"
Java(TM) SE Runtime Environment (build 1.8.0_172-ea-b03)
Java HotSpot(TM) 64-Bit Server VM (build 25.172-b03, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
A DESCRIPTION OF THE PROBLEM :
JNLP file having UTF-8 letters failed to launch from command line javaws.exe.
REGRESSION. Last worked in version 8u151
ADDITIONAL REGRESSION INFORMATION:
jre1.8.0_144
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Failed:
C:\Program Files\Java\jre1.8.0_172\bin\javaws.exe utf8.jnlp
C:\Program Files\Java\jre1.8.0_161\bin\javaws.exe utf8.jnlp
Succeeded to launch:
C:\Program Files\Java\jre1.8.0_144\bin\javaws.exe utf8.jnlp
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Success to launch the application.
ACTUAL -
"Application Error" dialogue is shown.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
"Application Error" dialogue is shown. stack trace is as follows.
Exception: (the message says that failed to analyze, error in line 0)
-----
JNLParseException[ 起動ファイルを解析できませんでした。0行目にエラーがあります。]
at com.sun.javaws.jnl.XMLFormat.decode(Unknown Source)
at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main.access$000(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.EOFException: encoding.error.not.xml
at com.sun.deploy.xml.XMLEncoding.decodeXML(Unknown Source)
... 9 more
Wrapped Exception:
-----
java.io.EOFException: encoding.error.not.xml
at com.sun.deploy.xml.XMLEncoding.decodeXML(Unknown Source)
at com.sun.javaws.jnl.XMLFormat.decode(Unknown Source)
at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main.access$000(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
Failed:
C:\Program Files\Java\jre1.8.0_172\bin\javaws.exe utf8.jnlp
Reproducing test case, utf8.jnlp is as follows.
The jnlp file contains UTF-8 encoded japanese letters in the <argument> attribute.
<argument>--downloadFiles[0]=DownloadManagerSetup ........................ .exe</argument>
---------utf8.jnlp begin---------
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.7+"
codebase="http://127.0.0.1:9000/">
<information>
<title>SilverBulletDownloadClient</title>
<vendor>Skeed Co. Ltd.</vendor>
<homepage href="http://www.skeed.co.jp" />
<description kind="one-line">SkeedSilverBullet Client</description>
<description kind="short">SkeedSilverBullet Client</description>
<description kind="tooltip">SkeedSilverBullet Client</description>
<icon kind="default" href="http://127.0.0.1:9000/public/images/ssb_transparent.gif" />
<icon kind="splash" href="http://127.0.0.1:9000/public/images/ssb_splash.jpg" />
<offline-allowed/>
</information>
<security>
<all-permissions />
</security>
<resources>
<java version="1.7+" initial-heap-size="8M" max-heap-size="64M"/>
<jar href="http://127.0.0.1:9000/public/jars/ssb_guic.jar"/>
<property name="jnlp.packEnabled" value="true" />
</resources>
<application-desc main-class="com.skeedtech.skeed_silver_bullet.simple_gui_client.SimpleDownloaderMain">
<argument>--downloadFiles[0]=DownloadManagerSetup - コピー - コピー (2) - コピー.exe</argument>
</application-desc>
</jnlp>
---------utf8.jnlp end ---------
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Using ASCII letters by changing application behavior and/or limiting application functionality.
Or using older version of java.
- backported by
-
JDK-8202866 javaws.exe failed to launch UTF-8 encoded JNLP file
- Resolved
-
JDK-8203402 javaws.exe failed to launch UTF-8 encoded JNLP file
- Resolved
-
JDK-8208851 javaws.exe failed to launch UTF-8 encoded JNLP file
- Resolved
-
JDK-8211574 javaws.exe failed to launch UTF-8 encoded JNLP file
- Resolved
-
JDK-8212347 javaws.exe failed to launch UTF-8 encoded JNLP file
- Resolved
-
JDK-8216657 javaws.exe failed to launch UTF-8 encoded JNLP file
- Resolved
-
JDK-8202189 javaws.exe failed to launch UTF-8 encoded JNLP file
- Closed
-
JDK-8203168 javaws.exe failed to launch UTF-8 encoded JNLP file
- Closed
- duplicates
-
JDK-8199317 Launched from browser, UTF-8 encoded argument in a JNLP file is not correctly passed to application
- Closed
- relates to
-
JDK-8074544 webstart app fails with CouldNotLoadArgumentException when account in Japanese
- Resolved
-
JDK-8135227 DRS 1.3 enhancements doesn't work as expected when load no href jnlp by "javaws <local_path_of_jnlp_file>"
- Closed