java.lang.nullpointerexception in j2me

前端 未结 1 1526
既然无缘
既然无缘 2020-12-22 01:31

I am writing an application for read the mifare card,but when I pass the APDU the error occur that on emulator \"java.lang.nullpointerexception\".I have successfully detect

相关标签:
1条回答
  • 2020-12-22 02:02

    Either of iso14443 or textfield1 objects is likely null.

    With the way you debug things (quite smart BTW, my congratulations), you could log the checks about as follows:

    form.append("\n\n iso14443 is null: [" + (iso14443 == null)
            + "],\n textfield1 is null: [" + (textfield1 == null) + "]"); 
    
    0 讨论(0)
提交回复
热议问题