Cannot launch gradle task : error in Initialization script ijresolvers1

已回答

When I try to run a gradle task in my project, I have this error 
 

FAILURE: Build failed with an exception.
* Where:
Initialization script 'C:\Users\TATHAN\AppData\Local\Temp\ijresolvers1.gradle' line: 249
* What went wrong:
Failed to notify task execution graph listener.
> Cannot get property 'logger' on null object
> Cannot get property 'logger' on null object

 

I have tried modifing the file, set a logger value in my build.gradle, changing java version 

My Build.gradle https://code.litarvan.com/ecubohat.kotlin 

1

Hello!

Thank you for reporting this!

Unfortunately, I have not been able to reproduce the issue with the build script provided.

Would you be able to share the affected Project or its build scripts (build.gradle.kts, settings.gradle.kts, etc.) preserving their directory structure for further investigation?

Does the issue persist when you run Gradle directly from the OS Command Prompt?

0

I've encountered the exact same error when I double-click to run a task in a gradle window, but not if I run it from the command line

0

Hi iadailiang 

Would you be able to share the affected Project or its build scripts (build.gradle.kts, settings.gradle.kts, etc.) preserving their directory structure for further investigation?

Does the issue persist when you run Gradle directly from the OS Command Prompt?

0

Sorry, We are on holidays, and it may take 5-8 days to provide you with the information you need.If you need any other information, please let me know at any time, and I can provide it to you at the same time.

0

Hi iadailiang 

Thanks for the prompt reply. For the moment, the requested is all we need.

I'll keep an eye out for your comments to get the information.

0

Hello, 

have you resolved this issue? I encountered the same issue.

Thank you

0
Could you Invalidate Caches and restart IntelliJ? Reimporting the project may help as well. If these do not help please help us with the build files and command results requested from the previous user. You can safely upload it to JetBrains uploads portal and share the upload id here : https://uploads.jetbrains.com/
0

请先登录再写评论。