2 Replies Latest reply: Jul 19, 2013 1:11 PM by ForceRs RSS

    RMI through a proxy server getting NullPointerException

    ForceRs

      I have Using JRE version 1.7.0_25-b16 Java HotSpot(TM) Client VM on Windows 7 PC.

      I have an RMI server running at 10.0.1.136:9500.

      I have a squid proxy server running at 172.17.1.5:3128.

       

      I am able to get to the RMI server and execute its methods when there is no proxy between the client (a java applet) and the server.  I know that the RMI server is working and viable.

       

      I am calling System.setProperty("http.proxyHost", "172.17.1.5"); and System.setProperty("http.proxyPort", "3128"); in the init method of my applet.  I type "s" to dump system and deployment properties before trying to do RMI and I see the two values:

      http.proxyHost = 172.17.1.5

      http.proxyPort = 3128

       

      I have enabled verbose logging for the following RMI properties on the applet client:

      System.setProperty("sun.rmi.dgc.logLevel", VERBOSE);

      System.setProperty("sun.rmi.loader.logLevel", VERBOSE);

      System.setProperty("sun.rmi.transport.logLevel", VERBOSE);

      System.setProperty("sun.rmi.transport.tcp.logLevel", VERBOSE);

      System.setProperty("sun.rmi.server.logLevel", VERBOSE); // likely does not apply to client

      System.setProperty("sun.rmi.transport.proxy.logLevel", VERBOSE);

       

      The applet is running at IP Address: 172.17.1.100.  It is running in Firefox 22.0.

       

      I have configure squid proxy server to allow tunneling through port 9500.

       

      Here is the DEBUG information when I try to invoke RMI:

      Jul 18, 2013 2:17:15 PM sun.rmi.transport.tcp.TCPEndpoint <clinit>

      FINE: AWT-EventQueue-2: localHostKnown = true, localHost = 172.17.1.100

      Jul 18, 2013 2:17:15 PM sun.rmi.server.UnicastRef newCall

      FINE: AWT-EventQueue-2: get connection

      Jul 18, 2013 2:17:15 PM sun.rmi.transport.tcp.TCPTransport <init>

      FINE: AWT-EventQueue-2: Version = 2, ep = [172.17.1.100:0]

      Jul 18, 2013 2:17:15 PM sun.rmi.transport.tcp.TCPEndpoint getLocalEndpoint

      FINE: AWT-EventQueue-2: created local endpoint for socket factory null on port 0

      Jul 18, 2013 2:17:15 PM sun.rmi.transport.tcp.TCPChannel createConnection

      FINE: AWT-EventQueue-2: create connection

      Jul 18, 2013 2:17:15 PM sun.rmi.transport.tcp.TCPEndpoint newSocket

      FINER: AWT-EventQueue-2: opening socket to [10.0.1.136:9500]

      Jul 18, 2013 2:17:15 PM sun.rmi.transport.proxy.RMIMasterSocketFactory createSocket

      FINE: AWT-EventQueue-2: host: 10.0.1.136, port: 9500

      Jul 18, 2013 2:17:15 PM sun.rmi.transport.proxy.RMIMasterSocketFactory createSocket

      FINE: AWT-EventQueue-2: host: 10.0.1.136, port: 9500

       

      Here is the stack trace I get when I try to invoke RMI::

      java.lang.NullPointerException

          at sun.plugin2.applet.Plugin2Manager.getPlugin2ManagerList(Unknown Source)

          at sun.plugin2.applet.Plugin2Manager.getFromAppContext(Unknown Source)

          at sun.plugin2.applet.Plugin2Manager.getCurrentManager(Unknown Source)

          at sun.plugin2.applet.Plugin2Manager.getCurrentAppletExecutionContext(Unknown Source)

          at sun.plugin2.main.client.PluginProxySelector.select(Unknown Source)

          at java.net.SocksSocketImpl.connect(Unknown Source)

          at java.net.Socket.connect(Unknown Source)

          at java.net.Socket.connect(Unknown Source)

          at java.net.Socket.<init>(Unknown Source)

          at java.net.Socket.<init>(Unknown Source)

          at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)

          at sun.rmi.transport.proxy.RMIMasterSocketFactory$AsyncConnector.run(Unknown Source)

          at java.lang.Thread.run(Unknown Source)

      java.lang.NullPointerException

          at sun.rmi.transport.proxy.RMIMasterSocketFactory.checkConnector(Unknown Source)

          at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)

          at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)

          at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)

          at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)

          at sun.rmi.server.UnicastRef.newCall(Unknown Source)

          at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)

          at com.company.product.client.ServerConfigurationDialogAdvanced$11.actionPerformed(ServerConfigurationDialogAdvanced.java:2445)

          at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

          at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)

          at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

          at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

          at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)

          at java.awt.Component.processMouseEvent(Unknown Source)

          at javax.swing.JComponent.processMouseEvent(Unknown Source)

          at java.awt.Component.processEvent(Unknown Source)

          at java.awt.Container.processEvent(Unknown Source)

          at java.awt.Component.dispatchEventImpl(Unknown Source)

          at java.awt.Container.dispatchEventImpl(Unknown Source)

          at java.awt.Component.dispatchEvent(Unknown Source)

          at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

          at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

          at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

          at java.awt.Container.dispatchEventImpl(Unknown Source)

          at java.awt.Window.dispatchEventImpl(Unknown Source)

          at java.awt.Component.dispatchEvent(Unknown Source)

          at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

          at java.awt.EventQueue.access$200(Unknown Source)

          at java.awt.EventQueue$3.run(Unknown Source)

          at java.awt.EventQueue$3.run(Unknown Source)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

          at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

          at java.awt.EventQueue$4.run(Unknown Source)

          at java.awt.EventQueue$4.run(Unknown Source)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

          at java.awt.EventQueue.dispatchEvent(Unknown Source)

          at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

          at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

          at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

          at java.awt.WaitDispatchSupport$2.run(Unknown Source)

          at java.awt.WaitDispatchSupport$4.run(Unknown Source)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.awt.WaitDispatchSupport.enter(Unknown Source)

          at java.awt.Dialog.show(Unknown Source)

          at java.awt.Component.show(Unknown Source)

          at java.awt.Component.setVisible(Unknown Source)

          at java.awt.Window.setVisible(Unknown Source)

          at java.awt.Dialog.setVisible(Unknown Source)

          at com.company.product.client.VnacJDialog.setVisible(VnacJDialog.java:247)

          at com.company.product.client.ServerConfigurationDialog$5.actionPerformed(ServerConfigurationDialog.java:698)

          at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

          at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)

          at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

          at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

          at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)

          at java.awt.Component.processMouseEvent(Unknown Source)

          at javax.swing.JComponent.processMouseEvent(Unknown Source)

          at java.awt.Component.processEvent(Unknown Source)

          at java.awt.Container.processEvent(Unknown Source)

          at java.awt.Component.dispatchEventImpl(Unknown Source)

          at java.awt.Container.dispatchEventImpl(Unknown Source)

          at java.awt.Component.dispatchEvent(Unknown Source)

          at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

          at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

          at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

          at java.awt.Container.dispatchEventImpl(Unknown Source)

          at java.awt.Window.dispatchEventImpl(Unknown Source)

          at java.awt.Component.dispatchEvent(Unknown Source)

          at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

          at java.awt.EventQueue.access$200(Unknown Source)

          at java.awt.EventQueue$3.run(Unknown Source)

          at java.awt.EventQueue$3.run(Unknown Source)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

          at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

          at java.awt.EventQueue$4.run(Unknown Source)

          at java.awt.EventQueue$4.run(Unknown Source)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

          at java.awt.EventQueue.dispatchEvent(Unknown Source)

          at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

          at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

          at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

          at java.awt.WaitDispatchSupport$2.run(Unknown Source)

          at java.awt.WaitDispatchSupport$4.run(Unknown Source)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.awt.WaitDispatchSupport.enter(Unknown Source)

          at java.awt.Dialog.show(Unknown Source)

          at java.awt.Component.show(Unknown Source)

          at java.awt.Component.setVisible(Unknown Source)

          at java.awt.Window.setVisible(Unknown Source)

          at java.awt.Dialog.setVisible(Unknown Source)

          at com.company.product.client.VnacJDialog.setVisible(VnacJDialog.java:247)

          at com.company.product.client.MenuPanel$18.actionPerformed(MenuPanel.java:894)

          at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

          at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)

          at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

          at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

          at javax.swing.AbstractButton.doClick(Unknown Source)

          at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)

          at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)

          at java.awt.Component.processMouseEvent(Unknown Source)

          at javax.swing.JComponent.processMouseEvent(Unknown Source)

          at java.awt.Component.processEvent(Unknown Source)

          at java.awt.Container.processEvent(Unknown Source)

          at java.awt.Component.dispatchEventImpl(Unknown Source)

          at java.awt.Container.dispatchEventImpl(Unknown Source)

          at java.awt.Component.dispatchEvent(Unknown Source)

          at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

          at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

          at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

          at java.awt.Container.dispatchEventImpl(Unknown Source)

          at java.awt.Window.dispatchEventImpl(Unknown Source)

          at java.awt.Component.dispatchEvent(Unknown Source)

          at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

          at java.awt.EventQueue.access$200(Unknown Source)

          at java.awt.EventQueue$3.run(Unknown Source)

          at java.awt.EventQueue$3.run(Unknown Source)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

          at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

          at java.awt.EventQueue$4.run(Unknown Source)

          at java.awt.EventQueue$4.run(Unknown Source)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

          at java.awt.EventQueue.dispatchEvent(Unknown Source)

          at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

          at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

          at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

          at java.awt.EventDispatchThread.run(Unknown Source)

       

      My understanding is that you need only supply the System.setProperty("http.proxyHost", "172.17.1.5"); and System.setProperty("http.proxyPort", "3128").

       

      Am I missing something?

        • 1. Re: RMI through a proxy server getting NullPointerException
          EJP

          This looks like a platform bug, but note that it is happening when trying to form a *direct* connection. If you are using HTTP tunnelling, you could try setting the Sun RMI system property sun.rmi.transport.proxy.eagerHttpFallback.

          • 2. Re: RMI through a proxy server getting NullPointerException
            ForceRs

            Thanks.

             

            Adding System.setProperty("sun.rmi.transport.proxy.eagerHttpFallback", "true") worked for http.

             

            Now, though, when I use an HTTPS URL to access the applet, RMI fails in seemingly the exact same way as my original post.  I confirmed that RMI is working via HTTPS when no proxy server is present.

             

            Using an HTTPS URL to access my applet and issue RMI, I get this debug and stack trace:

             

            Detected proxy: Host=172.17.1.5, Port=3128 // my debug code writes this message

            Setting http.proxyHost to 172.17.1.5 and http.proxyPort to 3128 // my debug code writes this message

            Jul 19, 2013 1:04:10 PM sun.rmi.transport.tcp.TCPEndpoint <clinit>

            FINE: AWT-EventQueue-2: localHostKnown = true, localHost = 172.17.1.100

            Jul 19, 2013 1:04:10 PM sun.rmi.server.UnicastRef newCall

            FINE: AWT-EventQueue-2: get connection

            Jul 19, 2013 1:04:10 PM sun.rmi.transport.tcp.TCPTransport <init>

            FINE: AWT-EventQueue-2: Version = 2, ep = [172.17.1.100:0]

            Jul 19, 2013 1:04:10 PM sun.rmi.transport.tcp.TCPEndpoint getLocalEndpoint

            FINE: AWT-EventQueue-2: created local endpoint for socket factory null on port 0

            Jul 19, 2013 1:04:10 PM sun.rmi.transport.tcp.TCPChannel createConnection

            FINE: AWT-EventQueue-2: create connection

            Jul 19, 2013 1:04:10 PM sun.rmi.transport.tcp.TCPEndpoint newSocket

            FINER: AWT-EventQueue-2: opening socket to [10.0.1.136:9500]

            Jul 19, 2013 1:04:10 PM sun.rmi.transport.proxy.RMIMasterSocketFactory createSocket

            FINE: AWT-EventQueue-2: host: 10.0.1.136, port: 9500

            Jul 19, 2013 1:04:10 PM sun.rmi.transport.proxy.RMIMasterSocketFactory createSocket

            FINE: AWT-EventQueue-2: host: 10.0.1.136, port: 9500

            java.lang.NullPointerException

                at sun.plugin2.applet.Plugin2Manager.getPlugin2ManagerList(Unknown Source)

                at sun.plugin2.applet.Plugin2Manager.getFromAppContext(Unknown Source)

                at sun.plugin2.applet.Plugin2Manager.getCurrentManager(Unknown Source)

                at sun.plugin2.applet.Plugin2Manager.getCurrentAppletExecutionContext(Unknown Source)

                at sun.plugin2.main.client.PluginProxySelector.select(Unknown Source)

                at java.net.SocksSocketImpl.connect(Unknown Source)

                at java.net.Socket.connect(Unknown Source)

                at java.net.Socket.connect(Unknown Source)

                at java.net.Socket.<init>(Unknown Source)

                at java.net.Socket.<init>(Unknown Source)

                at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)

                at sun.rmi.transport.proxy.RMIMasterSocketFactory$AsyncConnector.run(Unknown Source)

                at java.lang.Thread.run(Unknown Source)

            java.lang.NullPointerException

                at sun.rmi.transport.proxy.RMIMasterSocketFactory.checkConnector(Unknown Source)

                at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)

                at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)

                at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)

                at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)

                at sun.rmi.server.UnicastRef.newCall(Unknown Source)

                at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)

                at com.company.product.client.ServerConfigurationDialogAdvanced$11.actionPerformed(ServerConfigurationDialogAdvanced.java:2445)

                at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

                at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)

                at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

                at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

                at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)

                at java.awt.Component.processMouseEvent(Unknown Source)

                at javax.swing.JComponent.processMouseEvent(Unknown Source)

                at java.awt.Component.processEvent(Unknown Source)

                at java.awt.Container.processEvent(Unknown Source)

                at java.awt.Component.dispatchEventImpl(Unknown Source)

                at java.awt.Container.dispatchEventImpl(Unknown Source)

                at java.awt.Component.dispatchEvent(Unknown Source)

                at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

                at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

                at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

                at java.awt.Container.dispatchEventImpl(Unknown Source)

                at java.awt.Window.dispatchEventImpl(Unknown Source)

                at java.awt.Component.dispatchEvent(Unknown Source)

                at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

                at java.awt.EventQueue.access$200(Unknown Source)

                at java.awt.EventQueue$3.run(Unknown Source)

                at java.awt.EventQueue$3.run(Unknown Source)

                at java.security.AccessController.doPrivileged(Native Method)

                at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

                at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

                at java.awt.EventQueue$4.run(Unknown Source)

                at java.awt.EventQueue$4.run(Unknown Source)

                at java.security.AccessController.doPrivileged(Native Method)

                at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

                at java.awt.EventQueue.dispatchEvent(Unknown Source)

                at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

                at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

                at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

                at java.awt.WaitDispatchSupport$2.run(Unknown Source)

                at java.awt.WaitDispatchSupport$4.run(Unknown Source)

                at java.security.AccessController.doPrivileged(Native Method)

                at java.awt.WaitDispatchSupport.enter(Unknown Source)

                at java.awt.Dialog.show(Unknown Source)

                at java.awt.Component.show(Unknown Source)

                at java.awt.Component.setVisible(Unknown Source)

                at java.awt.Window.setVisible(Unknown Source)

                at java.awt.Dialog.setVisible(Unknown Source)

                at com.company.product.client.VnacJDialog.setVisible(VnacJDialog.java:247)

                at com.company.product.client.ServerConfigurationDialog$5.actionPerformed(ServerConfigurationDialog.java:698)

                at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

                at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)

                at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

                at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

                at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)

                at java.awt.Component.processMouseEvent(Unknown Source)

                at javax.swing.JComponent.processMouseEvent(Unknown Source)

                at java.awt.Component.processEvent(Unknown Source)

                at java.awt.Container.processEvent(Unknown Source)

                at java.awt.Component.dispatchEventImpl(Unknown Source)

                at java.awt.Container.dispatchEventImpl(Unknown Source)

                at java.awt.Component.dispatchEvent(Unknown Source)

                at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

                at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

                at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

                at java.awt.Container.dispatchEventImpl(Unknown Source)

                at java.awt.Window.dispatchEventImpl(Unknown Source)

                at java.awt.Component.dispatchEvent(Unknown Source)

                at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

                at java.awt.EventQueue.access$200(Unknown Source)

                at java.awt.EventQueue$3.run(Unknown Source)

                at java.awt.EventQueue$3.run(Unknown Source)

                at java.security.AccessController.doPrivileged(Native Method)

                at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

                at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

                at java.awt.EventQueue$4.run(Unknown Source)

                at java.awt.EventQueue$4.run(Unknown Source)

                at java.security.AccessController.doPrivileged(Native Method)

                at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

                at java.awt.EventQueue.dispatchEvent(Unknown Source)

                at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

                at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

                at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

                at java.awt.WaitDispatchSupport$2.run(Unknown Source)

                at java.awt.WaitDispatchSupport$4.run(Unknown Source)

                at java.security.AccessController.doPrivileged(Native Method)

                at java.awt.WaitDispatchSupport.enter(Unknown Source)

                at java.awt.Dialog.show(Unknown Source)

                at java.awt.Component.show(Unknown Source)

                at java.awt.Component.setVisible(Unknown Source)

                at java.awt.Window.setVisible(Unknown Source)

                at java.awt.Dialog.setVisible(Unknown Source)

                at com.company.product.client.VnacJDialog.setVisible(VnacJDialog.java:247)

                at com.company.product.client.MenuPanel$18.actionPerformed(MenuPanel.java:894)

                at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

                at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)

                at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

                at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

                at javax.swing.AbstractButton.doClick(Unknown Source)

                at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)

                at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)

                at java.awt.Component.processMouseEvent(Unknown Source)

                at javax.swing.JComponent.processMouseEvent(Unknown Source)

                at java.awt.Component.processEvent(Unknown Source)

                at java.awt.Container.processEvent(Unknown Source)

                at java.awt.Component.dispatchEventImpl(Unknown Source)

                at java.awt.Container.dispatchEventImpl(Unknown Source)

                at java.awt.Component.dispatchEvent(Unknown Source)

                at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

                at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

                at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

                at java.awt.Container.dispatchEventImpl(Unknown Source)

                at java.awt.Window.dispatchEventImpl(Unknown Source)

                at java.awt.Component.dispatchEvent(Unknown Source)

                at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

                at java.awt.EventQueue.access$200(Unknown Source)

                at java.awt.EventQueue$3.run(Unknown Source)

                at java.awt.EventQueue$3.run(Unknown Source)

                at java.security.AccessController.doPrivileged(Native Method)

                at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

                at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

                at java.awt.EventQueue$4.run(Unknown Source)

                at java.awt.EventQueue$4.run(Unknown Source)

                at java.security.AccessController.doPrivileged(Native Method)

                at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

                at java.awt.EventQueue.dispatchEvent(Unknown Source)

                at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

                at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

                at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

                at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

                at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

                at java.awt.EventDispatchThread.run(Unknown Source)

             

            Any ideas for HTTPS?

             

            Oh -- I tried to add:

            System.setProperty("https.proxyHost", host);

            System.setProperty("https.proxyPort", port + "");

            but no luck.