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 219648 - NullPointerException at org.eclipse.jgit.lib.Repository.resolve
Summary: NullPointerException at org.eclipse.jgit.lib.Repository.resolve
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Git (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-07 02:41 UTC by sunbiz
Modified: 2012-10-10 10:44 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 191758


Attachments
stacktrace (3.06 KB, text/plain)
2012-10-07 02:41 UTC, sunbiz
Details
stacktrace (3.06 KB, text/plain)
2012-10-07 07:38 UTC, sunbiz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sunbiz 2012-10-07 02:41:45 UTC
Build: NetBeans IDE 7.3 Beta (Build 201209232010)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.10-b01, Java(TM) SE Runtime Environment, 1.6.0_35-b10
OS: Windows NT (unknown)

User Comments:
sunbiz: Trying to do a fetch from origin located at bitbucket and got this exception

GUEST: pulling from github




Stacktrace: 
java.lang.NullPointerException
   at org.eclipse.jgit.lib.Repository.resolve(Repository.java:386)
   at org.eclipse.jgit.lib.Repository.resolve(Repository.java:379)
   at org.netbeans.libs.git.jgit.Utils.parseObjectId(Utils.java:213)
   at org.netbeans.libs.git.jgit.Utils.findCommit(Utils.java:197)
   at org.netbeans.libs.git.jgit.commands.MergeCommand.run(MergeCommand.java:86)
   at org.netbeans.libs.git.jgit.commands.PullCommand.runTransportCommand(PullCommand.java:90)
Comment 1 sunbiz 2012-10-07 02:41:48 UTC
Created attachment 125520 [details]
stacktrace
Comment 2 sunbiz 2012-10-07 07:38:13 UTC
Created attachment 125521 [details]
stacktrace

Trying to do a pull from the upstream master
Comment 3 Ondrej Vrabec 2012-10-08 09:18:33 UTC
Do you use the pull wizard to pull or the simple Pull from upstream action? If the former, did you select just one or more branches in the "Select branches" step? There should be a label in the step panel saying something like: Branch origin/master will be merged into the current branch. What did it say in your case?
Comment 4 Ondrej Vrabec 2012-10-08 09:32:39 UTC
fix: http://hg.netbeans.org/core-main/rev/dba795666b96
Comment 5 Exceptions Reporter 2012-10-08 17:53:14 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=191758
Comment 6 Quality Engineering 2012-10-09 02:04:41 UTC
Integrated into 'main-golden', will be available in build *201210090002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/dba795666b96
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #219648 - NullPointerException at org.eclipse.jgit.lib.Repository.resolve
merging branch must be determined when branches to pull are preselected by default