-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Infinite compile time and tons of errors #850
Comments
Can you say what is at line 38 of org.grails.io.support.MainClassFinder.searchMainClass? |
This is the open source here: /**
* Searches for the main class relative to the give path that is within the project tree
*
* @param path The path as a URI
* @return The name of the main class
*/
static String searchMainClass(URI path) {
def pathStr = path.toString()
if(mainClasses.containsKey(pathStr)) {
return mainClasses.get(pathStr)
}
I think the line 38 is:
|
Okay, got it. |
Please note that |
I got that you are saying, but I am not a contributor to grails project and I am not sure how grails is using readers. Could you create an issue for them? |
You just need to create an issue for "Add null safety for any use of ReaderSource.getURI()". At least one instance exists between TestMixinTransformation and MainClassFinder. |
Ready to test |
Verified on: No issue, no errors. Thanks! |
After the recent update my grails project start compile very slowly and usually stuck at 90% and I see a tons of similar error in the logs.
Eclipse:
Version: 2018-09 (4.9.0)
Build id: 20180917-1800
Plugins: 3.3.0.xx-201903191633-e1809
All errors is the same like:
And all my groovy files is marked as compile error:
The text was updated successfully, but these errors were encountered: