airbnb / DeepLinkDispatch

A simple, annotation-based library for making deep link handling better on Android
http://nerds.airbnb.com/deeplinkdispatch/
4.37k stars 407 forks source link

build failed in version 4.1.0 with kotlin.KotlinNullPointerException #258

Closed mrnorouzi closed 5 years ago

mrnorouzi commented 5 years ago

When I update version from 3.1.1 to 4.1.0 for supporting androidx, the build failed with the following exception:

> Task :app:compileDebugJavaWithJavac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> kotlin.KotlinNullPointerException (no error message)

code of my project is java. It hasn't been written by kotlin

nigelkeirross commented 4 years ago

Hi, I know this is closed, but I have exactly the same issue with a project entirely in java, but I get the same error message when command line building (on linux) with gradlew Can you tell me how you solved it? Thanks

rossbacher commented 4 years ago

@nigelkeirross this is on master? Or which version are you using? Can you provide the full stacktrace of the error? (You can do that when building with gradle by adding --stacktrace to the command.

nigelkeirross commented 4 years ago

Hi It has nothing to do with Airbnb, it is another project (xDrip-plus) that I am trying to build. It has no Kotlin at all, and when I googles the error, your project came up. This is why I was trying to see how it was solved. Thanks Nigel

On Wed, 8 Apr 2020, 18:07 Andreas Rossbacher, notifications@github.com wrote:

@nigelkeirross https://github.com/nigelkeirross this is on master? Or which version are you using? Can you provide the full stacktrace of the error? (You can do that when building with gradle by adding --stacktrace to the command.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/airbnb/DeepLinkDispatch/issues/258#issuecomment-611078507, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFAI7QBNWSABXBN4B55EBATRLSVNBANCNFSM4IW23YYQ .

rossbacher commented 4 years ago

@nigelkeirross So you are not using deeplinkdispatch in that project? If not most likely this is not the same error.

Still you would need t get the full stack trace.