|
Quick Lists
|
|
Bug ID:
|
6620270
|
|
Votes
|
0
|
|
Synopsis
|
UnknownHostException during an applet launch
|
|
Category
|
java_plugin:misc
|
|
Reported Against
|
|
|
Release Fixed
|
6u10(b23)
|
|
State
|
11-Closed,
Verified,
bug
|
|
Priority:
|
3-Medium
|
|
Related Bugs
|
|
|
Submit Date
|
23-OCT-2007
|
|
Description
|
UnknownHostException during an applet launch
Tested OS : windows
Tested Build :
Steps to reproduce :
1. Install jre
2. In the Java control panel, enable java console
3. create .javawsrc file under home directory with the following contents :
TraceNetwork=True
TraceBasic=True
TraceDefault=True
TraceSecurity=true
TraceCache=true
TraceExtensions=true
TraceTemp=true
4. Launch any applet from java.sun.com site
Applet is launched successfully but it gives "Unknown host exception" in the java console
liveconnect: Invoking JS method: document
liveconnect: Invoking JS method: URL
basic: Referencing classloader: xxxxx@xxxxx , refcount=1
java.net.UnknownHostException: java.sun.com
at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:849)
at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1200)
at java.net.InetAddress.getAllByName0(InetAddress.java:1153)
at java.net.InetAddress.getAllByName(InetAddress.java:1083)
at java.net.InetAddress.getAllByName(InetAddress.java:1019)
at java.net.InetAddress.getByName(InetAddress.java:969)
at com.sun.deploy.cache.Cache.getHostIP(Cache.java:1611)
at com.sun.deploy.cache.Cache.createHostEntry(Cache.java:1637)
at com.sun.deploy.cache.Cache.updateHostIPFile(Cache.java:1171)
at sun.plugin.AppletViewer.updateHostIPFile(AppletViewer.java:1595)
at sun.applet.AppletPanel.getAccessControlContext(AppletPanel.java:1108)
at sun.applet.AppletPanel.getClassLoader(AppletPanel.java:1009)
at sun.applet.AppletPanel.init(AppletPanel.java:215)
at sun.plugin.AppletViewer.createClassLoader(AppletViewer.java:890)
at sun.plugin.AppletViewer.appletInit(AppletViewer.java:701)
at sun.plugin.viewer.LifeCycleManager.loadAppletPanel(LifeCycleManager.j
ava:165)
at sun.plugin.viewer.IExplorerPluginObject$Initer.run(IExplorerPluginObj
ect.java:272)
basic: Added customer listener: xxxxx@xxxxx
Posted Date : 2007-10-23 10:23:54.0
|
|
Work Around
|
N/A
|
|
Evaluation
|
this exception trace is expected, and will only be displayed with tracing enabled.
closing as not a bug.
Posted Date : 2008-02-04 23:29:57.0
should not print the stack trace when we cannot resolve the hostname
Posted Date : 2008-04-08 21:01:51.0
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |