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 270931

Summary: NullPointerException at org.netbeans.modules.versioning.util.Utils.isAncestorOrEqual
Product: versioncontrol Reporter: Alexander Simon <alexvsimon>
Component: CodeAssignee: Ondrej Vrabec <ovrabec>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 228763
Attachments: stacktrace

Description Alexander Simon 2017-06-22 09:31:43 UTC
Build: NetBeans IDE Dev (Build 20170622-e31391109f08)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.131-b11, Java(TM) SE Runtime Environment, 1.8.0_131-b11
OS: SunOS

User Comments:
GUEST: Opening a project

alexvsimon: init hg fo project




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.versioning.util.Utils.isAncestorOrEqual(Utils.java:222)
   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)
   at org.netbeans.modules.mercurial.Mercurial.getRepositoryRoot(Mercurial.java:360)
Comment 1 Alexander Simon 2017-06-22 09:31:46 UTC
Created attachment 164596 [details]
stacktrace