Community
Participate
Working Groups
This is NOT a duplicate of the three year old bugs (Bug 464655, Bug 464353, Bug 465753) from Recomenders 2.x. This bug comes from installing feature name: 'Eclipse Java Development Tools' version: 3.13.4.v20180330-0919 Id: org.eclipse.jdt.feature.group in Oxygen 3 or installing Oxygen 3a. I believe it stems from the changes made for Oxygen 3a to support Java 10. Once the feature is installed, attempting to edit Java and Groovy files generates an AST Parser error for every cursor movement in the source file: > 'Requesting Java AST from selection' has encountered a problem. > An internal error occurred during: "Requesting Java AST from selection". > java.lang.IllegalArgumentException These are some of the automated report pages with the stack traces and such: * https://dev.eclipse.org/recommenders/community/aeri/v2/#!/submissions/yVce3nlkEwk8OdclscgbdpfMm5AxAT4TCOD4bFpPew2WFbNEoRAhLSZfldeq8XWC * https://dev.eclipse.org/recommenders/community/aeri/v2/#!/submissions/IaboUSWu9CwAMVuQlZO8ttksaOn89x7wf1rndcJfK1mrXaUrRBkdmZ0d93mFIR27 * https://dev.eclipse.org/recommenders/community/aeri/v2/#!/problems/5b11a662e4b01659284b2019 * https://dev.eclipse.org/recommenders/community/aeri/v2/#!/submissions/Pj1s86FdIBZqJi2QrXgmXJrl0KYxDU3nsIzYqCZ1MdzNXJiAAXIdTgiSKIycPF2s * https://dev.eclipse.org/recommenders/community/aeri/v2/#!/problems/5b11ab8fe4b01659284b2049 I've tried numerous times to create new error reports using the automated reporting system but it keeps saying the bug is a duplicate. Clicking the 'Create a new problem report...' for 'Does your error not belong to any of the above problems?' and 'Does your error not belong to this problem?' flashes a message box so fast I can't see what it created or where to find it. Then I usually get a 'Server connection lost, trying to reconnect...' spinner when attempt to add to the report. Likely due to JavaScript errors "Refused to apply style from 'https://dev.eclipse.org/recommenders/community/aeri/APP/PUBLISHED/styles.css' because its MIME type ('application/json') is not a supported stylesheet MIME type, and strict MIME checking is enabled."
Created attachment 274311 [details] configuration
Created attachment 274312 [details] error log
Reverting 'Eclipse Java Development Tools' version: 3.13.4.v20180330-0919 to the previous version fixes the issue but then it nags me about the update.
Here's one of my original 'submissions' that didn't seem to go anywhere: https://dev.eclipse.org/recommenders/community/aeri/v2/#!/submissions/yVce3nlkEwk8OdclscgbdpfMm5AxAT4TCOD4bFpPew2WFbNEoRAhLSZfldeq8XWC
(In reply to Nathan Niesen from comment #4) > Here's one of my original 'submissions' that didn't seem to go anywhere: > https://dev.eclipse.org/recommenders/community/aeri/v2/#!/submissions/ > yVce3nlkEwk8OdclscgbdpfMm5AxAT4TCOD4bFpPew2WFbNEoRAhLSZfldeq8XWC This one has steps to reproduce as well as before/after configuraitons, logs, and a screen shot.
From your mentioning of Groovy and from the linke aeri report we learn that you are not using an original version of org.eclipse.jdt.core, see: org.eclipse.jdt.core 3.13.100.xx-201801041714-e47-RELEASE org.eclipse.jdt 3.13.4.v20180330-0640 org.eclipse.jdt.ui 3.13.100.v20180330-0726 Similarly in attachment 274311 [details] : org.eclipse.jdt (3.13.4.v20180330-0640) "Eclipse Java Development Tools" [Resolved] org.eclipse.jdt.core (3.13.100.xx-201801041714-e47-RELEASE) "Java Development Tools Core" [Active] org.eclipse.jdt.groovy.core (2.9.2.xx-201801041714-e47-RELEASE) "Groovy-Eclipse Integration" [Active] org.eclipse.jdt.ui (3.13.100.v20180330-0726) "Java Development Tools UI" [Active] This looks inconsistent to me. See that jdt.core is older than jdt.ui which should never happen. Please contact the maintainers of groovy eclipse about a release that matches the version of JDT you want to install. Marking as NOT_ECLIPSE because groovy eclipse is not maintained at eclipse.org. Please re-open, if you can reproduce without groovy eclipse installed.
Thank you! Here is the Groovy-Eclipse bug report for anyone coming down this path: https://github.com/groovy/groovy-eclipse/issues/556