<html>
<head>
<base href="http://icedtea.classpath.org/bugzilla/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>P3
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - wrongly assume DNS avaible even behind a proxy"
href="http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1147">1147</a>
</td>
</tr>
<tr>
<th>CC</th>
<td>unassigned@icedtea.classpath.org
</td>
</tr>
<tr>
<th>Assignee</th>
<td>omajid@redhat.com
</td>
</tr>
<tr>
<th>Summary</th>
<td>wrongly assume DNS avaible even behind a proxy
</td>
</tr>
<tr>
<th>Severity</th>
<td>major
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jeromerobert@gmx.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86_64
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>NetX (javaws)
</td>
</tr>
<tr>
<th>Product</th>
<td>IcedTea-Web
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=746&action=diff" name="attach_746" title="Disable online check with DNS query">attachment 746</a> <a href="attachment.cgi?id=746&action=edit" title="Disable online check with DNS query">[details]</a></span>
Disable online check with DNS query
When try to use icedtea-web behind my corporate proxy I get the following
error:
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.3) (6b24-1.11.3-2)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
File cannot be launched because offline-allowed tag not specified and system
currently offline.
java.lang.NullPointerException
at net.sourceforge.jnlp.NetxPanel.runLoader(NetxPanel.java:154)
at sun.applet.AppletPanel.run(AppletPanel.java:380)
at java.lang.Thread.run(Thread.java:679)
java.lang.NullPointerException
at sun.applet.AppletPanel.run(AppletPanel.java:430)
at java.lang.Thread.run(Thread.java:679)
Looking at
<a href="http://icedtea.classpath.org/hg/icedtea-web/annotate/dbc6a336b087/netx/net/sourceforge/jnlp/Launcher.java#205">http://icedtea.classpath.org/hg/icedtea-web/annotate/dbc6a336b087/netx/net/sourceforge/jnlp/Launcher.java#205</a>
I can see that icedtea-web assume that "no name resolution" mean "offline".
It's wrong when using a proxy.
The attached patch is a workaround which work for me. If it's really necessary
to check for "onlineness" so early I guess it would be better to do something
like "if not offlineAllowed and noDNS and noProxy then ...".</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>