Eclipse luna - Internal error, attempt to import from git

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

enter image description here

The project is valid. I tried several projects and they all worked on my old version of eclipse Juno, but all failed on Luna, as above. What should I do to reproduce this problem?

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

+6
source share
4 answers

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

A summary of the problem is that Eclipse uses the default location on your computer, which is the same for all your Eclipse installations.
Therefore, if you installed and used 32-bit Eclipse, then access to 32-bit plugins is required for secure storage.
When you try to use 64-bit Eclipse, it will try to read this safe store and will fail because it uses 64-bit plugins to read the store.

The solution is to tell your Eclipse to use another 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 that you want to use as the new secure storage area.

(You can check if you have a serial Eclipse distribution: all 32 bits or all 64 bits)

Please note that another product (NetBeans) resolved the same error message ( issue 211863 )

I found a problem.
NetBeans discovers the remnants of an Eclipse IDE installation. As soon as I deleted the file, the errors in the log disappeared.

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

In Windows 7 or more:

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

Delete C:\Users\USERNAME\.eclipse\org.eclipse.equinox.security\secure_storage , this will solve your problem.

+12
source

I solved this problem by choosing "Settings> General> Security> Secure Store> Content, open" [Secure Store By Default] "by deleting the" GIT "line and finally restarting Eclipse.

+10
source

This is the message that I see in the eclipse error log.

Secure Store could not get the master password from the OS key fob. Make sure that this application has access to the OS keychain. If the error persists, you can use the password recovery function, or you can delete and restore the safe store.

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

 /Users/< userid >/.eclipse/org.eclipse.equinox.security 
+2
source

Source: https://habr.com/ru/post/978886/


All Articles