Eclipse not respond when try to configure GIT - eclipse

Windows 10 Pro 64 Bit
SSD Kingston
i5-4690
Eclipse version: ALL
Workspace: empty
Problem: everytime i try to configure TEAM > GIT > configuration or i try to import/create local/remote git, eclipse freeze until i force to close it with task.
I have already tryed a fresh install ( juno/mars/neon/oxygen ) 32/64 bit with and without installer with no good results
!SESSION 2017-06-27 00:39:29.113 -----------------------------------------------
eclipse.buildId=4.7.0.I20170531-2000
java.version=1.8.0_91
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=it_IT
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product
!ENTRY org.eclipse.egit.ui 2 0 2017-06-27 00:39:50.111
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\Enrico'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!SESSION 2017-06-27 00:41:04.510 -----------------------------------------------
eclipse.buildId=4.7.0.I20170531-2000
java.version=1.8.0_91
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=it_IT
Framework arguments: -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product -data file:/C:/Users/Enrico/workspace/ -product org.eclipse.epp.package.java.product
!ENTRY org.eclipse.egit.ui 2 0 2017-06-27 00:41:13.439
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\Enrico'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!SESSION 2017-06-27 00:42:32.097 -----------------------------------------------
eclipse.buildId=4.7.0.I20170531-2000
java.version=1.8.0_91
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=it_IT
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product
!ENTRY org.eclipse.egit.ui 2 0 2017-06-27 00:42:42.119
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\Enrico'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!SESSION 2017-06-27 00:45:05.785 -----------------------------------------------
eclipse.buildId=4.7.0.I20170531-2000
java.version=1.8.0_91
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=it_IT
Framework arguments: -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product -data file:/C:/Users/Enrico/workspace/ -product org.eclipse.epp.package.java.product
!ENTRY org.eclipse.egit.ui 2 0 2017-06-27 00:45:13.542
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\Enrico'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!SESSION 2017-06-27 00:47:39.707 -----------------------------------------------
eclipse.buildId=4.7.0.I20170531-2000
java.version=1.8.0_91
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=it_IT
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product
!ENTRY org.eclipse.egit.ui 2 0 2017-06-27 00:47:49.374
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\Enrico'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
MY SOLUTION:
"Delete all folders from USER_FOLDER ( .p2 .eclipse ) and PROGRAMFILES. Remember to reboot!!!! Now all works fine with eclipse oxygen and git project"

The GIT plugin of Eclipse tries to detect whether to use the GIT executable of the OS, or the build-in GIT. Therefor it uses a bash command.
Before the Windows Creators Update, the bash command did not exist (unless you've installed CygWin or a similar program). With the Windows Creators Update, a new feature Windows Subsystem for Linux is added. When the bash command is first called, it asks whether to install this feature or not.
So in order to fix GIT in Eclipse, you just have to manually run bash once and install it. You may have to activate Developer Mode in Windows.

I had the exact same issue: Eclipse was not responding when trying to configure git.
I used Java VisualVM and discovered that Eclipse was not responding because of Eclipse JGit was searching for git.
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
- locked <0x00000000cf57bf60> (a java.io.BufferedInputStream)
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
at sun.nio.cs.StreamDecoder.read(Unknown Source)
- locked <0x00000000cf382838> (a java.io.InputStreamReader)
at java.io.InputStreamReader.read(Unknown Source)
at java.io.BufferedReader.fill(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
- locked <0x00000000cf382838> (a java.io.InputStreamReader)
at java.io.BufferedReader.readLine(Unknown Source)
at org.eclipse.jgit.util.FS.readPipe(FS.java:528)
at org.eclipse.jgit.util.FS.readPipe(FS.java:479)
at org.eclipse.jgit.util.FS_Win32.discoverGitExe(FS_Win32.java:127)
at org.eclipse.jgit.util.FS.discoverGitSystemConfig(FS.java:647)
I am on Windows, Git for Windows was installed, but for a strange reason the Environment Variable pointing on Git was not defined.
I had to add the directory of git.exe (C:\Program Files\Git\bin) in the System variable named Path.
Eclipse is not freezing anymore.

Adding git to the path variable on Windows 10, using Eclipse Oxygen worked for me! TY :D

Eclipse may be searching for a bash executable.
If you have Cygwin installed, add the Cygwin bin directory (for example, C:\cygwin64\bin) to your Path environment variable. Then restart eclipse.
The Cygwin bin directory includes bash.exe.

Check if you have already installed Git or not.
See if git variable is properly set in environment or not.
Try to execute git command in command prompt, it should work first.
Once all above steps are Okay, try restarting eclipse in clean mode.

Related

How to install the RED Robot Framework Editor plug-in manually into Eclipse?

Our corporate firewall is not allowing traffic directly towards SourceForge so we were supplied the plug-in JAR file through a fileshare. We have used the following download link.
We found several instructions to install plug-ins manually but we were not able to. It looks like this JAR file is not suitable for manual installation? Or what are the steps we need to take?
Update 19-09-2019
The following log is generated. No signs of processing of the dropins folder.
eclipse.buildId=4.12.0.I20190605-1800
java.version=1.8.0_191
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product -clean -console -consoleLog
!ENTRY org.eclipse.egit.core 1 0 2019-09-19 15:15:47.713
!MESSAGE Using Apache MINA sshd as ssh client.
!ENTRY org.eclipse.egit.ui 2 0 2019-09-19 15:15:57.883
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\myusername'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
Open Eclipse., Help -> Install New Software -> Add
Give "RED" in name and paste the link in the location
"https://sourceforge.net/projects/red-robot-editor/files/repository/0.9.1/"
Click Add
Select Check Box and Click Next
Then Click Finish

Eclipse Spring Tool Suite workspace broken

After forced shut down of an Eclipse STS workspace it doesn't start up, the error in .metadata/.log is:
!SESSION 2015-02-06 11:32:47.154 -----------------------------------------------
eclipse.buildId=3.6.3.201411281414-RELEASE-e43
java.version=1.7.0_60
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.springsource.sts.ide
Command-line arguments: -data /home/myHome/STSWorkspace -os linux -ws gtk -arch x86_64 -product org.springsource.sts.ide
!ENTRY org.eclipse.ui 4 0 2015-02-06 11:35:09.243
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.e4.core.di.InjectionException: java.lang.ClassCastException: org.eclipse.e4.ui.model.application.ui.menu.impl.ToolBarSeparatorImpl cannot be cast to org.eclipse.e4.ui.model.application.ui.menu.MToolBar
Startup with -clean option didn't work. Any idea on how to fix the .metadata directory?
Thanks in advance
I am not sure whether this error is related to your workspace or the STS installation. What happens if you select a different or fresh and clean workspace? Does that work?
If not, I would re-install a fresh copy of STS, since the error looks a bit like an incompatibility between different parts, maybe an incomplete update or something like that.
If starting STS with a different workspace works just fine, I woudl completely delete the .metadata directory of your workspace while STS is NOT running. Then restart STS (the workspace will be empty, but the projects are still around on dics since you deleted the .metadata directory only). Go to "Import Existing Projects into Workspace", select the workspace location in the upcoming dialog and re-import those existing projects into your workspace.

Can't export deployable features in Luna

I am trying to export a couple of deployable features in Luna, but I always get the error message below. I have two plug-in projects, a corresponding feature project for each and a category definition. With this set up Kepler exported the deployable features into a folder flawlessly, but with Luna there is always this message.
How can this be solved? Is there any other relevant information I can post?
Message:
An internal error occurred during: "Export Features".
Exception Stack Trace:
java.lang.NullPointerException
at org.eclipse.osgi.internal.resolver.NativeCodeSpecificationImpl.isSatisfiedBy(NativeCodeSpecificationImpl.java:88)
at org.eclipse.osgi.internal.module.ResolverImpl.isResolvable(ResolverImpl.java:285)
at org.eclipse.osgi.internal.module.ResolverImpl.resolveBundles(ResolverImpl.java:639)
at org.eclipse.osgi.internal.module.ResolverImpl.resolve(ResolverImpl.java:477)
at org.eclipse.osgi.internal.resolver.StateImpl.resolve(StateImpl.java:545)
at org.eclipse.osgi.internal.resolver.StateImpl.resolve(StateImpl.java:605)
at org.eclipse.pde.internal.build.site.BuildTimeSite.getRegistry(BuildTimeSite.java:186)
at org.eclipse.pde.internal.build.BuildScriptGenerator.generateFeatures(BuildScriptGenerator.java:276)
at org.eclipse.pde.internal.build.BuildScriptGenerator.generate(BuildScriptGenerator.java:127)
at org.eclipse.pde.internal.core.exports.FeatureExportOperation.doExport(FeatureExportOperation.java:257)
at org.eclipse.pde.internal.core.exports.FeatureExportOperation.doExport(FeatureExportOperation.java:224)
at org.eclipse.pde.internal.core.exports.FeatureExportOperation.run(FeatureExportOperation.java:108)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Session Data:
eclipse.buildId=4.4.0.I20140606-1215
java.version=1.8.0_11
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_GB
Framework arguments: -product org.eclipse.epp.package.standard.product
Command-line arguments: -data /media/lads/Data/users/lads/Trabalho/Eclipse/Luna/Workspace.Acceleo -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.standard.product
This is a known issue with release 4.4.0 reported in Bug 438652. A fix was shipped with release 4.4.1, thus an update to Eclipse gets this functionality working again.

My Eclipse Luna has an Error about EGIT and I really don't know what to do

Ok, I'm asking this stupid question because I can't find a useful answer in my problem.
My Eclipse Luna is like a garbage. It doesn't function well, I already tried to delete it and install it again. But the freaking error is still there. Please. I really need a help.
Take note. I don't have a code. I don't have a project yet. I told you guys, I deleted it and install it again so basically, I'm back to zero but the error is still there.
ok. this is my error log.
!SESSION 2014-09-21 21:53:52.206 -----------------------------------------------
eclipse.buildId=4.4.0.I20140606-1215
java.version=1.8.0_11
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64
!ENTRY org.eclipse.egit.ui 2 0 2014-09-21 22:00:59.915
!MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level
Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory.
The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in
this system level configuration. The Git installation location can be configured on the
Team > Git > Configuration preference page's 'System Settings' tab.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!SESSION 2014-09-22 17:29:25.194 -----------------------------------------------
eclipse.buildId=4.4.0.I20140606-1215
java.version=1.8.0_11
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64
!ENTRY org.eclipse.egit.ui 2 0 2014-09-22 17:30:20.804
!MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level
Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory.
The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in
this system level configuration. The Git installation location can be configured on the
Team > Git > Configuration preference page's 'System Settings' tab.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!SESSION 2014-09-22 19:15:44.856 -----------------------------------------------
eclipse.buildId=4.4.0.I20140606-1215
java.version=1.8.0_11
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64
!ENTRY org.eclipse.egit.ui 2 0 2014-09-22 19:16:23.450
!MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level
Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory.
The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in
this system level configuration. The Git installation location can be configured on the
Team > Git > Configuration preference page's 'System Settings' tab.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!SESSION 2014-09-22 22:34:30.202 -----------------------------------------------
eclipse.buildId=4.4.0.I20140606-1215
java.version=1.8.0_11
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64
!ENTRY org.eclipse.egit.ui 2 0 2014-09-22 22:34:49.744
!MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level
Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory.
The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in
this system level configuration. The Git installation location can be configured on the
Team > Git > Configuration preference page's 'System Settings' tab.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!SESSION 2014-09-23 21:43:16.747 -----------------------------------------------
eclipse.buildId=4.4.0.I20140606-1215
java.version=1.8.0_11
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64
!ENTRY org.eclipse.egit.ui 2 0 2014-09-23 21:43:40.553
!MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level
Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory.
The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in
this system level configuration. The Git installation location can be configured on the
Team > Git > Configuration preference page's 'System Settings' tab.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!SESSION 2014-09-23 23:04:40.502 -----------------------------------------------
eclipse.buildId=4.4.0.I20140606-1215
java.version=1.8.0_11
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64
!ENTRY org.eclipse.egit.ui 2 0 2014-09-23 23:05:01.744
!MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level
Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory.
The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in
this system level configuration. The Git installation location can be configured on the
Team > Git > Configuration preference page's 'System Settings' tab.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!SESSION 2014-09-24 00:19:02.983 -----------------------------------------------
eclipse.buildId=4.4.0.I20140606-1215
java.version=1.8.0_11
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64
!ENTRY org.eclipse.egit.ui 2 0 2014-09-24 00:19:59.280
!MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level
Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory.
The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in
this system level configuration. The Git installation location can be configured on the
Team > Git > Configuration preference page's 'System Settings' tab.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!ENTRY org.eclipse.ui 4 4 2014-09-24 00:29:37.506
!MESSAGE Plug-in 'org.eclipse.cdt.ui' contributed an invalid Menu Extension (Path: 'project/org.eclipse.cdt.ui.prjmenu' is invalid): org.eclipse.cdt.ui.manageConfigsAction2
!ENTRY org.eclipse.ui 4 4 2014-09-24 00:29:37.521
!MESSAGE Plug-in 'org.eclipse.cdt.ui' contributed an invalid Menu Extension (Path: 'project/org.eclipse.cdt.ui.prjmenu' is invalid): org.eclipse.cdt.ui.buildConfigMenuAction
!ENTRY org.eclipse.ui 4 4 2014-09-24 00:29:37.522
!MESSAGE Plug-in 'org.eclipse.cdt.ui' contributed an invalid Menu Extension (Path: 'project/org.eclipse.cdt.ui.prjmenu' is invalid): org.eclipse.cdt.ui.wsselection
!ENTRY org.eclipse.ui 4 4 2014-09-24 00:35:16.880
!MESSAGE Plug-in 'org.eclipse.cdt.ui' contributed an invalid Menu Extension (Path: 'project/org.eclipse.cdt.ui.prjmenu' is invalid): org.eclipse.cdt.ui.manageConfigsAction2
!ENTRY org.eclipse.ui 4 4 2014-09-24 00:35:16.897
!MESSAGE Plug-in 'org.eclipse.cdt.ui' contributed an invalid Menu Extension (Path: 'project/org.eclipse.cdt.ui.prjmenu' is invalid): org.eclipse.cdt.ui.buildConfigMenuAction
!ENTRY org.eclipse.ui 4 4 2014-09-24 00:35:16.898
!MESSAGE Plug-in 'org.eclipse.cdt.ui' contributed an invalid Menu Extension (Path: 'project/org.eclipse.cdt.ui.prjmenu' is invalid): org.eclipse.cdt.ui.wsselection
!SESSION 2014-09-24 00:40:06.356 -----------------------------------------------
eclipse.buildId=4.4.0.I20140606-1215
java.version=1.8.0_11
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64
!ENTRY org.eclipse.egit.ui 2 0 2014-09-24 00:41:25.914
!MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level
Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory.
The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in
this system level configuration. The Git installation location can be configured on the
Team > Git > Configuration preference page's 'System Settings' tab.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!SESSION 2014-09-24 01:51:20.775 -----------------------------------------------
eclipse.buildId=4.4.0.I20140606-1215
java.version=1.8.0_11
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64
!ENTRY org.eclipse.egit.ui 2 0 2014-09-24 01:52:00.690
!MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level
Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory.
The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in
this system level configuration. The Git installation location can be configured on the
Team > Git > Configuration preference page's 'System Settings' tab.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
Looks like its due to the EGIT installation issues.
Please try to set up a new installation of EGIT.
EGit couldn't detect the installation path
Plz don't use bad words in the forum.

An internal error occurred during: "Initializing Java Tooling"

How do I resolve the above reported Eclipse error message? Additional details are given below.
Exception Stack Trace
java.lang.NullPointerException
at org.eclipse.m2e.jdt.internal.MavenClasspathContainerInitializer.initialize(MavenClasspathContainerInitializer.java:48)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2843)
at org.eclipse.jdt.internal.core.JavaModelManager$11.run(JavaModelManager.java:2749)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeAllContainers(JavaModelManager.java:2789)
at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1873)
at org.eclipse.jdt.core.JavaCore.initializeAfterLoad(JavaCore.java:3886)
at org.eclipse.jdt.internal.ui.InitializeAfterLoadJob$RealJob.run(InitializeAfterLoadJob.java:36)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Session Data
eclipse.buildId=I20120608-1400
java.version=1.7.0_08-ea
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product -keyring /Users/ravisankars/.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.jee.product -keyring /Users/ravisankars/.eclipse_keyring -showlocation
I did the following:
1) Close eclipse
2) Delete everything from the subfolder
\.metadata\.plugins\org.eclipse.core.resources\.projects in my workspace. In my case this was
folder C:\workspace\.metadata\.plugins\org.eclipse.core.resources\.projects.
3) Restart eclipse
I also set my M2_REPO classpath variable in eclipse (this is a maven based project):
4) In eclipse, select Window - preferences - java - build path - classpath variable - new
5) Set name=M2_REPO
6) Set path=the path to your .m2 folder (you will need to find your .m2 folder and use the correct path for your environment, in my case is was C:\Users\pondolal\.m2\repository).
7) Restart eclipse
8) Clean and build projects