Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 549562

Summary: Preferences->Team->Git->Configuration hangs eclipse
Product: [Technology] EGit Reporter: Jon Z. <jonathan.zufelt>
Component: CoreAssignee: Project Inbox <egit.core-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: blocker    
Priority: P3 CC: loskutov
Version: 5.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=548598
Whiteboard:
Attachments:
Description Flags
When accessing Prefs->Team->Git->Config none

Description Jon Z. CLA 2019-07-25 08:19:17 EDT
Title is fairly self explanatory.
In addition to this clicking on 'Add an existing local Git repository' hangs eclipse.
Clone a git repository finds the git repo (which is on my linux machine) via ssh, I see the branches, but eclipse never connects again to linux machine to actually clone the git repo.
'Create a new local git repo' also causes eclipse to hang.

C:\Program Files\Git\cmd is entered into my windows PATH env variables...

Please tell me what logs I should post or what I can do to fix git in eclipse.

Best,
J
Comment 1 Andrey Loskutov CLA 2019-07-25 08:52:13 EDT
Most likely direct side effect of bug 548598.
Please create jstack dump of the hanging Eclipse process and attach it here.
Comment 2 Jon Z. CLA 2019-07-29 03:51:45 EDT
Created attachment 279413 [details]
When accessing Prefs->Team->Git->Config
Comment 3 Jon Z. CLA 2019-07-29 03:56:54 EDT
Attached is the file created using this tutorial:
https://wiki.eclipse.org/How_to_report_a_deadlock

It appears that jstack dump is listed for non-Windows OSes, but I am using windows. 
Please note:
the Adaptj StackTrace link no longer works and jvisualvm doesn't ship with OpenJDK/OpenJ9 version of java I am using.

If there are more specific instructions please let me know where to find them, thx!
Comment 4 Andrey Loskutov CLA 2019-07-29 11:22:05 EDT
(In reply to Jon Z. from comment #2)
> Created attachment 279413 [details]
> When accessing Prefs->Team->Git->Config

Thanks. It is same as bug 548598.

3XMTHREADINFO3           Java callstack:
4XESTACKTRACE                at java/lang/Thread.sleep(Native Method)
4XESTACKTRACE                at java/util/concurrent/TimeUnit.sleep(TimeUnit.java:446)
4XESTACKTRACE                at org/eclipse/jgit/util/FS$FileStoreAttributeCache.<init>(FS.java:240)
4XESTACKTRACE                at org/eclipse/jgit/util/FS$FileStoreAttributeCache.getFsTimestampResolution(FS.java:211)
4XESTACKTRACE                at org/eclipse/jgit/util/FS.getFsTimerResolution(FS.java:321)
4XESTACKTRACE                at org/eclipse/jgit/internal/storage/file/FileSnapshot.<init>(FileSnapshot.java:186)
4XESTACKTRACE                at org/eclipse/jgit/internal/storage/file/FileSnapshot.save(FileSnapshot.java:122)

*** This bug has been marked as a duplicate of bug 548598 ***