java.lang.NullPointerException: This exception has no message.


Solutions on the web

Solution icon of stackoverflow
via Stack Overflow by Hamda
, 5 months ago
This exception has no message.

Solution icon of github
This exception has no message.

Solution icon of github
via GitHub by marekhalmo
, 1 year ago
This exception has no message.

Solution icon of github
This exception has no message.

Solution icon of github
via GitHub by wkodate
, 1 year ago
This exception has no message.

Solution icon of stackoverflow
This exception has no message.

Solution icon of stackoverflow
This exception has no message.

Solution icon of stackoverflow
via Stack Overflow by Anupam
, 1 year ago
This exception has no message.

Solution icon of stackoverflow
via Stack Overflow by Denis
, 1 year ago
This exception has no message.

Solution icon of stackoverflow
via Stack Overflow by Maram Wat
, 1 year ago
This exception has no message.

Stack trace

java.lang.NullPointerException
	at android.widget.ArrayAdapter.getCount(ArrayAdapter.java:330)
	at android.widget.ListView.setAdapter(ListView.java:462)
	at android.support.v7.app.AlertController.setupView(AlertController.java:538)
	at android.support.v7.app.AlertController.installContent(AlertController.java:226)
	at android.support.v7.app.AlertDialog.onCreate(AlertDialog.java:257)
	at android.app.Dialog.dispatchOnCreate(Dialog.java:355)
	at android.app.Dialog.show(Dialog.java:260)
	at com.example.hamdaalissaei.final_flah.personal_info$6.onClick(personal_info.java:247)
	at android.view.View.performClick(View.java:4204)
	at android.view.View$PerformClick.run(View.java:17355)
	at android.os.Handler.handleCallback(Handler.java:725)
	at android.os.Handler.dispatchMessage(Handler.java:92)
	at android.os.Looper.loop(Looper.java:137)
	at android.app.ActivityThread.main(ActivityThread.java:5041)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:511)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
	at dalvik.system.NativeStart.main(Native Method)

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

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago
2 more bugmates