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.
Build: NetBeans IDE Dev (Build 200904240201) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b02 OS: Windows XP, 5.1, x86 Stacktrace: java.lang.NullPointerException at sun.net.www.ParseUtil.toURI(ParseUtil.java:261) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:787) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:718) at org.netbeans.modules.hudson.api.ConnectionBuilder.doConnection(ConnectionBuilder.java:270) at org.netbeans.modules.hudson.api.ConnectionBuilder.connection(ConnectionBuilder.java:212) at org.netbeans.modules.hudson.api.ConnectionBuilder.httpConnection(ConnectionBuilder.java:330)
Created attachment 80825 [details] stacktrace
I need to know what preceded this in the log. See logging instructions in http://wiki.netbeans.org/HudsonInNetBeans And are you using a proxy?
- open Add Hudson Instance dialog - enter some name - remove one / in URL, so your URL looks like: http:/ - click Add button NPE
"well don't do that then" Reproducible on JDK 6. On JDK 5 or JDK 7 a different exception is thrown, already reported in Bugster (6797318) and caught gracefully. Can just rewrap all exceptions into IOException so they are treated uniformly, I guess: cdev #017621adb787
Integrated into 'main-golden', will be available in build *200904250201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/017621adb787 User: Jesse Glick <jglick@netbeans.org> Log: #163555: more robust handling of edge cases in URL handling which turn up JRE bugs.
verified