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 250677 - NullPointerException at org.netbeans.modules.remote.impl.fs.server.FSSTransport.refreshFast
Summary: NullPointerException at org.netbeans.modules.remote.impl.fs.server.FSSTranspo...
Status: RESOLVED DUPLICATE of bug 250551
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-25 08:58 UTC by Exceptions Reporter
Modified: 2015-03-31 14:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 215654


Attachments
stacktrace (6.46 KB, text/plain)
2015-02-25 08:58 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-02-25 08:58:11 UTC
This bug was originally marked as duplicate of bug 250551, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201502230001)
VM: OpenJDK 64-Bit Server VM, 25.40-b13, OpenJDK Runtime Environment, 1.8.0_40-internal-b09
OS: Linux

User Comments:
GUEST: .




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.remote.impl.fs.server.FSSTransport.refreshFast(FSSTransport.java:501)
   at org.netbeans.modules.remote.impl.fs.RemoteFileSystemTransport.refreshFast(RemoteFileSystemTransport.java:95)
   at org.netbeans.modules.remote.impl.fileoperations.spi.RemoteVcsSupportUtil.refreshFor(RemoteVcsSupportUtil.java:390)
   at org.netbeans.modules.remotefs.versioning.impl.RemoteVcsSupportImpl.refreshFor(RemoteVcsSupportImpl.java:467)
   at org.netbeans.modules.remotefs.versioning.api.RemoteVcsSupport.refreshFor(RemoteVcsSupport.java:220)
   at org.netbeans.modules.remotefs.versioning.api.RemoteVcsSupport.refreshFor(RemoteVcsSupport.java:215)
Comment 1 Exceptions Reporter 2015-02-25 08:58:12 UTC
Created attachment 152198 [details]
stacktrace
Comment 2 Vladimir Kvashin 2015-03-31 14:07:06 UTC
It *is* a dup of issue 250551. After my commit
http://hg.netbeans.org/cnd-main/rev/90542ead2a03
which fixed issue 250551, FSSTransport.java:501 contains 
    if (fo != null) {
in which NPE is not possible. Before this fix FSSTransport.java:501 contained dereferencing of variable without null check

*** This bug has been marked as a duplicate of bug 250551 ***