Polling News Feed Has Encountered a Problem
                          Comment 2                                                      James Bryant                                
                                                                            2018-10-01 16:53:05 EDT                      
I can report the same problem with Photon, JDK 11, and Windows 10.
                          Comment 3                                                      Kondal Kolipaka                                
                                                                            2018-10-02 05:48:29 EDT                      
Having the same problem with the below eclipse 4.9.0 build. Version: 2018-09 (4.9.0) Build id: 20180917-1800 Here is the error: ------------------- java.lang.NoClassDefFoundError: javax/xml/bind/JAXBContext at org.eclipse.mylyn.internal.commons.notifications.feed.FeedReader.parse(FeedReader.java:52) at org.eclipse.recommenders.news.impl.poll.DefaultFeedItemStore.parseNewsItems(DefaultFeedItemStore.java:135) at org.eclipse.recommenders.news.impl.poll.DefaultFeedItemStore.udpate(DefaultFeedItemStore.java:53) at org.eclipse.recommenders.news.impl.poll.DefaultNewsPollingService.fallbackToLocalStore(DefaultNewsPollingService.java:136) at org.eclipse.recommenders.news.impl.poll.DefaultNewsPollingService.poll(DefaultNewsPollingService.java:104) at org.eclipse.recommenders.news.impl.poll.DefaultNewsPollingService.poll(DefaultNewsPollingService.java:64) at org.eclipse.recommenders.internal.news.rcp.poll.PollFeedsJob.run(PollFeedsJob.java:70) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
                          Comment 4                                                      Kondal Kolipaka                                
                                                                            2018-10-02 05:56:21 EDT                      
Seems to be this is caused by org.osgi.framework.BundleException: Could not resolve module: org.eclipse.mylyn.commons.xmlrpc [309] Unresolved requirement: Require-Bundle: org.apache.xmlrpc; bundle-version="[3.0.0,4.0.0)" -> Bundle-SymbolicName: org.apache.xmlrpc; bundle-version="3.0.0.v20100427-1100" org.apache.xmlrpc [72] Unresolved requirement: Import-Package: javax.xml.bind
                          Comment 8                                                      Thad Humphries                                
                                                                            2018-10-15 11:07:15 EDT                      
Sorry, but adding adding java.xml.bind through Eclipse Orbit is not resolving this issue for me. I've tried adding the Orbit URL to my download sites and installing "XML Binding for Java" on two macOS Mojave machines, both with Eclipse Photon. Launching Eclipse with Java 11 still shows the polling news error message: "An internal error occurred during: "Polling news feeds". javax/xml/bind/JAXBContext" although the JAR (when I download and look at it) contains javax/xml/bind/JAXBContext.class. It seems the only thing to do is to turn off automatic news polling in Preferences.
                          Comment 9                                                      Dennis Gesker                                
                                                                            2018-10-24 14:34:33 EDT                      
Having the same issue with JDK 11 on KUbuntu 18.10 using Version: 2018-09 (4.9.0) Build id: 20180917-1800
                          Comment 10                                                      Claude Nobs                                
                                                                            2018-10-25 14:49:39 EDT                      
Having the same issue with JDK 11.0.1 on Windows 7 using Version: 2018-09 (4.9.0) Build id: 20180917-1800 However deactivating news polling solves the error popup issue for me. (Preferences > General > News)
                          Comment 11                                                      Sumit Pawar                                
                                                                            2018-11-02 14:21:21 EDT                      
I am facing the same issue on MacOS when installing the plugin for Scala Error faced : An internal error occurred during: "Polling news feeds". javax/xml/bind/JAXBContext Is there any solution yet for this problem ? Regards, Sumit Pawar
                          Comment 12                                                      Brandon Ho                                
                                                                            2018-11-13 20:30:39 EST                      
I download the latest version below and getting the same error. Does anyone have a solution? Version: 2018-09 (4.9.0) Build id: 20180917-1800
                          Comment 13                                                      Gunnar Wagenknecht                                
                                                                            2018-11-19 13:36:31 EST                      
Is there any plan to fix this going forward for 2018-12?
                          Comment 14                                                      prakash easy                                
                                                                            2018-11-22 05:10:31 EST                      
same problem ubuntu 18.10 and java openjdk version "11.0.1" 2018-10-16 OpenJDK Runtime Environment (build 11.0.1+13-Ubuntu-2ubuntu1) OpenJDK 64-Bit Server VM (build 11.0.1+13-Ubuntu-2ubuntu1, mixed mode, sharing)
                          Comment 15                                                      Axel Uhl                                
                                                                            2018-11-26 07:05:49 EST                      
For me the .metadata/.log has !MESSAGE An internal error occurred during: "Polling news feeds".^M !STACK 0^M java.lang.NoClassDefFoundError: javax/xml/bind/JAXBContext^M at org.eclipse.mylyn.internal.commons.notifications.feed.FeedReader.parse(FeedReader.java:52)^M at org.eclipse.recommenders.news.impl.poll.DefaultFeedItemStore.parseNewsItems(DefaultFeedItemStore.java:135)^M at org.eclipse.recommenders.news.impl.poll.DefaultFeedItemStore.udpate(DefaultFeedItemStore.java:53)^M at org.eclipse.recommenders.news.impl.poll.DefaultNewsPollingService.fallbackToLocalStore(DefaultNewsPollingService.java:136)^M at org.eclipse.recommenders.news.impl.poll.DefaultNewsPollingService.poll(DefaultNewsPollingService.java:104)^M at org.eclipse.recommenders.news.impl.poll.DefaultNewsPollingService.poll(DefaultNewsPollingService.java:64)^M at org.eclipse.recommenders.internal.news.rcp.poll.PollFeedsJob.run(PollFeedsJob.java:70)^M at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)^M Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBContext cannot be found by org.eclipse.mylyn.commons.notifications.feed_1.16.0.v20180904-2231^M at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:511)^M at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)^M at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:414)^M at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:153)^M at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)^M ... 8 more^M after installing the javax.xml.bind bundle from Orbit as suggested in comment #7.
                          Comment 18                                                      Rick Ringel                                
                                                                            2018-12-19 13:44:35 EST                      
Gunnar, I just did a clean install on a Windows 10 system, encountered this problem, and tried your workaround. It did not work for me.
(In reply to Gunnar Wagenknecht from comment #17)            > Can anyone affected with this problem try the following workaround: >  > - Go to Help > Install New Software... > - site: > https://download.eclipse.org/tools/orbit/downloads/drops/R20181128170323/ > repository/ > - Select "XML Binding for Java" (javax.xml.bind) > - Click "Next" and "Finish" (follow the installation) > - Restart Eclipse >  > Does the problem still occur?            Yes. Ubuntu 18.04. I just upgraded eclipse to 2018-12 and jdk-11. Is there any way to turn the polling off because this is making eclipse unusable.                                  Comment 20                                                      Gunnar Wagenknecht                                
                                                                            2018-12-19 16:17:30 EST                      
Thanks for trying the workaround. Is it still the same exception or a different stack trace? I might have missed one bundle, though. Can you also try and install "Java Architecture for XML Binding (JAXB) Implementation" (com.sun.xml.bind) in addition to "XML Binding for Java" (javax.xml.bind)?
                          Comment 21                                                      Gunnar Wagenknecht                                
                                                                            2018-12-19 16:20:36 EST                      
(In reply to J B from comment #19)            > Is there > any way to turn the polling off because this is making eclipse unusable.            Yes: Preferences -> General -> News                                  Comment 22                                                      Thad Humphries                                
                                                                            2018-12-19 16:41:14 EST                      
Created            attachment 276964 [details]            Screenshot looking for JAXB  I tried this software before. It did not fix my problem with News.        (In reply to Gunnar Wagenknecht from comment #21)            > (In reply to J B from comment #19) > > Is there > > any way to turn the polling off because this is making eclipse unusable. >  > Yes: Preferences -> General -> News            Thanks. Phew.        (In reply to Gunnar Wagenknecht from comment #20)            > Thanks for trying the workaround. Is it still the same exception or a > different stack trace? >  > I might have missed one bundle, though. Can you also try and install "Java > Architecture for XML Binding (JAXB) Implementation" (com.sun.xml.bind) in > addition to "XML Binding for Java" (javax.xml.bind)?            Still doesn't work.                                  Comment 25                                                      Gunnar Wagenknecht                                
                                                                            2018-12-20 02:11:00 EST                      
(In reply to J B from comment #24)            > > I might have missed one bundle, though. Can you also try and install "Java > > Architecture for XML Binding (JAXB) Implementation" (com.sun.xml.bind) in > > addition to "XML Binding for Java" (javax.xml.bind)? >  > Still doesn't work.            Thanks for your patience trying to investigate workarounds.  FWIW, according to the following email, there might be two more bundles necessary. https://www.eclipse.org/lists/cross-project-issues-dev/msg16288.html  Thus, the complete list of bundles to install should be: - javax.xml.bind 2.2.0 - com.sun.xml.bind 2.2.0 - javax.activation 1.1.0 - javax.xml 1.3.4   I'll try to reproduce the issue and report back.                                  Comment 26                                                      Dani Megert                                
                                                                            2018-12-21 09:28:45 EST                      
At this point the simplest advice for users is to use Java 8. Note, that even if using Java 8 to run the Eclipse IDE, you can still use Java 11 in your projects.
                          Comment 27                                                      Thad Humphries                                
                                                                            2018-12-21 09:36:06 EST                      
Use Java 8? Really?! When I set -vm to /Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home in /Users/thad/Applications/java-2018-09/Eclipse.app/Contents/Eclipse/eclipse.ini, Eclipse would not start. IIRC the error was that it couldn't find main in org.eclipse.equinox.launcher_1.5.100.v20180827-1352.jar. So I switched back to Java 11 and turned off News notices (which I've never read in 12+ years anyway).
                          Comment 28                                                      Dani Megert                                
                                                                            2018-12-21 09:37:56 EST                      
(In reply to Thad Humphries from comment #27)            > Use Java 8? Really?!                        Yes, really. I can't comment on your problem but Java 8 is a supported runtime for 4.10. If it does not work for you, then please file a bug report.                                  Comment 29                                                      Pierre-Yves Bigourdan                                
                                                                            2019-01-15 07:56:23 EST                      
(In reply to Gunnar Wagenknecht from comment #25)            > Thus, the complete list of bundles to install should be: > - javax.xml.bind 2.2.0 > - com.sun.xml.bind 2.2.0 > - javax.activation 1.1.0 > - javax.xml 1.3.4 >                        Tried adding all these bundles in my Eclipse installation. However, the problem still seems to occur.                                  Comment 31                                                      Thad Humphries                                
                                                                            2019-03-10 21:49:54 EDT                      
(In reply to Sandro Hissao Nakaguma from comment #30)            > (In reply to Thad Humphries from comment #6) > > javax.xml.bind has been removed from Java 11. It can be added by including > > its JAR from the MVNRepository: > > https://mvnrepository.com/artifact/javax.xml.bind/jaxb-api  > >  > > I dunno if a user can do this via eclipse.ini or if Eclipse must be upgraded. > >  > > Other packages have been removed as well. See > >  > > https://www.oracle.com/technetwork/java/javase/11-relnote-issues-5012449.html > >  > > https://blog.codefx.org/java/java-11-migration-guide/ >  >  >  > Thad Humphries, thank you for the information, but as you have just said 'It > can be added by including its JAR from the MVNRepository:', how can I do > this? >  > Sorry for being such a newbie.            Sandro,  I was speculating. Maybe it's possible to set something in the eclipse.ini file to fix this, but I've not tried. We have switched to Amazon Corretto's OpenJDK 8, and are not moving to Java 11. In any case the news feed feature is of no importance to me, so I don't mind turning it off.                                  Comment 32                                                      Jason Reed                                
                                                                            2019-05-02 15:04:25 EDT                      
Hello everyone, Just came across this issue while switching from Java 8 to Java 11 on my system. For those who keep asking about it there is a way to turn off the news polling at least while the Eclipse team get the packages organized again. Window --> Preferences --> General --> News Uncheck the "Enable automatic news polling".
                          Comment 33                                                      Devangee Choksi                                
                                                                            2019-06-06 00:25:55 EDT                      
I have installed Java 12, a window with the following error message is displayed on regular basis: "An internal error occurred during: "Polling news feeds". javax/xml/bind/JAXBContext Please find attached screenshot. http://prntscr.com/ny7n2e
                          Comment 34                                                      Priyanka Saroch                                
                                                                            2019-08-27 03:06:05 EDT                      
(In reply to Pierre-Yves B. from comment #0)            > Created              attachment 276018 [details]              > Error stack trace >  > When running Eclipse on Java 11, a window with the following error message > is displayed on a regular basis: "An internal error occurred during: > "Polling news feeds".". >  > I have attached the relevant stack trace extracted from the event details. >  > Related StackOverflow question posted by another user: > https://stackoverflow.com/questions/52528693/eclipse-internal-error-polling- > news-feeds            This works for me the link of ur stack trace have a solution                                  Comment 35                                                      Alexander Kurtakov                                
                                                                            2019-09-25 10:42:03 EDT                      
Project has been archived so nothing will happen.
                          Comment 36                                                      Jason Reed                                
                                                                            2019-09-25 10:50:58 EDT                      
So does this mean the project will be removed from the next release of Eclipse? I mean not doing anything is not really resolving the problem, it will continue to plauge users every time we set up a new workspace.
                          Comment 37                                                      Alexander Kurtakov                                
                                                                            2019-09-25 11:30:24 EDT                      
(In reply to Jason Reed from comment #36)            > So does this mean the project will be removed from the next release of > Eclipse? I mean not doing anything is not really resolving the problem, it > will continue to plauge users every time we set up a new workspace.            It should be gone in 2019-09 already, isn't it?                                  Comment 38                                                      Jason Reed                                
                                                                            2019-09-25 13:22:14 EDT                      
Just upgraded to 2019-09 (YAY) and checked in the preferences and the News preferences are still available. So I reactivated them and sure enough I got the error again. So apparently it still needs removed.
                          Comment 39                                                      Pierre-Yves Bigourdan                                
                                                                            2019-09-25 13:47:08 EDT                      
(In reply to Jason Reed from comment #38)            > Just upgraded to 2019-09 (YAY) and checked in the preferences and the News > preferences are still available. So I reactivated them and sure enough I got > the error again. So apparently it still needs removed.            I'm guessing you upgraded your existing installation rather than a fresh one? My guess it that it wouldn't remove the news plugin if it's already there.        Source: https://bugs.eclipse.org/bugs/show_bug.cgi?id=539545
Comment 1 Giambattista Bloisi 
                 2018-09-28 12:24:05 EDT
                                                                            2018-09-28 12:24:05 EDT