Duplicate :
|
When running the following code: URL url = new URL( "https://cns-services.sun.com/UserInformationService/UserInformationServiceV1_1_0"); System.out.println("Attempting connection to: " + url.toString()); HttpURLConnection connection = (HttpURLConnection) url.openConnection(); connection.connect(); The customer gets: Attempting connection to: https://cns-services.sun.com/UserInformationService/UserInformationServiceV1_1_0 Exception caught: java.lang.NullPointerException This only occurs: 1. When the customer is using JDK 1.5.0_11. Previous versions of the JDK work fine. 2. Using proxy server "Netscape Proxy Server 3.51". Other proxy servers work fine. Netscape Proxy Server 3.51 was EOSL a long time ago. So I would imagine this would be an inherent low priority.