Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsEclipse 2020-06 - Decoration Calculation has encountered a problem
https://www.eclipse.org/forums/index.php/mv/msg/1104205/1828841/#msg_1828841
I created a new directory, checked out the source code, and imported as existing Maven project. I have gotten many errors, with the most common being attributable to:
With Eclipse 2020-03, I was not seeing these errors. I have attached the Eclipse .log file. I have checked for, and installed, all available Eclipse updates.
]]>Mike Viens2020-06-19T17:23:35-00:00Re: Eclipse 2020-06 - Decoration Calculation has encountered a problem
https://www.eclipse.org/forums/index.php/mv/msg/1104205/1828842/#msg_1828842
https://issues.redhat.com/browse/FUSETOOLS-3343.
Your log also says "java.vendor=Oracle Corporation" and "java.version=1.8.0_201", so while unrelated, it's something you should get cleared up.]]>Nitin Dahyabhai2020-06-19T18:08:55-00:00Re: Eclipse 2020-06 - Decoration Calculation has encountered a problem
https://www.eclipse.org/forums/index.php/mv/msg/1104205/1828847/#msg_1828847
I deleted the Eclipse .log file and then launched Eclipse again. There are a lot more errors in the log file than last time. I still get the error in Eclipse IDE but I am able to dismiss it without further errors. I have attached the new .log file, if that helps anyone.]]>Mike Viens2020-06-19T19:43:47-00:00Re: Eclipse 2020-06 - Decoration Calculation has encountered a problem
https://www.eclipse.org/forums/index.php/mv/msg/1104205/1828850/#msg_1828850
I am going back to Eclipse 2020-03. ]]>Mike Viens2020-06-19T21:17:36-00:00Re: Eclipse 2020-06 - Decoration Calculation has encountered a problem
https://www.eclipse.org/forums/index.php/mv/msg/1104205/1828941/#msg_1828941
I installed a clean copy of Eclipse 2020-03, installed the plug-ins and imported my project. Everything ran fine. When I ran the "Check for Updates" again and restarted, again the error returned.
I can confidently state that the issue is neither with Eclipse 2020-03 or 2020-06. I grabbed a screenshot of the updates that were to be applied to Eclipse 2020-03 in the hopes are helping someone here figure out which plug-in or update is causing this issue. See attached pic.
]]>Mike Viens2020-06-22T17:00:18-00:00Re: Eclipse 2020-06 - Decoration Calculation has encountered a problem
https://www.eclipse.org/forums/index.php/mv/msg/1104205/1828943/#msg_1828943
I have figured out the problem, and it has nothing to do with Fuse!
Extracting a refresh copy of Eclipse 2020-03 comes with org.eclipse.core.contenttype_3.7.600.v20200127-1609.jar file.
Running "Check for Updates" on that version will download org.eclipse.core.contenttype_3.7.700v20200517-1644.jar file.
Using FernFlower to decompile the Activator class clearly shows that SaxParserFactory was removed from the later version. I have attached the two decompiled source files.
Many other things are depending on this class to provide the Sax factory. I get errors from many other plug-ins (Maven, JBoss, SVN) referring to this same class file missing expected methods.
This issue is completely within the Eclipse code itself. Eclipse 2020-06 comes with the newer org.eclipse.core.contenttype_3.7.700v20200517-1644.jar file, which is why it does not work on that version of Eclipse.]]>Mike Viens2020-06-22T18:21:50-00:00Re: Eclipse 2020-06 - Decoration Calculation has encountered a problem
https://www.eclipse.org/forums/index.php/mv/msg/1104205/1828999/#msg_1828999
Павло Дегтярьов2020-06-23T19:22:17-00:00Re: Eclipse 2020-06 - Decoration Calculation has encountered a problem
https://www.eclipse.org/forums/index.php/mv/msg/1104205/1829004/#msg_1829004
java.lang.NoSuchMethodError: org.eclipse.core.internal.content.Activator.getFactory()Ljavax/xml/parsers/SAXParserFactory;
at org.fusesource.ide.foundation.core.xml.namespace.FindNamespaceHandlerSupport.parseContents(FindNamespaceHandlerSupport.java:67)
at org.fusesource.ide.foundation.core.xml.namespace.NamespaceXmlContentDescriberSupport.fillContentProperties(NamespaceXmlContentDescriberSupport.java:106)
at org.fusesource.ide.foundation.core.xml.namespace.NamespaceXmlContentDescriberSupport.checkCriteria(NamespaceXmlContentDescriberSupport.java:45)
at org.fusesource.ide.foundation.core.xml.namespace.NamespaceXmlContentDescriberSupport.describe(NamespaceXmlContentDescriberSupport.java:77)
at org.fusesource.ide.foundation.core.xml.namespace.NamespaceXmlContentDescriberSupport.describe(NamespaceXmlContentDescriberSupport.java:64)
...which shows Fuse code accessing a method on a class that is not public API. Internal classes are free to change however they like. It appears properly fixed through FUSETOOLS-3318, the compile-time version of the problem.]]>Nitin Dahyabhai2020-06-23T21:01:09-00:00Re: Eclipse 2020-06 - Decoration Calculation has encountered a problem
https://www.eclipse.org/forums/index.php/mv/msg/1104205/1829070/#msg_1829070
The workaround in the message from Павло is not viable for an organization to do, and would be overwritten anytime there is a future update. I have spent way too much time on the error already. My solution is using Eclipse 2020-03 and NEVER update it. Hopefully, someone somewhere will finally figure this out and fix things. ]]>Mike Viens2020-06-24T15:41:18-00:00Re: Eclipse 2020-06 - Decoration Calculation has encountered a problem
https://www.eclipse.org/forums/index.php/mv/msg/1104205/1829947/#msg_1829947
Paul Wood2020-07-14T15:33:54-00:00Re: Eclipse 2020-06 - Decoration Calculation has encountered a problem
https://www.eclipse.org/forums/index.php/mv/msg/1104205/1829952/#msg_1829952
Ed Merks2020-07-14T17:17:03-00:00Re: Eclipse 2020-06 - Decoration Calculation has encountered a problem
https://www.eclipse.org/forums/index.php/mv/msg/1104205/1832130/#msg_1832130
Nitin Dahyabhai2020-09-09T17:58:58-00:00