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 268112

Summary: NullPointerException at org.eclipse.jgit.treewalk.WorkingTreeIterator.computeHash
Product: versioncontrol Reporter: Maksim Khramov <mkhramov>
Component: GitAssignee: Ondrej Vrabec <ovrabec>
Status: NEW ---    
Severity: normal CC: git
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 214592
Attachments: stacktrace

Description Maksim Khramov 2016-09-20 10:19:12 UTC
Build: NetBeans IDE Dev (Build 201609090002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.121-b01, Java(TM) SE Runtime Environment, 1.8.0_121-ea-langtools-nightly-h9813-20160815-b01
OS: Windows 7

User Comments:
GUEST: ...

mkhramov: Revert local change while file opened outside from ide




Stacktrace: 
java.lang.NullPointerException
   at org.eclipse.jgit.treewalk.WorkingTreeIterator.computeHash(WorkingTreeIterator.java:1028)
   at org.eclipse.jgit.treewalk.WorkingTreeIterator.contentCheck(WorkingTreeIterator.java:974)
   at org.eclipse.jgit.treewalk.WorkingTreeIterator.isModified(WorkingTreeIterator.java:868)
   at org.netbeans.libs.git.jgit.commands.StatusCommand.run(StatusCommand.java:243)
   at org.netbeans.libs.git.jgit.commands.GitCommand$1.run(GitCommand.java:80)
   at org.netbeans.libs.git.jgit.commands.GitCommand$1.run(GitCommand.java:77)
Comment 1 Maksim Khramov 2016-09-20 10:19:14 UTC
Created attachment 162125 [details]
stacktrace