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

Stack Overflow when trying to add a repository #27

Open
schoeppi5 opened this issue Dec 20, 2019 · 0 comments
Open

Stack Overflow when trying to add a repository #27

schoeppi5 opened this issue Dec 20, 2019 · 0 comments

Comments

@schoeppi5
Copy link

When trying to add a repository configured like this:

helm {
  repositories {
    example {
      url = new URI('some/url')
      credentials {
        username = "username"
        password = "password"
      }
    }
  }
}

Using the rule helmAddExampleRepository fails with following stack trace:

> Task :helmAddExampleRepository

FAILURE: Build failed with an exception.

* What went wrong:
java.lang.StackOverflowError (no error message)

* Try:
Run with --debug option to get more log output. Run with --scan to get full insights.

* Exception is:
java.lang.StackOverflowError
	at org.gradle.api.internal.provider.DefaultPropertyState.getOrNull(DefaultPropertyState.java:138)
	at org.gradle.api.internal.provider.DefaultPropertyState.getOrNull(DefaultPropertyState.java:139)
	at org.gradle.api.internal.provider.DefaultPropertyState.getOrNull(DefaultPropertyState.java:139)
	at org.gradle.api.internal.provider.DefaultPropertyState.getOrNull(DefaultPropertyState.java:139)
	at org.gradle.api.internal.provider.DefaultPropertyState.getOrNull(DefaultPropertyState.java:139)
	at org.gradle.api.internal.provider.DefaultPropertyState.getOrNull(DefaultPropertyState.java:139)
	at org.gradle.api.internal.provider.DefaultPropertyState.getOrNull(DefaultPropertyState.java:139)
	at org.gradle.api.internal.provider.DefaultPropertyState.getOrNull(DefaultPropertyState.java:139)
	at org.gradle.api.internal.provider.DefaultPropertyState.getOrNull(DefaultPropertyState.java:139)
	at org.gradle.api.internal.provider.DefaultPropertyState.getOrNull(DefaultPropertyState.java:139)
	at org.gradle.api.internal.provider.DefaultPropertyState.getOrNull(DefaultPropertyState.java:139)
	at org.gradle.api.internal.provider.DefaultPropertyState.getOrNull(DefaultPropertyState.java:139)
	at org.gradle.api.internal.provider.DefaultPropertyState.getOrNull(DefaultPropertyState.java:139)
	at org.gradle.api.internal.provider.DefaultPropertyState.getOrNull(DefaultPropertyState.java:139)

Environment:

 gradle --version 

------------------------------------------------------------
Gradle 5.2.1
------------------------------------------------------------

Build time:   2019-02-08 19:00:10 UTC
Revision:     f02764e074c32ee8851a4e1877dd1fea8ffb7183

Kotlin DSL:   1.1.3
Kotlin:       1.3.20
Groovy:       2.5.4
Ant:          Apache Ant(TM) version 1.9.13 compiled on July 10 2018
JVM:          11.0.2 (Oracle Corporation 11.0.2+9-LTS)
OS:           Windows 10 10.0 amd64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant