Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,458,244
Community Members
 
Community Events
176
Community Groups

build failed with kotlin.KotlinNullPointerException

Edited

I get this issue after an update followed by a rollback against the Gradle version.

Background:

Bamboo builds with Docker run tasks.
Agent environment.

------------------------------------------------------------
Gradle 5.4.1
------------------------------------------------------------

Build time: 2019-04-26 08:14:42 UTC
Revision: 261d171646b36a6a28d5a19a69676cd098a4c19d

Kotlin: 1.3.21
Groovy: 2.5.4
Ant: Apache Ant(TM) version 1.9.13 compiled on July 10 2018
JVM: 1.8.0_161 (Oracle Corporation 25.161-b12)
OS: Linux 3.10.0-693.17.1.el7.x86_64 amd64



From 

classpath 'com.android.tools.build:gradle:3.5.3'
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip

 

To

classpath 'com.android.tools.build:gradle:4.2.0'
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip

gradlew assemble 

Project :APP already has a grgit property. Remove org.ajoberstar.grgit from either :APP or :APP. publishNonDefault is deprecated and has no effect anymore. All variants are now published.

any idea about a path to follow to solve this issue?

1 answer

1 accepted

1 vote
Answer accepted

Solved by removing compileOnly 'com.github.pengrad:jdk9-deps:1.0' dependency which I added after upgrading to Android Studio 4.2.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events