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

Make path nullable to prevent Kotlin crash #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mucahidkambur
Copy link

@mucahidkambur mucahidkambur commented Oct 2, 2020

I used this library on Kotlin project, it works very well but there is a small problem. The application is crashing when user picks a Contact. I looked your code and the problem was the "path" variable. As you know Kotlin is null safety but in this library "path" library is not nullable . To fix this problem i made "path" variable nullable to prevent crash.

Here is the log of the crash:
Caused by: java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull, parameter path

@mucahidkambur
Copy link
Author

@HBiSoft Any updates for pr?

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

Successfully merging this pull request may close these issues.

None yet

1 participant