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 250748

Summary: NullPointerException at org.eclipse.jgit.lib.RefUpdate.setNewObjectId
Product: versioncontrol Reporter: everflux <everflux>
Component: GitAssignee: Ondrej Vrabec <ovrabec>
Status: RESOLVED FIXED    
Severity: normal CC: git
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 215714
Attachments: stacktrace

Description everflux 2015-02-26 17:37:18 UTC
Build: NetBeans IDE Dev (Build 201502210001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.31-b07, Java(TM) SE Runtime Environment, 1.8.0_31-b13
OS: Linux

User Comments:
everflux: i clicked on 'sync' on a local branch in the git repo browser




Stacktrace: 
java.lang.NullPointerException
   at org.eclipse.jgit.lib.RefUpdate.setNewObjectId(RefUpdate.java:283)
   at org.netbeans.libs.git.jgit.commands.UpdateRefCommand.run(UpdateRefCommand.java:94)
   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)
   at java.security.AccessController.doPrivileged(AccessController.java:0)
   at org.netbeans.libs.git.jgit.commands.GitCommand.execute(GitCommand.java:77)
Comment 1 everflux 2015-02-26 17:37:20 UTC
Created attachment 152263 [details]
stacktrace
Comment 2 Ondrej Vrabec 2015-02-26 20:08:26 UTC
fix: http://hg.netbeans.org/core-main/rev/26cb9767917a
Comment 3 Quality Engineering 2015-02-28 09:01:59 UTC
Integrated into 'main-silver', will be available in build *201502280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/26cb9767917a
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #250748 - NullPointerException at org.eclipse.jgit.lib.RefUpdate.setNewObjectId