Ошибка при запуске eclipse an error has occurred

For me it was down to a locking/permissions bug on

(path to Eclipse IDE)configurationorg.eclipse.osgi.manager.fileTableLock

See here

Spring Tool Suite 4 (64 bit for Windows Server 2016)

Version: 4.2.2.RELEASE
Build Id: 201905232009

based on Eclipse

Version: 2.2.500.v20190307-0500
Build id: I20190307-0500

wouldn’t launch and a pop up dialog appeared saying:

launch error has occurred see log file null

(This became apparent from the latest text log file in the folder
(path to Eclipse IDE)configuration)

!ENTRY org.eclipse.osgi 4 0 
2019-06-19 18:41:10.408
!MESSAGE Error reading configuration: C:optsts-4.2.2.RELEASEconfigurationorg.eclipse.osgi.manager.fileTableLock (Access is denied)
!STACK 0
java.io.FileNotFoundException: C:optsts-4.2.2.RELEASEconfigurationorg.eclipse.osgi.manager.fileTableLock (Access is denied)
...

I had to go and tweak the permissions via File Explorer (Full access).

It appeared as if the IDE was doing nothing for a while.

The splash screen for Spring Tool Suite (based on Eclipse) eventually disappeared and the IDE started up again.

Now everything is back working correctly again.

For me it was down to a locking/permissions bug on

(path to Eclipse IDE)configurationorg.eclipse.osgi.manager.fileTableLock

See here

Spring Tool Suite 4 (64 bit for Windows Server 2016)

Version: 4.2.2.RELEASE
Build Id: 201905232009

based on Eclipse

Version: 2.2.500.v20190307-0500
Build id: I20190307-0500

wouldn’t launch and a pop up dialog appeared saying:

launch error has occurred see log file null

(This became apparent from the latest text log file in the folder
(path to Eclipse IDE)configuration)

!ENTRY org.eclipse.osgi 4 0 
2019-06-19 18:41:10.408
!MESSAGE Error reading configuration: C:optsts-4.2.2.RELEASEconfigurationorg.eclipse.osgi.manager.fileTableLock (Access is denied)
!STACK 0
java.io.FileNotFoundException: C:optsts-4.2.2.RELEASEconfigurationorg.eclipse.osgi.manager.fileTableLock (Access is denied)
...

I had to go and tweak the permissions via File Explorer (Full access).

It appeared as if the IDE was doing nothing for a while.

The splash screen for Spring Tool Suite (based on Eclipse) eventually disappeared and the IDE started up again.

Now everything is back working correctly again.

0 / 0 / 0

Регистрация: 14.10.2016

Сообщений: 40

1

29.10.2017, 13:27. Показов 14792. Ответов 6


Студворк — интернет-сервис помощи студентам

Как исправить?

Изображения

 



0



Эксперт Java

3638 / 2970 / 918

Регистрация: 05.07.2013

Сообщений: 14,220

29.10.2017, 14:33

2

написано же, смотри лог файл



0



0 / 0 / 0

Регистрация: 14.10.2016

Сообщений: 40

29.10.2017, 16:30

 [ТС]

3

От того, что я в него не посмотрел, проблема не решилась



0



Эксперт Java

2393 / 2219 / 564

Регистрация: 28.12.2010

Сообщений: 8,663

29.10.2017, 16:40

4

Ivan228, от того что ты лог тут не привел, проблема тоже не решилась.



0



0 / 0 / 0

Регистрация: 14.10.2016

Сообщений: 40

29.10.2017, 16:49

 [ТС]

5



0



Эксперт Java

2393 / 2219 / 564

Регистрация: 28.12.2010

Сообщений: 8,663

29.10.2017, 16:57

6

Лучший ответ Сообщение было отмечено Ivan228 как решение

Решение



0



0 / 0 / 0

Регистрация: 14.10.2016

Сообщений: 40

29.10.2017, 18:52

 [ТС]

7

Спасибо, помогло.



0



Добрый день.
Уже облазил весь простор интернета, где я только не был что бы найти ответ на мой вопрос…
Но увы, ничего не помогло даже тот же Stack Overflow не дал результата.
Проблема заключается в следующем:
Установил я Eclipse oxygen 1, добавил в него TestNG и написал небольшой автотест.
Автотест не запустился вылезла ошибка, какая уже не помню, да и не вспомню…
Погулил, поискал, наткнулся на статью, где описывается решение данной проблемы переустановкой Java, вообщем всё так и сделал, переустановил последнюю версию JDK 9, прописал PATH/JAVA_HOME проверил в консоле всё ли правильно сделал 59d6585576b3c422002970.png всё вроде бы окей, запускаю и тут вот она, эта самая злостная ошибка, которая не даёт мне покоя уже второй день 59d658654046f395322724.png
что я только не делал, и удалял файлы, чистил директории, переустанавливал Java, Eclipse тоже сносил снова ставил, разультат Нулевой.
может кто что подскажет, как вообще с этим быть?

spoiler

Эти все инструменты собирался использовать для автоматизации тестирования веб сайта.
не отрицаю что могут быть и лучше связки, чем Eclipse/TestNG/Selenium но я начал с этого, почему? даже не знаю, так вышло :)

An error has occurred. see the log file- Eclipse .metadata.log
An error has occurred. see the log file- Eclipse .metadata.log

I. Troubleshooting the “An error has occurred. see the log file Eclipse .metadata.log” error.

Welcome to this tutorial on troubleshooting the “An error has occurred. see the log file Eclipse .metadata.log” error. If you are seeing this error message when starting the Eclipse Integrated Development Environment (IDE), you are not alone. Many users have encountered this issue, and it can be frustrating to try to figure out how to resolve it.

The “An error has occurred. see the log file Eclipse .metadata.log” error is usually caused by a problem with the Eclipse workspace or with one of the projects in the workspace. The error can occur for a variety of reasons, such as a corrupt workspace, a problem with the Eclipse installation, or a conflict with another program.

In this tutorial, we will walk you through a number of steps that you can try to fix the “An error has occurred. see the log file Eclipse .metadata.log” error and get Eclipse running smoothly again. We will start by explaining how to check the log file for more information about the error, and then move on to other troubleshooting steps like restarting Eclipse, checking for updates, and deleting the .metadata folder.

So if you are ready to get your Eclipse IDE up and running again, let’s get started!

II. Check the log file for more information

  • Explain that the first step in troubleshooting this error is to check the .metadata.log file for more information about the error.
  • Detail how to locate and open the .metadata.log file.

First step in troubleshooting this error.

The first step in troubleshooting the “An error has occurred. see the log file Eclipse .metadata.log” error is to check the log file for more information about the error. The log file, which is called .metadata.log, is located in the workspace directory and contains details about the cause of the error. By examining the log file, you may be able to get a better understanding of what is causing the error and how to fix it.

How to locate and open the .metadata.log file.

To locate and open the .metadata.log file, follow these steps:

  1. Close Eclipse if it is open.
  2. Navigate to the workspace directory. The default location for the workspace directory is C:Userscomputernameeclipse-workspace, but you may have set a different location when you first installed Eclipse.
  3. In the workspace directory, look for the .metadata.log file. It may be hidden, so you may need to show hidden files and folders to see it.
  4. Right-click on the .metadata.log file and select “Open with” > “Notepad” (or another text editor of your choice).

The .metadata.log file may be quite long and contain a lot of information, so it can be helpful to use the search function (Ctrl+F on Windows) to look for specific keywords or phrases. Some common error messages that you may see in the .metadata.log file include “Java was started but returned exit code=13”, “A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse”, and “An error occurred while automatically activating bundle org.eclipse.ui.workbench”.

If you are unable to find any useful information in the .metadata.log file, or if you are not comfortable reading log files, you can move on to the next troubleshooting step. However, if you do find a specific error message or problem in the log file, you may be able to use that information to resolve the issue.

III. Try restarting Eclipse

Sometimes, simply closing and reopening Eclipse can help resolve the “An error has occurred. see the log file Eclipse .metadata.log” error. This is because restarting Eclipse can help reset any temporary files or settings that may be causing the error. While this step may not work for all cases, it is worth trying as it is quick and easy to do.

Steps for closing and reopening Eclipse.

To close and reopen Eclipse, follow these steps:

  1. Click on the “X” in the top-right corner of the Eclipse window, or go to File > Exit.
  2. Reopen Eclipse by double-clicking on the Eclipse icon on your desktop or in your start menu.

If Eclipse starts up successfully after being closed and reopened, the error may have been caused by a temporary issue that has now been resolved. However, if the error persists, you will need to try the next troubleshooting step.

It’s also a good idea to make sure that Eclipse is up to date before trying to reopen it. To check for updates, go to Help > Check for Updates. If there are any updates available, follow the prompts to download and install them. Updating Eclipse may help resolve the error if it is caused by a bug or other issue that has been fixed in a more recent release.

IV. Check for updates to Eclipse

If you are getting the “An error has occurred. see the log file Eclipse .metadata.log” error, it’s a good idea to check for updates to Eclipse. Sometimes, a bug or other issue may have been fixed in a more recent release of Eclipse, and updating to the latest version may help resolve the error.

To check for updates to Eclipse, follow these steps:

  1. Start Eclipse if it is not already open.
  2. Go to Help > Check for Updates.
  3. If there are any updates available, a window will appear showing the updates that are available.
  4. Follow the prompts to download and install the updates.

It’s worth noting that updates to Eclipse may require a restart to complete the installation process. If you are prompted to restart after installing updates, click “Yes” to restart Eclipse.

If there are no updates available, or if updating Eclipse does not help resolve the “An error has occurred. see the log file Eclipse .metadata.log” error, you can move on to the next troubleshooting step.

It’s always a good idea to keep your software up to date, as updates often include bug fixes and performance improvements. So even if updating Eclipse does not help resolve the error in this case, it’s still a good practice to regularly check for updates to all of your software.

V. Delete the .metadata folder

If you are still getting the “An error has occurred. see the log file Eclipse .metadata.log” error after trying the previous troubleshooting steps, you may need to delete the .metadata folder. The .metadata folder, which is located in the workspace directory, contains metadata and other settings for your Eclipse workspace. If the folder becomes corrupt, it can cause errors like the one you are experiencing.

To delete the .metadata folder and restart Eclipse, follow these steps:

  1. Close Eclipse if it is open.
  2. Navigate to the workspace directory. The default location for the workspace directory is C:Userscomputernameeclipse-workspace, but you may have set a different location when you first installed Eclipse.
  3. In the workspace directory, look for the .metadata folder. It may be hidden, so you may need to show hidden files and folders to see it.
  4. Right-click on the .metadata folder and select “Delete”.
  5. Restart Eclipse by double-clicking on the Eclipse icon on your desktop or in your start menu.

When you start Eclipse after deleting the .metadata folder, the projects in your workspace will not be loaded by default. To load them back into Eclipse, do the following:

  1. Go to File > Import.
  2. In the Import window, select “Existing Projects into Workspace” and click Next.
  3. In the “Select root directory” field, browse to the directory where your projects are located.
  4. Select the projects you want to import and click Finish.

It’s worth noting that deleting the .metadata folder will reset your Eclipse workspace, so any custom settings or configurations you have made will be lost. However, if the .metadata folder was causing the “An error has occurred. see the log file Eclipse .metadata.log” error, deleting it should resolve the issue.

VI. Conclusion

In this tutorial, we have walked you through a number of steps that you can try to fix the “An error has occurred. see the log file Eclipse .metadata.log” error and get your Eclipse Integrated Development Environment (IDE) running smoothly again. We began by explaining how to check the log file for more information about the error, and then moved on to other troubleshooting steps like restarting Eclipse, checking for updates, and deleting the .metadata folder.

To recap, here are the steps you can try to fix the “An error has occurred. see the log file Eclipse .metadata.log” error:

  1. Check the log file for more information. The log file, which is called .metadata.log, is located in the workspace directory and contains details about the cause of the error.
  2. Try restarting Eclipse. Sometimes, simply closing and reopening Eclipse can help resolve the issue.
  3. Check for updates to Eclipse. Updating to the latest version of Eclipse may help resolve the error if it is caused by a bug or other issue that has been fixed in a more recent release.
  4. Delete the .metadata folder. If the .metadata folder becomes corrupt, it can cause errors like the one you are experiencing. Deleting the folder and restarting Eclipse can help resolve the error. However, keep in mind that deleting the .metadata folder will reset your Eclipse workspace, so any custom settings or configurations you have made will be lost.

If the above steps do not help resolve the “An error has occurred. see the log file Eclipse .metadata.log” error, it may be necessary to seek further assistance from the Eclipse support team or from a technical expert. The Eclipse support team is available to help users troubleshoot issues with the Eclipse IDE, and they may be able to provide more specific guidance on how to fix the error. Alternatively, you can seek assistance from a technical expert who is familiar with Eclipse and can help you troubleshoot the issue.

In conclusion, if you are getting the “An error has occurred. see the log file Eclipse .metadata.log” error when starting Eclipse, try checking the log file for more information, restarting Eclipse, checking for updates, and deleting the .metadata folder. If these steps do not help, you may need to seek further assistance from the Eclipse support team or from a technical expert. Remember to regularly back up your Eclipse projects to prevent data loss.

Video Tutorial.

[Problem Solved] An error has occurred. see the log file- Eclipse .metadata.log

  • Ошибка при запуске firefox 0xc0000022
  • Ошибка при запуске dying light msvcp110 dll
  • Ошибка при запуске fifa manager 14
  • Ошибка при запуске dying light 2 unable to initialize steamapi
  • Ошибка при запуске fedora