Migrate from 4.0.0 to 4.4.0 was broke my build with Cannot invoke method getClientConfig() on null object
See original GitHub issueGradle version - 2.14 With build-extractor 4.0.0 version:
gw wrapper
[buildinfo] Not using buildInfo properties file for this build.
:wrapper UP-TO-DATE
BUILD SUCCESSFUL
Total time: 5.748 secs
After migrate to build-extractor 4.4.0:
gw wrapper
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'sense-support'.
> Failed to notify project evaluation listener.
> Cannot invoke method getClientConfig() on null object
> Cannot invoke method getClientConfig() on null object
> Cannot invoke method getClientConfig() on null object
> Cannot invoke method getClientConfig() on null object
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 3.1 secs
What was happened and what i do wrong?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:12 (5 by maintainers)
Top Results From Across the Web
Gradle build error: Cannot invoke method on null object
What went wrong: A problem occurred evaluating settings 'project'. > Cannot invoke method project2() on null object.
Read more >A brand new website interface for an even better experience!
Migrate from 4.0.0 to 4.4.0 was broke my build with Cannot invoke method getClientConfig() on null object.
Read more >Solved: GroovyInsightException: Cannot invoke method getOb...
Solved: I'm trying to get some attributes from an object and save ... Cannot invoke method getObjectAttributeValueBeans() on null object'.
Read more >getEnterpriseCommunication() error - Axelor Forum
Now, as soon as I log in, I get the error. Cannot invoke method getEnterpriseCommunication() on null object. and can get no further....
Read more >Nextflow error: can not invoke method minus () on null object
Here is my code, any help what I am missing. I am new in nextflow, it was ok when input was a single...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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. @yevtsy and @lavcraft, we’d really appreciate your feedback as well.
@chrissphinx, @yevtsy and @lavcraft, Thanks for reporting this issue. Can you please try installing the below snapshot version and let us know if it resolve the issue? You can do that by adding the following to your build script instead of the plugin version currently defined there.