1. Explore
  2. »
  3. Android

Android errors

The mobile operating system of Google

https://developer.android.com/
Solution coverage:
Summary coverage:
Error patternsPackagesClassesMethodsExceptions
DescriptionException TypeEntry MethodWeb pages

LinearLayoutManager.scrollVerticallyBy() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
6 frames hidden
android.support.v7.widget.LinearLayoutManager.scrollVerticallyBy
247Web pages
IndexOutOfBoundsExceptionLinearLayoutManager.scrollVerticallyBy()247

You must to handle correctly the lifecycle of your Activity

android.view.WindowLeaked
android.view.WindowManagerImpl.addView
245Web pages
WindowLeakedWindowManagerImpl.addView()245

WindowManagerImpl.addView() has thrown a WindowLeaked

android.view.WindowLeaked
1 frames hidden
android.view.WindowManagerImpl.addView
242Web pages
WindowLeakedWindowManagerImpl.addView()242

Bitmap.createBitmap() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
3 frames hidden
android.graphics.Bitmap.createBitmap
242Web pages
OutOfMemoryErrorBitmap.createBitmap()242

You try to use a view, which is not exist

java.lang.NullPointerException
android.app.Activity.findViewById
239Web pages
NullPointerExceptionActivity.findViewById()239

ActivityThread.handleLaunchActivity() has thrown a RuntimeException

java.lang.RuntimeException
2 frames hidden
android.app.ActivityThread.handleLaunchActivity
238Web pages
RuntimeExceptionActivityThread.handleLaunchActivity()238

ActivityThread.main() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
15 frames hidden
android.app.ActivityThread.main
236Web pages
IndexOutOfBoundsExceptionActivityThread.main()236

AbstractWindowedCursor.getString() has thrown a CursorIndexOutOfBoundsException

android.database.CursorIndexOutOfBoundsException
2 frames hidden
android.database.AbstractWindowedCursor.getString
234Web pages
1Solution
CursorIndexOutOfBoundsExceptionAbstractWindowedCursor.getString()234

WindowManagerImpl.removeViewImmediate() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
2 frames hidden
android.view.WindowManagerImpl.removeViewImmediate
228Web pages
IllegalArgumentExceptionWindowManagerImpl.removeViewImmediate()228

View.performClick() has thrown a NullPointerException

java.lang.NullPointerException
1 frames hidden
android.view.View.performClick
227Web pages
NullPointerExceptionView.performClick()227

ArrayAdapter.getView() has thrown a NullPointerException

java.lang.NullPointerException
1 frames hidden
android.widget.ArrayAdapter.getView
226Web pages
NullPointerExceptionArrayAdapter.getView()226

Activity.startActivity() has thrown an ActivityNotFoundException

android.content.ActivityNotFoundException
3 frames hidden
android.app.Activity.startActivity
226Web pages
ActivityNotFoundExceptionActivity.startActivity()226

Resources.loadXmlResourceParser() has thrown a Resources$NotFoundException

android.content.res.Resources$NotFoundException
1 frames hidden
android.content.res.Resources.loadXmlResourceParser
225Web pages
Resources$NotFoundExceptionResources.loadXmlResourceParser()225

SQLiteDatabase.insertWithOnConflict() has thrown a SQLiteException

android.database.sqlite.SQLiteException
6 frames hidden
android.database.sqlite.SQLiteDatabase.insertWithOnConflict
225Web pages
SQLiteExceptionSQLiteDatabase.insertWithOnConflict()225

You should check the the parameters of your Notification

android.app.RemoteServiceException
android.app.ActivityThread$H.handleMessage
225Web pages
RemoteServiceExceptionActivityThread$H.handleMessage()225

TextView.setText() has thrown a Resources$NotFoundException

android.content.res.Resources$NotFoundException
1 frames hidden
android.widget.TextView.setText
223Web pages
Resources$NotFoundExceptionTextView.setText()223

SQLiteConnection.open() has thrown a SQLiteCantOpenDatabaseException

android.database.sqlite.SQLiteCantOpenDatabaseException
2 frames hidden
android.database.sqlite.SQLiteConnection.open
223Web pages
SQLiteCantOpenDatabaseExceptionSQLiteConnection.open()223

The app must call that service's startForeground() method within five seconds after the service is created

android.app.RemoteServiceException
3 frames hidden
android.app.ActivityThread.main
222Web pages
RemoteServiceExceptionActivityThread.main()222

SQLiteConnectionPool.openConnectionLocked() has thrown a SQLiteCantOpenDatabaseException

android.database.sqlite.SQLiteCantOpenDatabaseException
3 frames hidden
android.database.sqlite.SQLiteConnectionPool.openConnectionLocked
220Web pages
SQLiteCantOpenDatabaseExceptionSQLiteConnectionPool.openConnectionLocked()220

SQLiteConnectionPool.open() has thrown a SQLiteCantOpenDatabaseException

android.database.sqlite.SQLiteCantOpenDatabaseException
5 frames hidden
android.database.sqlite.SQLiteConnectionPool.open
216Web pages
SQLiteCantOpenDatabaseExceptionSQLiteConnectionPool.open()216

SQLiteDatabase.openInner() has thrown a SQLiteCantOpenDatabaseException

android.database.sqlite.SQLiteCantOpenDatabaseException
6 frames hidden
android.database.sqlite.SQLiteDatabase.openInner
215Web pages
SQLiteCantOpenDatabaseExceptionSQLiteDatabase.openInner()215

Dialog.dismissDialog() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
3 frames hidden
android.app.Dialog.dismissDialog
215Web pages
IllegalArgumentExceptionDialog.dismissDialog()215

SQLiteDatabase.openDatabase() has thrown a SQLiteCantOpenDatabaseException

android.database.sqlite.SQLiteCantOpenDatabaseException
8 frames hidden
android.database.sqlite.SQLiteDatabase.openDatabase
213Web pages
SQLiteCantOpenDatabaseExceptionSQLiteDatabase.openDatabase()213

LayoutInflater.rInflate() has thrown an InflateException

android.view.InflateException
1 frames hidden
android.view.LayoutInflater.rInflate
211Web pages
InflateExceptionLayoutInflater.rInflate()211

IoBridge.open() has thrown a FileNotFoundException

java.io.FileNotFoundException
libcore.io.IoBridge.open
210Web pages
1Solution
FileNotFoundExceptionIoBridge.open()210

IoBridge.connect() has thrown a NetworkOnMainThreadException

android.os.NetworkOnMainThreadException
3 frames hidden
libcore.io.IoBridge.connect
208Web pages
NetworkOnMainThreadExceptionIoBridge.connect()208

SQLiteDatabase.insert() has thrown a SQLiteException

android.database.sqlite.SQLiteException
7 frames hidden
android.database.sqlite.SQLiteDatabase.insert
205Web pages
SQLiteExceptionSQLiteDatabase.insert()205

WindowManagerImpl.addView() has thrown a WindowManager$BadTokenException

android.view.WindowManager$BadTokenException
2 frames hidden
android.view.WindowManagerImpl.addView
204Web pages
WindowManager$BadTokenExceptionWindowManagerImpl.addView()204

You must to check the showing of Dialog before dismiss

java.lang.IllegalArgumentException
4 frames hidden
android.app.Dialog.dismiss
203Web pages
IllegalArgumentExceptionDialog.dismiss()203

ArrayList$ArrayListIterator.next() has thrown a ConcurrentModificationException

java.util.ConcurrentModificationException
java.util.ArrayList$ArrayListIterator.next
201Web pages
ConcurrentModificationExceptionArrayList$ArrayListIterator.next()201

LayoutInflater.rInflate() has thrown an InflateException

android.view.InflateException
2 frames hidden
android.view.LayoutInflater.rInflate
200Web pages
InflateExceptionLayoutInflater.rInflate()200

Resources.getLayout() has thrown a Resources$NotFoundException

android.content.res.Resources$NotFoundException
2 frames hidden
android.content.res.Resources.getLayout
197Web pages
Resources$NotFoundExceptionResources.getLayout()197

ViewRootImpl.requestLayout() has thrown a ViewRootImpl$CalledFromWrongThreadException

android.view.ViewRootImpl$CalledFromWrongThreadException
1 frames hidden
android.view.ViewRootImpl.requestLayout
197Web pages
ViewRootImpl$CalledFromWrongThreadExceptionViewRootImpl.requestLayout()197

View.requestLayout() has thrown a ViewRootImpl$CalledFromWrongThreadException

android.view.ViewRootImpl$CalledFromWrongThreadException
2 frames hidden
android.view.View.requestLayout
195Web pages
ViewRootImpl$CalledFromWrongThreadExceptionView.requestLayout()195

LayoutInflater.createViewFromTag() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
4 frames hidden
android.view.LayoutInflater.createViewFromTag
194Web pages
ClassNotFoundExceptionLayoutInflater.createViewFromTag()194

You must to handle correctly the lifecycle of your Camera object

java.lang.RuntimeException
android.hardware.Camera.native_setParameters
193Web pages
RuntimeExceptionCamera.native_setParameters()193

ViewGroup.addView() has thrown an IllegalStateException

java.lang.IllegalStateException
3 frames hidden
android.view.ViewGroup.addView
189Web pages
IllegalStateExceptionViewGroup.addView()189

Camera.setParameters() has thrown a RuntimeException

java.lang.RuntimeException
1 frames hidden
android.hardware.Camera.setParameters
189Web pages
RuntimeExceptionCamera.setParameters()189

You must to set the width and height parameters properly to Bitmap

java.lang.IllegalArgumentException
android.graphics.Bitmap.createBitmap
188Web pages
IllegalArgumentExceptionBitmap.createBitmap()188

View.requestLayout() has thrown a ViewRootImpl$CalledFromWrongThreadException

android.view.ViewRootImpl$CalledFromWrongThreadException
3 frames hidden
android.view.View.requestLayout
182Web pages
ViewRootImpl$CalledFromWrongThreadExceptionView.requestLayout()182

You try to use a view which isn't in the dependencies

java.lang.ClassNotFoundException
3 frames hidden
android.view.LayoutInflater.createView
182Web pages
ClassNotFoundExceptionLayoutInflater.createView()182

Resources.getDrawable() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
5 frames hidden
android.content.res.Resources.getDrawable
181Web pages
OutOfMemoryErrorResources.getDrawable()181

ActivityThread.main() has thrown a NullPointerException

java.lang.NullPointerException
6 frames hidden
android.app.ActivityThread.main
179Web pages
NullPointerExceptionActivityThread.main()179

View.requestLayout() has thrown a ViewRootImpl$CalledFromWrongThreadException

android.view.ViewRootImpl$CalledFromWrongThreadException
4 frames hidden
android.view.View.requestLayout
179Web pages
ViewRootImpl$CalledFromWrongThreadExceptionView.requestLayout()179

ContextImpl.bindServiceCommon() has thrown a ServiceConnectionLeaked

android.app.ServiceConnectionLeaked
2 frames hidden
android.app.ContextImpl.bindServiceCommon
179Web pages
ServiceConnectionLeakedContextImpl.bindServiceCommon()179

PointerIndex must be greater than 0

java.lang.IllegalArgumentException
android.view.MotionEvent.nativeGetAxisValue
178Web pages
IllegalArgumentExceptionMotionEvent.nativeGetAxisValue()178

SQLiteDatabase.execSQL() has thrown a SQLiteException

android.database.sqlite.SQLiteException
7 frames hidden
android.database.sqlite.SQLiteDatabase.execSQL
178Web pages
SQLiteExceptionSQLiteDatabase.execSQL()178

BootClassLoader.findClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
1 frames hidden
java.lang.BootClassLoader.findClass
178Web pages
ClassNotFoundExceptionBootClassLoader.findClass()178

Bitmap.createBitmap() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
1 frames hidden
android.graphics.Bitmap.createBitmap
177Web pages
IllegalArgumentExceptionBitmap.createBitmap()177

ContextImpl.bindService() has thrown a ServiceConnectionLeaked

android.app.ServiceConnectionLeaked
3 frames hidden
android.app.ContextImpl.bindService
176Web pages
ServiceConnectionLeakedContextImpl.bindService()176
Nothing to list here.
Nothing to list here.
Nothing to list here.
Nothing to list here.