-
Bug
-
Resolution: Fixed
-
P2
-
1.0.1, 5.0
-
b50
-
generic, x86
-
generic, linux
run ./javaws -uninstall http://java.sun.com/products/javawebstart/apps/draw.jnlp
this won't work as expected and throws exception if cache is already emtpy:
basic: Uninstall: http://java.sun.com/products/javawebstart/apps/draw.jnlp
java.net.UnknownHostException: java.sun.com
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at com.sun.javaws.net.BasicNetworkLayer.doRequest(Unknown Source)
at com.sun.javaws.net.BasicNetworkLayer.doGetRequest(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.uninstall(Unknown Source)
at com.sun.javaws.Main.uninstallCache(Unknown Source)
at com.sun.javaws.Main.main(Unknown Source)
if we run -silent -uninstall <http url>, it will even hang the process (ON UNIX) due to the above execption:
Exception in thread "main" java.lang.NoClassDefFoundError
at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.handleParsedData(Unknown Source)
at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.access$200(Unknown Source) at com.sun.java.swing.plaf.gtk.GTKLookAndFeel$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.loadStylesFromThemeFiles(Unknown Source)
at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.initialize(Unknown Source) at javax.swing.UIManager.setLookAndFeel(Unknown Source)
at javax.swing.UIManager.setLookAndFeel(Unknown Source)
at com.sun.deploy.util.DeployUIManager.restoreLookAndFeel(Unknown Source)
at com.sun.deploy.util.DialogFactory.showMessageDialogImpl(Unknown Source)
at com.sun.deploy.util.DialogFactory.access$500(Unknown Source)
at com.sun.deploy.util.DialogFactory$7.execute(Unknown Source)
at com.sun.deploy.util.DeploySysRun.execute(Unknown Source)
at com.sun.deploy.util.DialogFactory.showMessageDialog(Unknown Source)
at com.sun.deploy.util.DialogFactory.showErrorDialog(Unknown Source)
at com.sun.javaws.Main.uninstall(Unknown Source)
at com.sun.javaws.Main.uninstallCache(Unknown Source)
at com.sun.javaws.Main.main(Unknown Source)
this won't work as expected and throws exception if cache is already emtpy:
basic: Uninstall: http://java.sun.com/products/javawebstart/apps/draw.jnlp
java.net.UnknownHostException: java.sun.com
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at com.sun.javaws.net.BasicNetworkLayer.doRequest(Unknown Source)
at com.sun.javaws.net.BasicNetworkLayer.doGetRequest(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.uninstall(Unknown Source)
at com.sun.javaws.Main.uninstallCache(Unknown Source)
at com.sun.javaws.Main.main(Unknown Source)
if we run -silent -uninstall <http url>, it will even hang the process (ON UNIX) due to the above execption:
Exception in thread "main" java.lang.NoClassDefFoundError
at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.handleParsedData(Unknown Source)
at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.access$200(Unknown Source) at com.sun.java.swing.plaf.gtk.GTKLookAndFeel$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.loadStylesFromThemeFiles(Unknown Source)
at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.initialize(Unknown Source) at javax.swing.UIManager.setLookAndFeel(Unknown Source)
at javax.swing.UIManager.setLookAndFeel(Unknown Source)
at com.sun.deploy.util.DeployUIManager.restoreLookAndFeel(Unknown Source)
at com.sun.deploy.util.DialogFactory.showMessageDialogImpl(Unknown Source)
at com.sun.deploy.util.DialogFactory.access$500(Unknown Source)
at com.sun.deploy.util.DialogFactory$7.execute(Unknown Source)
at com.sun.deploy.util.DeploySysRun.execute(Unknown Source)
at com.sun.deploy.util.DialogFactory.showMessageDialog(Unknown Source)
at com.sun.deploy.util.DialogFactory.showErrorDialog(Unknown Source)
at com.sun.javaws.Main.uninstall(Unknown Source)
at com.sun.javaws.Main.uninstallCache(Unknown Source)
at com.sun.javaws.Main.main(Unknown Source)