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 - NullPointerException at org.netbeans.modules.versioning.util.Utils.isAncestorOrEqual
Summary: NullPointerException at org.netbeans.modules.versioning.util.Utils.isAncestor...
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-06-22 09:31 UTC by Alexander Simon
Modified: 2017-06-22 09:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 228763


Attachments
stacktrace (7.08 KB, text/plain)
2017-06-22 09:31 UTC, Alexander Simon
Details

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