Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » NPE on checkout
NPE on checkout [message #780813] Thu, 19 January 2012 13:46 Go to next message
R Shapiro is currently offline R ShapiroFriend
Messages: 386
Registered: June 2011
Senior Member
After updating from the nightly build site today I now see the following NPE on checkout operations. The checkout itself works fine -- functionally nothing seems to be wrong.

An internal error occurred during: "Checking out branchx - refs/heads/master".

java.lang.NullPointerException
at java.io.File.<init>(File.java:305)
at org.eclipse.egit.ui.internal.branch.BranchProjectTracker.restore(BranchProjectTracker.java:236)
at org.eclipse.egit.ui.internal.branch.BranchProjectTracker.restore(BranchProjectTracker.java:219)
at org.eclipse.egit.ui.internal.branch.BranchOperationUI$1$2.postExecute(BranchOperationUI.java:194)
at org.eclipse.egit.core.op.BaseOperation.postExecute(BaseOperation.java:59)
at org.eclipse.egit.core.op.BranchOperation$1.run(BranchOperation.java:117)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2326)
at org.eclipse.egit.core.op.BranchOperation.execute(BranchOperation.java:123)
at org.eclipse.egit.ui.internal.branch.BranchOperationUI$1.run(BranchOperationUI.java:199)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)


egit 1.3.0.201201181724
eclipse.buildId=M20110909-1335
java.version=1.6.0_29
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Re: NPE on checkout [message #780859 is a reply to message #780813] Thu, 19 January 2012 17:21 Go to previous messageGo to next message
Kevin Sawicki is currently offline Kevin SawickiFriend
Messages: 47
Registered: September 2011
Member
Thanks for reporting this, this is a bug in the new code that tracks which projects are checked out on which branches.

I will push a fix for it soon.
Re: NPE on checkout [message #780861 is a reply to message #780813] Thu, 19 January 2012 17:29 Go to previous messageGo to next message
Kevin Sawicki is currently offline Kevin SawickiFriend
Messages: 47
Registered: September 2011
Member
Pushed proposed fix to: http://egit.eclipse.org/r/#change,4973

Thanks again for reporting this.
Re: NPE on checkout [message #781109 is a reply to message #780861] Fri, 20 January 2012 14:53 Go to previous message
R Shapiro is currently offline R ShapiroFriend
Messages: 386
Registered: June 2011
Senior Member
Fixed in this morning's update, thanks for the quick turnaround.
Previous Topic:Survey: key missing features
Next Topic:Compare with HEAD revision and .gitignore
Goto Forum:
  


Current Time: Thu Nov 27 09:58:05 GMT 2014

Powered by FUDForum. Page generated in 0.02329 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software