Skip to content
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

NPE in case the script is being run in a subproject where no buildPlugin task is present #332

Closed
PawelLipski opened this issue Jun 8, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@PawelLipski
Copy link

FAILURE: Build failed with an exception.

* Where:
Script 'https://raw.githubusercontent.com/FWDekker/intellij-randomness/master/gradle/scripts/verifier.gradle' line: 232

* What went wrong:
A problem occurred evaluating script.
> java.lang.NullPointerException (no error message)

(happened for a subproject where org.jetbrains.intellij plugin hasn't been applied)

But this is likely no longer gonna be a problem when runPluginVerifier is integrated into gradle-intellij-plugin, so feel free to ignore the report.

@PawelLipski PawelLipski added the bug Something isn't working label Jun 8, 2020
@FWDekker
Copy link
Owner

FWDekker commented Jun 8, 2020

Thanks for the report, Paweł!

The script is essentially a hack into the plugin, so it wasn't written to be comprehensive for all setups. So you're (hopefully) right that it should be fixed once it is integrated into the plugin. I don't know when I'll have time to integrate it, but it certainly is on my todo list. I'll close this issue with the reasoning that it will be fixed once the script has been integrated.

@FWDekker FWDekker closed this as completed Jun 8, 2020
@FWDekker FWDekker closed this as not planned Won't fix, can't repro, duplicate, stale May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants