Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » EGit freezes Eclipse in 2019-06 release
EGit freezes Eclipse in 2019-06 release [message #1808547] Wed, 26 June 2019 16:03 Go to next message
Alexandros Karypidis is currently offline Alexandros KarypidisFriend
Messages: 135
Registered: March 2010
Senior Member
Hello,

I've installed 2019-06 release to try it and I'm having issues with EGit. It blocks the UI thread and freezes Eclipse.

It happens with something as simple as going to "Window->Preferences->Team->Git->Configuration" (also hangs when I try to add an existing cloned repo to EGit).

I took a thread dump with jstack and it always seems to be inside some jgit code that seems to be retrieving file attributes?

"main" #1 prio=6 os_prio=0 tid=0x00000000078dc800 nid=0x37dc waiting on condition [0x000000000026c000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at java.lang.Thread.sleep(Thread.java:340)
        at java.util.concurrent.TimeUnit.sleep(TimeUnit.java:386)
        at org.eclipse.jgit.util.FS$FileStoreAttributeCache.<init>(FS.java:240)
        at org.eclipse.jgit.util.FS$FileStoreAttributeCache.getFsTimestampResolution(FS.java:211)
        at org.eclipse.jgit.util.FS.getFsTimerResolution(FS.java:321)
        at org.eclipse.jgit.internal.storage.file.FileSnapshot.<init>(FileSnapshot.java:186)
        at org.eclipse.jgit.internal.storage.file.FileSnapshot.save(FileSnapshot.java:122)
        at org.eclipse.jgit.storage.file.FileBasedConfig.load(FileBasedConfig.java:156)
        at org.eclipse.egit.ui.internal.preferences.ConfigurationEditorComponent.initControlsFromConfig(ConfigurationEditorComponent.java:464)
        at org.eclipse.egit.ui.internal.preferences.ConfigurationEditorComponent.createContents(ConfigurationEditorComponent.java:428)
        at org.eclipse.egit.ui.internal.preferences.GlobalConfigurationPreferencePage.createContents(GlobalConfigurationPreferencePage.java:160)
        at org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:244)
        at org.eclipse.jface.preference.PreferenceDialog.createPageControl(PreferenceDialog.java:1429)
        at org.eclipse.jface.preference.PreferenceDialog$8.run(PreferenceDialog.java:1196)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
        at org.eclipse.ui.internal.JFaceUtil.lambda$0(JFaceUtil.java:47)
        at org.eclipse.ui.internal.JFaceUtil$$Lambda$8/1511813739.run(Unknown Source)
        at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:176)
        at org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1188)


Has the version of jgit changed in 2019-06? This could be a possible bug of jgit...

UPDATE: I am using JDK 1.8.0.212 on Windows 7 and my git home (where repositories are cloned) are on NTFS.

[Updated on: Wed, 26 June 2019 16:07]

Report message to a moderator

Re: EGit freezes Eclipse in 2019-06 release [message #1808563 is a reply to message #1808547] Wed, 26 June 2019 21:25 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1105
Registered: July 2009
Senior Member
sounds like https://bugs.eclipse.org/bugs/show_bug.cgi?id=548188#c25

Yes, 5.4 also comes with a new 5.4 jgit version which has this bug. Working on a series of fixes here:
https://git.eclipse.org/r/#/c/144899/
Re: EGit freezes Eclipse in 2019-06 release [message #1808566 is a reply to message #1808563] Wed, 26 June 2019 22:53 Go to previous messageGo to next message
Alexandros Karypidis is currently offline Alexandros KarypidisFriend
Messages: 135
Registered: March 2010
Senior Member
Yes, that definitely looks like what I'm experiencing. Thank you for the bug link.
Re: EGit freezes Eclipse in 2019-06 release [message #1809398 is a reply to message #1808547] Mon, 15 July 2019 13:12 Go to previous messageGo to next message
Christian Ciach is currently offline Christian CiachFriend
Messages: 1
Registered: July 2019
Junior Member
Will there be a new release of the "Eclipse 2019-06" package? As it stands, my coworkers cannot even install the Eclipse version, because it freezes before they get the opportunity to update any packages. Do we need to skip 2019-06 completely?
Re: EGit freezes Eclipse in 2019-06 release [message #1809615 is a reply to message #1809398] Thu, 18 July 2019 20:40 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1105
Registered: July 2009
Senior Member
We'll release a JGit and EGit service release as soon as the patches are merged.
Re: EGit freezes Eclipse in 2019-06 release [message #1810381 is a reply to message #1809615] Fri, 09 August 2019 07:40 Go to previous messageGo to next message
René Glanzer is currently offline René GlanzerFriend
Messages: 3
Registered: August 2019
Junior Member
I'm still facing this problem on a Win10 machine and OpenJDK11 and Eclipse 2019-06.

I also cannot reach the git configuration dialog nor can I fork existing repos.
Is there a solution or workaround to get back to ordinary work?
Re: EGit freezes Eclipse in 2019-06 release [message #1810448 is a reply to message #1809615] Mon, 12 August 2019 09:27 Go to previous messageGo to next message
René Glanzer is currently offline René GlanzerFriend
Messages: 3
Registered: August 2019
Junior Member
Is there any timeframe for the new release? Currently I'm not able to open the Preferences->Team->Git->Configuration dialog. When I try to open it Eclipse hangs and can only be shut down with the task manager.
Due to windows domain restrictions my home dir resides on an network drive. Since the last Windows update I've encountered this problem. Unfortunatelly no usefull logfiles are written.
I also watched for a new release here: https://wiki.eclipse.org/EGit/FAQ#What_versions_of_Eclipse_does_EGit_target.3F but didn't found one.

Can anyone help me with this?
Thanks in advance.
René
Re: EGit freezes Eclipse in 2019-06 release [message #1810974 is a reply to message #1810448] Thu, 22 August 2019 20:22 Go to previous messageGo to next message
Diego Chaves is currently offline Diego ChavesFriend
Messages: 1
Registered: August 2019
Junior Member
I have the same problem, but im my case all the workspace hangs after the eclipse starts the "auto share git projects: (0%)".

I observed that:

a) The problem started after the fedora update.

b) eclipse runs when the workspace is in a local disk , but in a NFS folder it freezes.

c) I installed the 2019-06 for try resolve the eclipse Oxygens hangs, but the problem is the same.
Re: EGit freezes Eclipse in 2019-06 release [message #1811079 is a reply to message #1810448] Mon, 26 August 2019 14:38 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1105
Registered: July 2009
Senior Member
5.4.2 is now available on the main update site https://download.eclipse.org/egit/updates
Re: EGit freezes Eclipse in 2019-06 release [message #1814029 is a reply to message #1811079] Mon, 02 September 2019 07:10 Go to previous message
René Glanzer is currently offline René GlanzerFriend
Messages: 3
Registered: August 2019
Junior Member
Good Morning,

5.4.2 solved the problem for me. Without any changes - except installing 5.4.2 :-) - the configuration dialog can be accessed again.
Thank you for the update.

With kind regards.
René
Previous Topic:File dirty recognition
Next Topic:ArchiveCommand - How to make an archive of a remote without cloning
Goto Forum:
  


Current Time: Mon Dec 09 01:51:22 GMT 2019

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

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

Back to the top