[Bug 1147] New: wrongly assume DNS avaible even behind a proxy
bugzilla-daemon at icedtea.classpath.org
bugzilla-daemon at icedtea.classpath.org
Wed Aug 29 01:46:38 PDT 2012
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1147
Priority: P3
Bug ID: 1147
CC: unassigned at icedtea.classpath.org
Assignee: omajid at redhat.com
Summary: wrongly assume DNS avaible even behind a proxy
Severity: major
Classification: Unclassified
OS: Linux
Reporter: jeromerobert at gmx.com
Hardware: x86_64
Status: NEW
Version: unspecified
Component: NetX (javaws)
Product: IcedTea-Web
Created attachment 746
--> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=746&action=edit
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
http://icedtea.classpath.org/hg/icedtea-web/annotate/dbc6a336b087/netx/net/sourceforge/jnlp/Launcher.java#205
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 ...".
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120829/4b03b895/attachment.html
More information about the distro-pkg-dev
mailing list