-
Notifications
You must be signed in to change notification settings - Fork 160
Migrate from 4.0.0 to 4.4.0 was broke my build with Cannot invoke method getClientConfig() on null object #85
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
Comments
@lavcraft, |
@lavcraft, |
I have a similar issue with
But the mentioned above error has appeared in gradle update dependencies phase (simple multi-module project) |
I am also getting this error, here is a stacktrace:
The project I will try to reconstruct a small, repeatable example tomorrow. Edit: stacktrace was from Gradle version 2.13, but I tried updating to 2.14.1 and the same error is thrown. |
@chrissphinx, @yevtsy and @lavcraft,
|
@eyalbe4 thank you for this, however, I ran into the problem when using the artifactory plugin. Will this snapshot affect that? |
@chrissphinx, if you ran into this issue with version 4.4.0 of the Artifactory Plugin, but version 4.3.0 works fine, then this fix aims to fix this problem. Please let us know if indeed it resolves the issue. |
@eyalbe4 thank you for the response, it actually occurred on 4.2.0 and 4.4.0, but I did not check on 4.3.0. I will try to do so and let you know. |
@eyalbe4: To follow up on this: it looks like I'm getting However, your |
@chrissphinx, thanks for feedback and we're happy to hear the snapshot version resolves the issue. We improved the code further to make sure it is compatible with all project structures and we'd appreciate your feedback for the latest version as well. To test it, all you need to do is to remove the plugin code from your local maven repository (~/.m2/repository/org/jfrog/buildinfo/) and run the build again. |
@eyalbe4, no problem. I actually had to remove the directory from under |
I have the same problem using 4.4.0 and I could fix using snapshot version 4.4.x-SNAPSHOT but only works the first time after I was trying publish a new version and not working I used classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.1.1" and it works. |
Gradle version - 2.14
With build-extractor 4.0.0 version:
After migrate to build-extractor 4.4.0:
What was happened and what i do wrong?
The text was updated successfully, but these errors were encountered: