Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utils.java 257: com.squareup.picasso.Utils.isAirplaneModeOn - java.lang.IllegalStateException: Failed to lookup info for package #2209

Open
Drjacky opened this issue Jul 6, 2021 · 0 comments

Comments

@Drjacky
Copy link

Drjacky commented Jul 6, 2021

Picasso: 2.8
Device: Galaxy S8
Android: 9

Fatal Exception: java.lang.RuntimeException

Unable to create application com.example.app.application.PsApplication: java.lang.IllegalStateException: Failed to lookup info for package com.example.app

android.app.ActivityThread.handleBindApplication 

Caused by java.lang.IllegalStateException

Failed to lookup info for package com.example.app

android.os.Parcel.createException (Parcel.java:1974)

android.os.Parcel.readException (Parcel.java:1934)

android.database.DatabaseUtils.readExceptionFromParcel (DatabaseUtils.java:183)

android.database.DatabaseUtils.readExceptionFromParcel (DatabaseUtils.java:135)

android.content.ContentProviderProxy.call (ContentProviderNative.java:651)

android.provider.Settings$NameValueCache.getStringForUser (Settings.java:2121)

android.provider.Settings$Global.getStringForUser (Settings.java:16790)

android.provider.Settings$Global.getString (Settings.java:16779)

android.provider.Settings$Global.getInt (Settings.java:16958)

com.squareup.picasso.Utils.isAirplaneModeOn (Utils.java:257)

com.squareup.picasso.Dispatcher.<init> (Dispatcher.java:117)

com.squareup.picasso.Picasso$Builder.build (Picasso.java:862)

com.example.app.application.PsApplication.onCreate (PsApplication.kt:117)

android.app.Instrumentation.callApplicationOnCreate (Instrumentation.java:1154)

android.app.ActivityThread.handleBindApplication (ActivityThread.java:6245)

android.app.ActivityThread.access$1200 (ActivityThread.java:238)

android.app.ActivityThread$H.handleMessage (ActivityThread.java:1787)

android.os.Handler.dispatchMessage (Handler.java:106)

android.os.Looper.loop (Looper.java:214)

android.app.ActivityThread.main (ActivityThread.java:7073)

java.lang.reflect.Method.invoke (Method.java)

com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:494)

com.android.internal.os.ZygoteInit.main (ZygoteInit.java:964)

Caused by android.os.RemoteException

Remote stack trace: at com.android.providers.settings.SettingsProvider.getCallingApplicationInfoOrThrow(SettingsProvider.java:1951) at 
com.android.providers.settings.SettingsProvider.enforceSettingReadable(SettingsProvider.java:1924) at 
com.android.providers.settings.SettingsProvider.getGlobalSetting(SettingsProvider.java:1128) at 
com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:516) at 
android.content.ContentProvider$Transport.call(ContentProvider.java:403)
@Drjacky Drjacky changed the title Utils.java 257 - java.lang.IllegalStateException: Failed to lookup info for package Utils.java 257: com.squareup.picasso.Utils.isAirplaneModeOn - java.lang.IllegalStateException: Failed to lookup info for package Jul 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant