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

You are using an unknow method in android:onClick parameter

java.lang.IllegalStateException
android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.resolveMethod
127Web pages
IllegalStateExceptionAppCompatViewInflater$DeclaredOnClickListener.resolveMethod()127

Activity.setContentView() has thrown a RuntimeException

java.lang.RuntimeException
2 frames hidden
android.app.Activity.setContentView
127Web pages
RuntimeExceptionActivity.setContentView()127

ContextImpl.unregisterReceiver() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
1 frames hidden
android.app.ContextImpl.unregisterReceiver
126Web pages
IllegalArgumentExceptionContextImpl.unregisterReceiver()126

Dialog.show() has thrown a WindowLeaked

android.view.WindowLeaked
3 frames hidden
android.app.Dialog.show
125Web pages
WindowLeakedDialog.show()125

SQLiteDatabase.query() has thrown a SQLiteException

android.database.sqlite.SQLiteException
10 frames hidden
android.database.sqlite.SQLiteDatabase.query
125Web pages
SQLiteExceptionSQLiteDatabase.query()125

You got an unhandled exception during activity destroy

java.lang.RuntimeException
android.app.ActivityThread.performDestroyActivity
124Web pages
RuntimeExceptionActivityThread.performDestroyActivity()124

Dialog.show() has thrown a WindowLeaked

android.view.WindowLeaked
2 frames hidden
android.app.Dialog.show
124Web pages
WindowLeakedDialog.show()124

View.performClick() has thrown an IllegalStateException

java.lang.IllegalStateException
2 frames hidden
android.view.View.performClick
124Web pages
IllegalStateExceptionView.performClick()124

LayoutInflater.inflate() has thrown an InflateException

android.view.InflateException
2 frames hidden
android.view.LayoutInflater.inflate
124Web pages
InflateExceptionLayoutInflater.inflate()124

ContextWrapper.startActivity() has thrown an AndroidRuntimeException

android.util.AndroidRuntimeException
2 frames hidden
android.content.ContextWrapper.startActivity
124Web pages
AndroidRuntimeExceptionContextWrapper.startActivity()124

PlainSocketImpl$PlainSocketInputStream.read() has thrown a SocketTimeoutException

java.net.SocketTimeoutException
2 frames hidden
java.net.PlainSocketImpl$PlainSocketInputStream.read
123Web pages
SocketTimeoutExceptionPlainSocketImpl$PlainSocketInputStream.read()123

LayoutInflater.inflate() has thrown an InflateException

android.view.InflateException
3 frames hidden
android.view.LayoutInflater.inflate
123Web pages
InflateExceptionLayoutInflater.inflate()123

SQLiteDatabase.insertWithOnConflict() has thrown a SQLiteConstraintException

android.database.sqlite.SQLiteConstraintException
4 frames hidden
android.database.sqlite.SQLiteDatabase.insertWithOnConflict
121Web pages
SQLiteConstraintExceptionSQLiteDatabase.insertWithOnConflict()121

WindowManagerImpl.removeView() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
1 frames hidden
android.view.WindowManagerImpl.removeView
121Web pages
IllegalArgumentExceptionWindowManagerImpl.removeView()121

ContextWrapper.unregisterReceiver() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
2 frames hidden
android.content.ContextWrapper.unregisterReceiver
121Web pages
IllegalArgumentExceptionContextWrapper.unregisterReceiver()121

ContextImpl.bindService() has thrown a ServiceConnectionLeaked

android.app.ServiceConnectionLeaked
2 frames hidden
android.app.ContextImpl.bindService
121Web pages
ServiceConnectionLeakedContextImpl.bindService()121

Dialog.show() has thrown a WindowLeaked

android.view.WindowLeaked
4 frames hidden
android.app.Dialog.show
121Web pages
1Solution
WindowLeakedDialog.show()121

LayoutInflater.inflate() has thrown an InflateException

android.view.InflateException
4 frames hidden
android.view.LayoutInflater.inflate
121Web pages
InflateExceptionLayoutInflater.inflate()121

ContentResolver.openAssetFileDescriptor() has thrown a FileNotFoundException

java.io.FileNotFoundException
1 frames hidden
android.content.ContentResolver.openAssetFileDescriptor
120Web pages
FileNotFoundExceptionContentResolver.openAssetFileDescriptor()120

SpannableStringBuilder.setSpan() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
1 frames hidden
android.text.SpannableStringBuilder.setSpan
119Web pages
IndexOutOfBoundsExceptionSpannableStringBuilder.setSpan()119

ActivityThread.handleDestroyActivity() has thrown a RuntimeException

java.lang.RuntimeException
1 frames hidden
android.app.ActivityThread.handleDestroyActivity
119Web pages
RuntimeExceptionActivityThread.handleDestroyActivity()119

Bitmap.createScaledBitmap() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
3 frames hidden
android.graphics.Bitmap.createScaledBitmap
119Web pages
OutOfMemoryErrorBitmap.createScaledBitmap()119

FragmentManagerImpl.enqueueAction() has thrown an IllegalStateException

java.lang.IllegalStateException
1 frames hidden
android.app.FragmentManagerImpl.enqueueAction
118Web pages
IllegalStateExceptionFragmentManagerImpl.enqueueAction()118

ContextImpl.unbindService() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
1 frames hidden
android.app.ContextImpl.unbindService
117Web pages
IllegalArgumentExceptionContextImpl.unbindService()117

ZygoteInit.main() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
19 frames hidden
com.android.internal.os.ZygoteInit.main
117Web pages
IndexOutOfBoundsExceptionZygoteInit.main()117

Parcel.readException() has thrown an IllegalStateException

java.lang.IllegalStateException
android.os.Parcel.readException
116Web pages
IllegalStateExceptionParcel.readException()116

ContextWrapper.unbindService() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
2 frames hidden
android.content.ContextWrapper.unbindService
116Web pages
IllegalArgumentExceptionContextWrapper.unbindService()116

Check your database structure and SQL statements

java.lang.IllegalArgumentException
android.database.AbstractCursor.getColumnIndexOrThrow
116Web pages
IllegalArgumentExceptionAbstractCursor.getColumnIndexOrThrow()116

You must to handle correctly the lifecycle of your Activity

java.lang.RuntimeException
android.app.ActivityThread.performStopActivityInner
114Web pages
RuntimeExceptionActivityThread.performStopActivityInner()114

Bitmap.createBitmap() has thrown an OutOfMemoryError

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

ActivityManagerProxy.getContentProvider() has thrown a SecurityException

java.lang.SecurityException
2 frames hidden
android.app.ActivityManagerProxy.getContentProvider
113Web pages
SecurityExceptionActivityManagerProxy.getContentProvider()113

View.requestLayout() has thrown a ViewRootImpl$CalledFromWrongThreadException

android.view.ViewRootImpl$CalledFromWrongThreadException
6 frames hidden
android.view.View.requestLayout
113Web pages
ViewRootImpl$CalledFromWrongThreadExceptionView.requestLayout()113

LayoutInflater.inflate() has thrown an InflateException

android.view.InflateException
3 frames hidden
android.view.LayoutInflater.inflate
112Web pages
InflateExceptionLayoutInflater.inflate()112

ActivityThread.handleLaunchActivity() has thrown a NullPointerException

java.lang.NullPointerException
1 frames hidden
android.app.ActivityThread.handleLaunchActivity
112Web pages
NullPointerExceptionActivityThread.handleLaunchActivity()112

ZygoteInit.main() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
19 frames hidden
com.android.internal.os.ZygoteInit.main
112Web pages
IndexOutOfBoundsExceptionZygoteInit.main()112

WindowManagerImpl.addView() has thrown a WindowManager$BadTokenException

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

Fragment.instantiate() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
3 frames hidden
android.app.Fragment.instantiate
109Web pages
ClassNotFoundExceptionFragment.instantiate()109

BackStackRecord.commit() has thrown an IllegalStateException

java.lang.IllegalStateException
3 frames hidden
android.app.BackStackRecord.commit
109Web pages
IllegalStateExceptionBackStackRecord.commit()109

LoadedApk.makeApplication() has thrown a RuntimeException

java.lang.ClassNotFoundException
5 frames hidden
android.app.LoadedApk.makeApplication
108Web pages
RuntimeExceptionLoadedApk.makeApplication()108

LayoutInflater.inflate() has thrown an InflateException

android.view.InflateException
android.view.LayoutInflater.inflate
108Web pages
InflateExceptionLayoutInflater.inflate()108

ActivityThread.handleStopActivity() has thrown a RuntimeException

java.lang.RuntimeException
1 frames hidden
android.app.ActivityThread.handleStopActivity
108Web pages
RuntimeExceptionActivityThread.handleStopActivity()108

View.performClick() has thrown an IllegalStateException

java.lang.NoSuchMethodException
4 frames hidden
android.view.View.performClick
107Web pages
IllegalStateExceptionView.performClick()107

ActivityThread.acquireProvider() has thrown a SecurityException

java.lang.SecurityException
3 frames hidden
android.app.ActivityThread.acquireProvider
107Web pages
SecurityExceptionActivityThread.acquireProvider()107

ActivityManagerService.handleIncomingUser() has thrown a SecurityException

java.lang.SecurityException
com.android.server.am.ActivityManagerService.handleIncomingUser
107Web pages
SecurityExceptionActivityManagerService.handleIncomingUser()107

You must do fileSystem operations on a separate thread

android.os.StrictMode$StrictModeDiskReadViolation
android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk
106Web pages
StrictMode$StrictModeDiskReadViolationStrictMode$AndroidBlockGuardPolicy.onReadFromDisk()106

BitmapFactory.decodeStream() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
5 frames hidden
android.graphics.BitmapFactory.decodeStream
106Web pages
OutOfMemoryErrorBitmapFactory.decodeStream()106

TypedArray.getDrawable() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
7 frames hidden
android.content.res.TypedArray.getDrawable
106Web pages
OutOfMemoryErrorTypedArray.getDrawable()106

ActivityThread.handleBindApplication() has thrown a RuntimeException

java.lang.ClassNotFoundException
6 frames hidden
android.app.ActivityThread.handleBindApplication
105Web pages
RuntimeExceptionActivityThread.handleBindApplication()105

TypedArray.getLayoutDimension() has thrown a RuntimeException

java.lang.RuntimeException
android.content.res.TypedArray.getLayoutDimension
104Web pages
RuntimeExceptionTypedArray.getLayoutDimension()104

Canvas.throwIfCannotDraw() has thrown a RuntimeException

java.lang.RuntimeException
android.graphics.Canvas.throwIfCannotDraw
104Web pages
RuntimeExceptionCanvas.throwIfCannotDraw()104
Nothing to list here.
Nothing to list here.
Nothing to list here.
Nothing to list here.