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.

Bug 210247

Summary: NullPointerException at java.util.Collections.addAll
Product: connecteddeveloper Reporter: Antonin Nebuzelsky <anebuzelsky>
Component: Team FrameworkAssignee: Tomas Stupka <tstupka>
Status: CLOSED WONTFIX    
Severity: normal CC: asenk, gtzabari, mmirilovic
Priority: P2    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 186383
Attachments: stacktrace

Description Antonin Nebuzelsky 2012-03-28 09:32:50 UTC
Build: NetBeans IDE Dev (Build 20120327-c2325c0d8cbe)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.0-b17, Java(TM) SE Runtime Environment, 1.7.0_04-ea-b16
OS: Linux

User Comments:
anebuzelsky: Opened Team window.




Stacktrace: 
java.lang.NullPointerException
   at java.util.Collections.addAll(Collections.java:3836)
   at sun.security.ssl.AbstractTrustManagerWrapper.<init>(AbstractTrustManagerWrapper.java:778)
   at sun.security.ssl.SSLContextImpl.chooseTrustManager(SSLContextImpl.java:133)
   at sun.security.ssl.SSLContextImpl.engineInit(SSLContextImpl.java:89)
   at javax.net.ssl.SSLContext.init(SSLContext.java:283)
   at org.netbeans.modules.kenai.RestConnection.<init>(RestConnection.java:125)
Comment 1 Antonin Nebuzelsky 2012-03-28 09:32:55 UTC
Created attachment 117383 [details]
stacktrace
Comment 2 Marian Mirilovic 2012-03-28 12:34:45 UTC
Adam, 
could you please try/test subversion with https connection in NetBeans 7.1.2 and JDK 7u4 (b17) on Linux ? Thanks in advance.
Comment 3 Ondrej Vrabec 2012-03-28 12:40:51 UTC
According to http://hg.openjdk.java.net/jdk7/jdk7/jdk/file/tip/src/share/classes/javax/net/ssl/X509TrustManager.java, the method getAcceptedIssuers() must return a non-null array.
JDKu4 change the constructor of hg.openjdk.java.net/jdk7u/jdk7u4/jdk/file/b4401b362fd8/src/share/classes/sun/security/ssl/SSLContextImpl.java, which now expects a non-null return value
Comment 4 Antonin Nebuzelsky 2012-03-29 11:55:27 UTC
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7142172
Comment 5 Tomas Stupka 2012-04-12 22:03:35 UTC
*** Bug 211118 has been marked as a duplicate of this bug. ***