Eclipse internal error "Polling news feeds"

JavaEclipseJava 11Eclipse 2018-09

Java Problem Overview


I'm using Eclipse(4.9.0) on my MacBook (High Sierra, Java 11) and this error is showing sometimes, if I'm on another app, the errors create a "stack" as you see in the screenshot, it is annoying to come back to Eclipse and to close this error every time. Can somebody help me solve this?

The error showing up after a while using another app

Java Solutions


Solution 1 - Java

This indeed seems to be an issue when Eclipse is run with Java 11. I have created Bug 539545 to report this.

In the meantime, you can work around this issue by disabling news feed polling. To do so, go to Preferences... -> General -> News, and untick the Enable automatic news polling option:

Preferences news feed disabling

The error window will no longer appear.

Solution 2 - Java

This is caused by the http://openjdk.java.net/jeps/320 - which is removal of Java EE and CORBA Modules from the standard Java 11 version.

As mentioned by @Pyves, the simple way would be unchecking "Enable automatic news polling" from the Preferences-> General -> News

But if you still need this, you can install "javax.*" bundles from the eclipse orbit repository. Here is the latest stable repo url: http://download.eclipse.org/tools/orbit/downloads/drops/R20180905201904/repository

enter image description here

Solution 3 - Java

Turning off the news feed does solve this problem (Per @Pyves, unchecking "Enable automatic news polling" from Preferences-> General -> News), but be aware that you may get other issues because of the too-new JDK. Noga Rotman just spent several hours working out for me that Eclipse not being able to find JUnit, even though it was installed and correctly on the classpath, was because of using the new JDK (the one that is causing these same issues).

You can solve the underlying issue by uninstalling your current version of the JDK and installing an old version, then reinstalling Eclipse. If you have the Oracle JDK you can find uninstall instructions here and and Java SE Development Kit 8u191 (which fixed my issues) is here.

Solution 4 - Java

For windows version Eclipse,

  1. Enter search key string "news"
  2. Check off "Enable automatic news polling"
  3. Click [Apply and Close] button.

That's it. enter image description here

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionAgustín ClementeView Question on Stackoverflow
Solution 1 - JavaPyvesView Answer on Stackoverflow
Solution 2 - JavaKondal KolipakaView Answer on Stackoverflow
Solution 3 - JavaLea KissnerView Answer on Stackoverflow
Solution 4 - JavaPark JongBumView Answer on Stackoverflow