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 270102

Summary: NullPointerException at org.netbeans.modules.versioning.core.api.VCSFileProxy.createFileProxy
Product: versioncontrol Reporter: Vladimir Kvashin <vkvashin>
Component: CodeAssignee: Ondrej Vrabec <ovrabec>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 228450
Attachments: stacktrace

Description Vladimir Kvashin 2017-03-17 07:21:57 UTC
This bug was originally marked as duplicate of bug 229487, 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 20170312-16f7e01143a9)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.121-b13, Java(TM) SE Runtime Environment, 1.8.0_121-b13
OS: Linux

User Comments:
vkvashin: I don't understand the exact moment exception appeared. A couple of minutes ago I dealed with a file that is a symlink. I did not work with anything remote.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.versioning.core.api.VCSFileProxy.createFileProxy(VCSFileProxy.java:116)
   at org.netbeans.modules.versioning.spi.VersioningSupport.isExcluded(VersioningSupport.java:147)
   at org.netbeans.modules.mercurial.Mercurial.getKnownParent(Mercurial.java:612)
   at org.netbeans.modules.mercurial.Mercurial.getTopmostManagedAncestor(Mercurial.java:543)
   at org.netbeans.modules.mercurial.Mercurial$1.getTopmostManagedAncestor(Mercurial.java:173)
   at org.netbeans.modules.versioning.util.RootsToFile.getRepositoryRoot(RootsToFile.java:127)
Comment 1 Vladimir Kvashin 2017-03-17 07:22:00 UTC
Created attachment 163871 [details]
stacktrace