question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Migrate from 4.0.0 to 4.4.0 was broke my build with Cannot invoke method getClientConfig() on null object

See original GitHub issue

Gradle 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:open
  • Created 7 years ago
  • Reactions:2
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
eyalbe4commented, Jul 26, 2016

@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.

1reaction
eyalbe4commented, Jul 23, 2016

@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.

buildscript {
    repositories {
        maven {
            url "https://oss.jfrog.org/oss-snapshot-local"
        }
        jcenter()
    }
    dependencies {
        classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.4.x-SNAPSHOT"
    }
}
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found