This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
today (3/5) I receive IOE when using the Reprot Exception tool in NB java.io.IOException: Server returned HTTP response code: 403 for URL: http://testwww.netbeans.org/nonav/uigestures/error.html at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1170) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367) at javax.swing.JEditorPane.getStream(JEditorPane.java:689) Caused: java.io.IOException: Server returned HTTP response code: 403 for URL: http://testwww.netbeans.org/nonav/uigestures/error.html at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1223) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1217) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:906) at javax.swing.JEditorPane.getStream(JEditorPane.java:719) at javax.swing.JEditorPane.setPage(JEditorPane.java:406) at org.netbeans.modules.uihandler.Installer$SubmitInteractive.assignInternalURL(Installer.java:1238) at org.netbeans.modules.uihandler.Installer$Submit.doShow(Installer.java:845) at org.netbeans.modules.uihandler.Installer.doDisplaySummary(Installer.java:434) at org.netbeans.modules.uihandler.Installer.displaySummary(Installer.java:408) at org.netbeans.modules.uihandler.UIHandler.run(UIHandler.java:132) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
Jack, can you help us, no Java program seems to be able to connect to netbeans.org, can collab fix it somehow?
I'm attaching simple java application: code: URL postURL = new URL(args[0]); URLConnection conn = postURL.openConnection(); InputStream stream = conn.getInputStream(); BufferedReader reader = new BufferedReader(new InputStreamReader(stream)); String str = reader.readLine(); System.out.println(str); reader.close(); stream.close(); usage: java -jar application.jar http://www.netbeans.org -> result IOException java -jar application.jar http://www.google.com ->first page line is printed you can verify functionality using this simple app
Created attachment 57795 [details] application.jar
*** Issue 129264 has been marked as a duplicate of this issue. ***
let's show error message instead of throwing exception on an IOException connection failture changeset: 71596:fc12fc2621f1
*** Issue 129333 has been marked as a duplicate of this issue. ***
*** Issue 129252 has been marked as a duplicate of this issue. ***
I this issue has already been fixed on Collab side as well as workarounded on our side.