Search code examples
javaeclipseeclipse-luna

Why NullPointerException in initialising Java Tooling in Eclipse?


The caption says it all.

  1. Why do I get a NullPointerException when I opened a workspace in Eclipse IDE?

  2. Secondly, what does it mean by Java Tooling?

enter image description here

Attached Error Log:

enter image description here


Solution

  • Java Tooling refers to the various aspects of Eclipse that support the development of software using the Java language. It's a rather broad designation.

    Your problem seems to be with Spring. Eclipse is trying to connect to http://dist.springsource.com/release/STS/doc/updates.xml and is failing (see about halfway down in your problem list). That seems to be causing a cascade of issues all involving the inability of Eclipse to load things related to Spring, presumably because your having trouble accessing the update site.

    I opened your Spring URL in my browser. It isn't an Eclipse update site, it's an RSS feed describing Spring updates. That's different. You need to get the correct update site URL or remove Spring (temporarily) from your Eclipse installation.