Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Display name
, 1 year ago
java.lang.ClassCastException: java.lang.Byte cannot be cast to org.json.JSONArray
via Stack Overflow by PinTelele
, 1 year ago
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference
via Stack Overflow by rahman
, 2 years ago
java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.support.v4.app.FragmentActivity.getApplicationContext()' on a null object reference
via Stack Overflow by ishwor kafley
, 2 years ago
java.lang.NullPointerException: Attempt to invoke interface method 'void com.app.foodmandu.model.listener.SlideShowListener.setSlideShowData(java.util.List, int)' on a null object reference
via forundex.ru by Unknown author, 2 years ago
java.lang.NullPointerException: Attempt to invoke virtual method 'android.database.sqlite.SQLiteDatabase com.diplom.myapplication.DBHelper.getWritableDatabase()' on a null object reference
via Stack Overflow by Razul
, 2 years ago
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference
java.lang.ClassCastException: java.lang.Byte cannot be cast to org.json.JSONArray	at com.year2.sqlitemysqlsync.MainActivity$1.onSuccess(MainActivity.java:102)	at com.loopj.android.http.AsyncHttpResponseHandler.handleMessage(AsyncHttpResponseHandler.java:351)