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 - NullPointerException at org.netbeans.modules.versioning.core.api.VCSFileProxy.createFileProxy
Summary: NullPointerException at org.netbeans.modules.versioning.core.api.VCSFileProxy...
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Code (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-17 07:21 UTC by Vladimir Kvashin
Modified: 2017-03-17 07:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 228450


Attachments
stacktrace (1.63 KB, text/plain)
2017-03-17 07:22 UTC, Vladimir Kvashin
Details

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