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

Error if setOnPathDrawnListener() is not called #6

Closed
csbenz opened this issue Feb 2, 2017 · 3 comments
Closed

Error if setOnPathDrawnListener() is not called #6

csbenz opened this issue Feb 2, 2017 · 3 comments
Assignees

Comments

@csbenz
Copy link

csbenz commented Feb 2, 2017

Without calling setOnPathDrawnListener() on the FreeDrawView, I get an error:

java.lang.NullPointerException: Attempt to invoke interface method 'void com.rm.freedrawview.PathDrawnListener.onPathStart()' on a null object reference

Once I call the method, even while leaving the callbacks empty, everything is fine.

@RiccardoMoro RiccardoMoro self-assigned this Feb 2, 2017
@RiccardoMoro
Copy link
Owner

Damn, it's an error in the pull request I accepted few days ago.
I'm fixing it right now, thanks for the feedback

@RiccardoMoro
Copy link
Owner

Fixed!
v1.0.2
Thanks again, closing

@csbenz
Copy link
Author

csbenz commented Feb 2, 2017

Great work, thanks!

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

2 participants