»»

android.os errorsAndroid

Top patterns

  1. Tried to access to a resource without permission

    Request the required permission, before you start to use the resource:

    https://developer.android.com/training/permissions/requesting

  2. Executed network call on the main thread

    You must execute network calls on a background thread and not on the main thread.

    Read more: https://developer.android.com/training/articles/perf-anr

  3. Communication between threads is handled incorrectly
    No solution
Error patternsClassesMethodsExceptions
DescriptionException TypeEntry MethodWeb pages

Tried to access to a resource without permission

java.lang.SecurityException
android.os.Parcel.readException
1344Web pages
1Solution
SecurityExceptionParcel.readException1344

Executed network call on the main thread

android.os.NetworkOnMainThreadException
android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork
1067Web pages
1Solution
NetworkOnMainThreadExceptionStrictMode$AndroidBlockGuardPolicy.onNetwork1067

Communication between threads is handled incorrectly

java.lang.RuntimeException
android.os.Handler.<init>
391Web pages
RuntimeExceptionHandler.<init>391

You are communicating incorrectly between threads

java.lang.IllegalStateException
android.os.MessageQueue.enqueueMessage
160Web pages
IllegalStateExceptionMessageQueue.enqueueMessage160

BinderProxy.sendDeathNotice() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
3 frames hidden
android.os.BinderProxy.sendDeathNotice
146Web pages
IllegalArgumentExceptionBinderProxy.sendDeathNotice146

If your targetSdkVersion is 24 or higher, you can not use file: Uri values in Intents

android.os.FileUriExposedException
android.os.StrictMode.onFileUriExposed
138Web pages
FileUriExposedExceptionStrictMode.onFileUriExposed138

Parcel.readException() has thrown an IllegalStateException

java.lang.IllegalStateException
android.os.Parcel.readException
114Web pages
IllegalStateExceptionParcel.readException114

You must do fileSystem operations on a separate thread

android.os.StrictMode$StrictModeDiskReadViolation
android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk
107Web pages
StrictMode$StrictModeDiskReadViolationStrictMode$AndroidBlockGuardPolicy.onReadFromDisk107

BinderProxy.transact() has thrown a SecurityException

java.lang.SecurityException
android.os.BinderProxy.transact
84Web pages
SecurityExceptionBinderProxy.transact84

AsyncTask.finish() has thrown a NullPointerException

java.lang.NullPointerException
4 frames hidden
android.os.AsyncTask.finish
82Web pages
NullPointerExceptionAsyncTask.finish82

MessageQueue.enqueueMessage() has thrown a RuntimeException

java.lang.RuntimeException
android.os.MessageQueue.enqueueMessage
78Web pages
RuntimeExceptionMessageQueue.enqueueMessage78

Parcel.readValue() has thrown a RuntimeException

java.lang.RuntimeException
android.os.Parcel.readValue
74Web pages
RuntimeExceptionParcel.readValue74

BinderProxy.transact() has thrown a TransactionTooLargeException

android.os.TransactionTooLargeException
android.os.BinderProxy.transact
71Web pages
TransactionTooLargeExceptionBinderProxy.transact71

Parcel.writeValue() has thrown a RuntimeException

java.lang.RuntimeException
android.os.Parcel.writeValue
60Web pages
RuntimeExceptionParcel.writeValue60

Parcel.readParcelable() has thrown a BadParcelableException

android.os.BadParcelableException
1 frames hidden
android.os.Parcel.readParcelable
46Web pages
BadParcelableExceptionParcel.readParcelable46

AsyncTask.executeOnExecutor() has thrown an IllegalStateException

java.lang.IllegalStateException
android.os.AsyncTask.executeOnExecutor
41Web pages
IllegalStateExceptionAsyncTask.executeOnExecutor41

Parcel.readParcelable() has thrown a BadParcelableException

android.os.BadParcelableException
android.os.Parcel.readParcelable
38Web pages
BadParcelableExceptionParcel.readParcelable38

StrictMode.setClassInstanceLimit() has thrown a StrictMode$InstanceCountViolation

android.os.StrictMode$InstanceCountViolation
android.os.StrictMode.setClassInstanceLimit
33Web pages
StrictMode$InstanceCountViolationStrictMode.setClassInstanceLimit33

Parcel.openFileDescriptor() has thrown a FileNotFoundException

java.io.FileNotFoundException
android.os.Parcel.openFileDescriptor
31Web pages
FileNotFoundExceptionParcel.openFileDescriptor31

Bundle.getString() has thrown a ClassCastException

java.lang.ClassCastException
android.os.Bundle.getString
31Web pages
ClassCastExceptionBundle.getString31

PowerManager$WakeLock.release() has thrown a RuntimeException

java.lang.RuntimeException
1 frames hidden
android.os.PowerManager$WakeLock.release
29Web pages
RuntimeExceptionPowerManager$WakeLock.release29

SystemProperties.get() has thrown an UnsatisfiedLinkError

java.lang.UnsatisfiedLinkError
1 frames hidden
android.os.SystemProperties.get
28Web pages
UnsatisfiedLinkErrorSystemProperties.get28

MessageQueue.nativePollOnce() has thrown an IllegalStateException

java.lang.IllegalStateException
android.os.MessageQueue.nativePollOnce
26Web pages
IllegalStateExceptionMessageQueue.nativePollOnce26

BinderProxy.transact() has thrown a RuntimeException

java.lang.RuntimeException
1 frames hidden
android.os.BinderProxy.transact
26Web pages
RuntimeExceptionBinderProxy.transact26

BaseBundle.getString() has thrown a ClassCastException

java.lang.ClassCastException
android.os.BaseBundle.getString
26Web pages
ClassCastExceptionBaseBundle.getString26

Parcel.writeSerializable() has thrown a RuntimeException

java.lang.RuntimeException
android.os.Parcel.writeSerializable
26Web pages
RuntimeExceptionParcel.writeSerializable26

StrictMode.readAndHandleBinderCallViolations() has thrown a StrictMode$LogStackTrace

android.os.StrictMode$LogStackTrace
android.os.StrictMode.readAndHandleBinderCallViolations
24Web pages
StrictMode$LogStackTraceStrictMode.readAndHandleBinderCallViolations24

StrictMode$AndroidBlockGuardPolicy.onWriteToDisk() has thrown a StrictMode$StrictModeDiskWriteViolation

android.os.StrictMode$StrictModeDiskWriteViolation
android.os.StrictMode$AndroidBlockGuardPolicy.onWriteToDisk
23Web pages
StrictMode$StrictModeDiskWriteViolationStrictMode$AndroidBlockGuardPolicy.onWriteToDisk23

Bundle.getByteArray() has thrown a ClassCastException

java.lang.ClassCastException
android.os.Bundle.getByteArray
23Web pages
ClassCastExceptionBundle.getByteArray23

Binder.execTransact() has thrown a NullPointerException

java.lang.NullPointerException
2 frames hidden
android.os.Binder.execTransact
21Web pages
NullPointerExceptionBinder.execTransact21

BinderProxy.transact() has thrown an IllegalStateException

java.lang.IllegalStateException
1 frames hidden
android.os.BinderProxy.transact
20Web pages
IllegalStateExceptionBinderProxy.transact20

Looper.prepare() has thrown a RuntimeException

java.lang.RuntimeException
android.os.Looper.prepare
20Web pages
RuntimeExceptionLooper.prepare20

Looper.loop() has thrown a RuntimeException

java.lang.RuntimeException
android.os.Looper.loop
19Web pages
RuntimeExceptionLooper.loop19

Parcel.readIntArray() has thrown a RuntimeException

java.lang.RuntimeException
android.os.Parcel.readIntArray
19Web pages
RuntimeExceptionParcel.readIntArray19

Looper.loop() has thrown a RuntimeException

java.lang.RuntimeException
5 frames hidden
android.os.Looper.loop
18Web pages
RuntimeExceptionLooper.loop18

Bundle.getParcelable() has thrown a ClassCastException

java.lang.ClassCastException
android.os.Bundle.getParcelable
18Web pages
ClassCastExceptionBundle.getParcelable18

Handler.dispatchMessage() has thrown an Object

System.Object
3 frames hidden
android.os.Handler.dispatchMessage
16Web pages
ObjectHandler.dispatchMessage16

Bundle.getParcelableArrayList() has thrown a ClassCastException

java.lang.ClassCastException
android.os.Bundle.getParcelableArrayList
14Web pages
ClassCastExceptionBundle.getParcelableArrayList14

Handler.<init>() has thrown a NullPointerException

java.lang.NullPointerException
android.os.Handler.<init>
14Web pages
NullPointerExceptionHandler.<init>14

Process.setThreadPriority() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
android.os.Process.setThreadPriority
13Web pages
IllegalArgumentExceptionProcess.setThreadPriority13

BaseBundle.getInt() has thrown a ClassCastException

java.lang.ClassCastException
android.os.BaseBundle.getInt
13Web pages
ClassCastExceptionBaseBundle.getInt13

BinderProxy.transact() has thrown a RemoteException

android.os.RemoteException
android.os.BinderProxy.transact
12Web pages
RemoteExceptionBinderProxy.transact12

Handler.dispatchMessage() has thrown a NullPointerException

java.lang.NullPointerException
3 frames hidden
android.os.Handler.dispatchMessage
12Web pages
NullPointerExceptionHandler.dispatchMessage12

Looper.loop() has thrown an IllegalStateException

java.lang.IllegalStateException
3 frames hidden
android.os.Looper.loop
11Web pages
IllegalStateExceptionLooper.loop11

MessageQueue.removeSyncBarrier() has thrown an IllegalStateException

java.lang.IllegalStateException
android.os.MessageQueue.removeSyncBarrier
11Web pages
IllegalStateExceptionMessageQueue.removeSyncBarrier11

HandlerThread.run() has thrown a CommandException

org.adaway.util.CommandException
7 frames hidden
android.os.HandlerThread.run
10Web pages
CommandExceptionHandlerThread.run10

Binder.execTransact() has thrown a FirebaseException

com.google.firebase.FirebaseException
5 frames hidden
android.os.Binder.execTransact
10Web pages
FirebaseExceptionBinder.execTransact10

MessageQueue.enqueueMessage() has thrown an AndroidRuntimeException

android.util.AndroidRuntimeException
android.os.MessageQueue.enqueueMessage
10Web pages
AndroidRuntimeExceptionMessageQueue.enqueueMessage10

StrictMode.executeDeathPenalty() has thrown a StrictMode$StrictModeViolation

android.os.StrictMode$StrictModeViolation
android.os.StrictMode.executeDeathPenalty
10Web pages
StrictMode$StrictModeViolationStrictMode.executeDeathPenalty10

Message.sendToTarget() has thrown a NullPointerException

java.lang.NullPointerException
android.os.Message.sendToTarget
10Web pages
NullPointerExceptionMessage.sendToTarget10
Nothing to list here.
Nothing to list here.
Nothing to list here.