Eclipse luna - Internal error, trying to import from git

15,750

Solution 1

You have a similar error message with other Eclipse-based products, like RTC:

A summary of the problem is that Eclipse uses a default location on your machine that is the same for all your Eclipse installs.
So if you have installed and used 32-bit Eclipse, then your secure storage requires the 32-bit plugins to access.
When you try to use a 64-bit Eclipse, it will try to read that secure storage and will fail because it is using the 64-bit plugins to read the storage.

The solution is to tell your Eclipse to use a different secure storage area. You can do this by running Eclipse with the following option:

-eclipse.keyring <file_path>

where <file_path> is the location of the file which you wish to use as your new secure storage area.

(You can check by the way if you have a consistent Eclipse distribution: all 32 bits or all 64 bits)

Note that another product (NetBeans) resolved the same error message like so (issue 211863)

I found the problem.
NetBeans is detecting a remnant of an Eclipse IDE installation. Once I deleted the file, the errors in the log went away.

C:\Documents and Settings\ttroy\.eclipse\org.eclipse.equinox.security\secure_storage 

On Windows 7 or more:

C:\Users\<username>\.eclipse\org.eclipse.equinox.security\secure_storage 
# or
%USERPROFILE%\.eclipse\org.eclipse.equinox.security\secure_storage 

Solution 2

I solved this problem going to "Preferences > General > Security > Secure Storage > Contents", open "[Default Secure Storage]", deleting the "GIT" row and finally restarting Eclipse.

Solution 3

Delete C:\Users\USERNAME\.eclipse\org.eclipse.equinox.security\secure_storage it will resolve your problem.

Solution 4

This is the message I see in the eclipse Error log.

Secure storage was unable to retrieve the master password from the OS keyring. Make sure that this application has access to the OS keyring. If the error persists, the password recovery feature could be used, or secure storage can be deleted and re-created.

So as others said if you delete the secure_storage file and it should solve the problem. On a mac, better use command line.

/Users/< userid >/.eclipse/org.eclipse.equinox.security
Share:
15,750
Victor2748
Author by

Victor2748

8+ Years of experience. Currently a student at University of Toronto, studying Computer Science Specialist with focus in Artificial Intelligence + Economics Major + Statistics Minor

Updated on June 26, 2022

Comments

  • Victor2748
    Victor2748 almost 2 years

    I am using Eclipse Luna, and I am trying to import a project from github. However, it says "Internal error; consult Eclipse error log" when I pasted the URI in:

    enter image description here

    The project is valid. I've tried a few projects, and they all worked on my older Juno version of eclipse, but all failed on Luna, just like above. What should I do to reproduce this problem?

    Here is my Eclipse log error: http://pastebin.com/QcfF4Xsq