Display error message when opening eclipse: an error has occurred. See null log file. How about this solution?

I am using Windows 10 and jre1.8.0_51. I do not know why, when I start Eclipse, the warning message "An error has occurred. See the null log file" is always displayed.

And I can not open Eclipse after that. I tried to find Google and did not find a better solution. I uninstalled the JRE and installed it again, but it still creates the same problem. How about a solution?

+7
java eclipse
source share
12 answers

I had the same problem after I restored Windows 10. I tried the suggestions here on other issues, but nothing helped (for example, deleting the .metadata folder, running eclipse as administrator, etc.). Reinstallation of Java and eclipse ended, which solved the problem for me.

+3
source share

Try running it from the console, for example:

C:\path\to\eclipse\eclipse -clean 

You are also trying to delete the file to fix the problem permanently, as suggested here . The command will look something like the following.

 del YOUR_WORKSPACE/.metadata/.plugins/org.eclipse.core.resources/.snap 
+10
source share

I had the same problem with Windows 10. Take full control of the user in the security settings in the eclipse folders and workspace.

I also found that the read only property was set in the eclipse and workspace folders, which I disabled.

The log file can be found in the eclipse\configuration folder.

+3
source share

I ran into the same problem. When I try to run eclipse as an Asministrator, the problem is gone.

+3
source share

I removed .metadata from the workspace and started eclipse as a run as administrator and this worked for me.

+1
source share

Make sure your eclipse launch folder does not have a read-only property / attribute

My eclipse is in the location below, and if I right-click β†’ properties - the verified attributes were read only. I unchecked the read-only checkbox and restarted eclipse. The problem was solved. C: \ Users \ Ashish \ Downloads \ eclipse-jee-mars-2-win32-x86_64 (1) \ eclipse

0
source share

Here I just exchange if you cannot copy the .metadata file on Mac because this file is invisible (JUST on Mac issue), try this step:

  • compress backup file .metadata li>
  • copy the .zip file
  • paste the .zip file into the path / workspace
  • double-click .zip file
  • done: -)
0
source share

Open eclipse.exe with the right mouse button and open administrator rights and this!

0
source share

I had the same problem and deleting the .metadata / .plugins / org.eclipse.core.resources / .snap file and try it should work

0
source share

I also stumbled upon the same error. My log file says: Java.io.FileNotFoundException: C: \ Eclipse \ eclipse-jee-luna-SR2-win32-x86_64 \ eclipse \ configuration \ org.eclipse.osgi.manager.fileTableLock (access denied)

So, I copied all the eclipse to another folder, and it worked for me.

So, for me, the problem was write access, because eclipse needed to be written through the configuration folder, in my case eclipse was unpacked by another user, and I did not have access.

0
source share
  • Uninstall Java JDK

  • Reinstall JDK 8

  • Run Eclipse as Administrator

0
source share

Delete the .snap file with <WORKSPACE-DIRECTORY>\.metadata\.plugins\org.eclipse.core.resources

0
source share

All Articles