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.
This issue was reported manually by alexvsimon. It already has 1 duplicates Build: NetBeans IDE 8.0.2 (Build 201411181905) VM: Java HotSpot(TM) 64-Bit Server VM, 24.76-b04, Java(TM) SE Runtime Environment, 1.7.0_76-b13 OS: Windows 7 User Comments: GUEST: NA Stacktrace: java.lang.NullPointerException at org.netbeans.modules.nativeexecution.jsch.JSchChannelsSupport.releaseChannel(JSchChannelsSupport.java:297) at org.netbeans.modules.nativeexecution.api.util.ConnectionManager$ConnectionManagerAccessorImpl.closeAndReleaseChannel(ConnectionManager.java:615) at org.netbeans.modules.nativeexecution.NbRemoteNativeProcess.waitResultImpl(NbRemoteNativeProcess.java:102) at org.netbeans.modules.nativeexecution.NbNativeProcess.waitResult(NbNativeProcess.java:197) at org.netbeans.modules.nativeexecution.AbstractNativeProcess$1.call(AbstractNativeProcess.java:165) at org.netbeans.modules.nativeexecution.AbstractNativeProcess$1.call(AbstractNativeProcess.java:157)
Created attachment 155790 [details] stacktrace
NPE here: sessions.get(s).incrementAndGet(); (rev 276295)
This is a bug, not just "bad logging" NPE means that someone called releaseChannel ignoring the fact a corresponding session couldn't start (and thus ConcurrentHashMap<Session, AtomicInteger> doesn't contain this session).