Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ResourceNotFoundException how to debug?

I've got couple reports on Market about this exception. There is no reference to where it happens in my app and majority of users do not have thit issue. How do I debug something like that? This is NOT exception I get from all devices. Just one specific device might report it.

android.content.res.Resources$NotFoundException: Resource ID #0x109005d
 at android.content.res.Resources.getValue(Resources.java:892)
 at android.content.res.Resources.loadXmlResourceParser(Resources.java:1869)
 at android.content.res.Resources.getLayout(Resources.java:731)
 at android.view.LayoutInflater.inflate(LayoutInflater.java:318)
 at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
 at com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.java:2451)
 at com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:2506)
 at com.android.internal.policy.impl.PhoneWindow.getDecorView(PhoneWindow.java:1626)
 at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2165)
 at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1672)
 at android.app.ActivityThread.access$1500(ActivityThread.java:117)
 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)
 at android.os.Handler.dispatchMessage(Handler.java:99)
 at android.os.Looper.loop(Looper.java:130)
 at android.app.ActivityThread.main(ActivityThread.java:3687)
 at java.lang.reflect.Method.invokeNative(Native Method)
 at java.lang.reflect.Method.invoke(Method.java:507)
 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
 at dalvik.system.NativeStart.main(Native Method)
like image 810
katit Avatar asked Nov 16 '11 17:11

katit


1 Answers

Maybe there is some resource that is defined in a specific folder and is not in a less specific folder? Like, you defined a drawable X in the folder drawable-land and not in the drawable-port? You should double-check your specific folders for resources that are not in other folders

like image 158
apenasVB Avatar answered Oct 02 '22 15:10

apenasVB