java.lang.NullPointerException

Attempt to invoke virtual method 'com.ichi2.libanki.Note com.ichi2.libanki.Card.note()' on a null object reference


Solutions on the web21512

Solution icon of github
via GitHub by marcardar
, 1 year ago
Attempt to invoke virtual method 'com.ichi2.libanki.Note com.ichi2.libanki.Card.note()' on a null object reference

Solution icon of github
via GitHub by timrae
, 6 months ago
Attempt to invoke virtual method 'com.ichi2.libanki.Note com.ichi2.libanki.Card.note()' on a null object reference

Solution icon of github
via GitHub by hssm
, 10 months ago
Attempt to invoke virtual method 'int com.ichi2.ui.SeekBarPreference.getValue()' on a null object reference

Solution icon of github
via GitHub by tlvprasad
, 9 months ago
Attempt to invoke a virtual method on a null object reference

Solution icon of stackoverflow
via Stack Overflow by Cristian Dean
, 6 months ago
Attempt to invoke a virtual method on a null object reference

Solution icon of github
via GitHub by cxmmxc
, 3 months ago
Attempt to invoke virtual method 'long android.graphics.Paint.getNativeInstance()' on a null object reference

Solution icon of github
via GitHub by carlosfvieira
, 11 months ago
Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference

Solution icon of github
via GitHub by B--B
, 1 year ago
Attempt to invoke virtual method 'void android.support.v7.widget.SearchView.setImeOptions(int)' on a null object reference

Solution icon of github
via GitHub by ezramorse
, 1 year ago
Attempt to invoke virtual method 'double java.lang.Double.doubleValue()' on a null object reference

Solution icon of github
via GitHub by zarir
, 4 months ago
Attempt to invoke virtual method 'java.lang.String com.google.android.gms.auth.api.signin.GoogleSignInAccount.getDisplayName()' on a null object reference

Stack trace

  • java.lang.NullPointerException: Attempt to invoke virtual method 'com.ichi2.libanki.Note com.ichi2.libanki.Card.note()' on a null object reference at com.ichi2.async.DeckTask.doInBackgroundUpdateNote(DeckTask.java:400) at com.ichi2.async.DeckTask.doInBackground(DeckTask.java:247) at com.ichi2.async.DeckTask.doInBackground(DeckTask.java:66)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.