Bug 1158774 - netx: Read Error: Could not read or parse the JNLP file. (name can't be null)
Summary: netx: Read Error: Could not read or parse the JNLP file. (name can't be null)
Keywords:
Status: CLOSED DUPLICATE of bug 1154177
Alias: None
Product: Fedora
Classification: Fedora
Component: icedtea-web
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: jiri vanek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-30 08:26 UTC by Joel F
Modified: 2014-10-30 14:18 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-30 08:36:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
JNLP file, an named by a firefox download from the iDRAC web interface (3.12 KB, application/x-java-jnlp-file)
2014-10-30 08:26 UTC, Joel F
no flags Details

Description Joel F 2014-10-30 08:26:42 UTC
Created attachment 951992 [details]
JNLP file, an named by a firefox download from the iDRAC web interface

Description of problem:
icedtea/javaws cannot handle JNLP files with special characters in the file name

Version-Release number of selected component (if applicable):
Name        : icedtea-web
Arch        : x86_64
Version     : 1.5.1
Release     : 1.fc21


How reproducible:
Always

Steps to Reproduce:
1.
run it as such from a terminal:
[user@host ~]$ javaws viewer.jnlp(192.168.70.20@0@idrac-ABCDH5J,+PowerEdge+R510,+User_company@1111656502906)

Actual results:
Java exception and the following output on commandline
netx: Read Error: Could not read or parse the JNLP file. (name can't be null)

Expected results:
jawaws actually initiating download of the java jars. (This is expected to time out because my idrac is behind a firewall)


Additional info:

1) Manually downloading and renaming the file gets me past the parsing error.
2) Adding .jnlp at the end had no effect
3) Java stack trace:
net.sourceforge.jnlp.LaunchException: Fatal: Read Error: Could not read or parse the JNLP file. You can try to download this file manually and send it as bug report to IcedTea-Web team.
	at net.sourceforge.jnlp.Launcher.fromUrl(Launcher.java:484)
	at net.sourceforge.jnlp.Launcher.launch(Launcher.java:279)
	at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:246)
	at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:58)
	at java.security.AccessController.doPrivileged(Native Method)
	at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:213)
Caused by: java.io.IOException: name can't be null
	at net.sourceforge.jnlp.JNLPFile.openURL(JNLPFile.java:309)
	at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:229)
	at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:213)
	at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:198)
	at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:184)
	at net.sourceforge.jnlp.Launcher.fromUrl(Launcher.java:453)
	... 5 more

Comment 1 Joel F 2014-10-30 08:36:13 UTC
Aw, shucks. I didn't read trough all the closed tickets, but now I see this is a duplicate that was closed very recently. Closing.

*** This bug has been marked as a duplicate of bug 1154177 ***

Comment 2 jiri vanek 2014-10-30 14:17:14 UTC
reset to myself, as I fixed original issue, for tracking purposes.

Comment 3 Deepak Bhole 2014-10-30 14:18:30 UTC
Sorry Jiri, I did not notice the CLOSED status. Thanks for fixing the assignment.


Note You need to log in before you can comment on or make changes to this bug.