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

NullPointerException #2

Open
ductranit opened this issue May 20, 2017 · 0 comments
Open

NullPointerException #2

ductranit opened this issue May 20, 2017 · 0 comments

Comments

@ductranit
Copy link

I get this NPE exception when start falling notes

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.drawable.Drawable.getIntrinsicHeight()' on a null object reference
       at dyanamitechetan.vusikview.VusikView$Notes.init(SourceFile:200)
       at dyanamitechetan.vusikview.VusikView$Notes.calculateNextStep(SourceFile:205)
       at dyanamitechetan.vusikview.VusikView.calculateNotesNextAttr(SourceFile:135)
       at dyanamitechetan.vusikview.VusikView.access$1400(SourceFile:16)
       at dyanamitechetan.vusikview.VusikView$FallNotesThread.run(SourceFile:267)

I have no idea why mNotesIconDrawable is null.

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