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 - NullPointerException at java.util.Collections.addAll
Summary: NullPointerException at java.util.Collections.addAll
Status: CLOSED WONTFIX
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Team Framework (show other bugs)
Version: 7.2
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
: 211118 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-03-28 09:32 UTC by Antonin Nebuzelsky
Modified: 2012-07-17 16:00 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 186383


Attachments
stacktrace (1.22 KB, text/plain)
2012-03-28 09:32 UTC, Antonin Nebuzelsky
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***