android - Eclipse Internal error makes it impossible to use git -


i banging head since yesterday on problem popped after switched branch on android git-managed project, error pop-up keeps showing making impossible use git

pop error

eclipse's log shows :

!entry org.eclipse.core.jobs 4 2 2014-11-27 12:05:44.993 !message internal error occurred during: "computing git status repository git". !stack 0 java.lang.nullpointerexception     @ org.eclipse.jgit.treewalk.workingtreeiterator.computehash(workingtreeiterator.java:1003)     @ org.eclipse.jgit.treewalk.workingtreeiterator.contentcheck(workingtreeiterator.java:949)     @ org.eclipse.jgit.treewalk.workingtreeiterator.ismodified(workingtreeiterator.java:843)     @ org.eclipse.jgit.treewalk.filter.indexdifffilter.include(indexdifffilter.java:223)     @ org.eclipse.jgit.treewalk.filter.andtreefilter$list.include(andtreefilter.java:163)     @ org.eclipse.jgit.treewalk.treewalk.next(treewalk.java:560)     @ org.eclipse.jgit.lib.indexdiff.diff(indexdiff.java:389)     @ org.eclipse.egit.core.internal.indexdiff.indexdiffcacheentry.calcindexdiffdatafull(indexdiffcacheentry.java:486)     @ org.eclipse.egit.core.internal.indexdiff.indexdiffcacheentry.access$7(indexdiffcacheentry.java:475)     @ org.eclipse.egit.core.internal.indexdiff.indexdiffcacheentry$4.run(indexdiffcacheentry.java:286)     @ org.eclipse.core.internal.jobs.worker.run(worker.java:54) 

i tried various attempts fix :

  • uninstalling egit eclipse via marketplace process seems after restart, egit's still there.
  • deleting manually removing plugins , featuresfolders suggested on other posts.
  • starting fresh eclipse install , importing git projects, problem shows off right after project added.
  • cloning git repo location in new workspace same problem.
  • i couldn't find exact version of org.eclipse.jgit.treewalk.workingtreeiterator check on npe happens

it seems if git repo corrupted, appreciated.

edit don't know if it's relevant here's session data :

eclipse.buildid=4.4.1.m20140925-0400 java.version=1.6.0_43 java.vendor=sun microsystems inc. bootloader constants: os=win32, arch=x86_64, ws=win32, nl=fr_fr framework arguments:  -product org.eclipse.epp.package.java.product command-line arguments:  -data d:\development\workspace -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product 

this solution worked me right click on project go team - select disconnect. refresh project. commit ur changes branch. restart eclipse problem solved.

if want share project again. can share following same steps team - share porject.


Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -