Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse internal error while initializing Java tooling

Tags:

eclipse

I am getting errors from Eclipse Indigo running on Windows 7 Ultimate. For each of the following items:

Android SDK content loader
Building workspace
Initializing Java Tooling
Loading data for Android 2.3.3
Loading data for Android 4.03

this error is thrown:

 An internal error occurred during: "Initializing Java Tooling".java.lang.NullPointerException

What should I do?

like image 974
al23dev Avatar asked Jun 05 '12 06:06

al23dev


People also ask

How do I fix internal error in eclipse?

ini does no do the trick , best way will be to close any other applications running , after that open Task Manager , and close JAVA services running . Restart the eclipse . NOTE :- This will close the programs using Java if they are open .

How to stop initializing Java tooling in Eclipse?

go find perspective as Window->Preferences->Run&Launching->java Application-> and make debug an run combobox to none value. Hope this can solve your problem.


4 Answers

Close all open projects and exit Eclipse. Now you can open Eclipse without getting the error. Start opening your projects one by one to find which one causes the problem. This is most likely because you deleted a Device profile inside the AVD manager.

Or you can start working on a new workspace, (i.e. change your workspace), then try to import your project from the old workspace

like image 181
AnhSirk Dasarp Avatar answered Oct 27 '22 22:10

AnhSirk Dasarp


Delete your existing workspace and then recreate the workspace and add your projects.

like image 35
Abhinai Avatar answered Oct 27 '22 23:10

Abhinai


Just change the following values at "eclipse.ini" file to the following:

-Xms1024m
-Xmx2048m

Note:

  • You can find the "eclipse.ini" file by right click eclipse icon on and select "Open file location".
  • This error occurs because the eclipse is running out of memory, so we just increased the assigned memory for the eclipse application.
like image 21
Mohamed Abu Zeid Avatar answered Oct 27 '22 21:10

Mohamed Abu Zeid


  1. Close Eclipse.
  2. Go to workspace folder in windows explorer and delete following folders:
    • .metadata
    • .recommenders
    • RemoteSystemsTempFiles
    • Servers
  3. Open Eclipse and provide the same workspace folder again during launch.
like image 45
Sunny Tambi Avatar answered Oct 27 '22 21:10

Sunny Tambi