android.content.res.Resources$NotFoundException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 4#66626138
    via GitHub by manumaticx
    ,
  • The issue title may be a little general but I'm not able to be more specific because this happens whenever the parent view of the mapview is a Fragment. You can easily reproduce this bug with this test code: {code:javascript} Ti.UI.createAlertDialog({ androidView: require('ti.map').createView() }).show(); {code} App crashes with this: {code} [ERROR] : TiApplication (main) [712,712] Sending event: exception on thread: main msg:android.content.res.Resources$NotFoundException: Unable to find resource ID #0x3e8; Titanium 3.6.0,2014/12/11 14:51,7bde3b5 [ERROR] : TiApplication android.content.res.Resources$NotFoundException: Unable to find resource ID #0x3e8 [ERROR] : TiApplication at android.content.res.Resources.getResourceName(Resources.java:2026) [ERROR] : TiApplication at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:939) [ERROR] : TiApplication at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1126) [ERROR] : TiApplication at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:739) [ERROR] : TiApplication at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1489) [ERROR] : TiApplication at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:454) [ERROR] : TiApplication at android.os.Handler.handleCallback(Handler.java:739) [ERROR] : TiApplication at android.os.Handler.dispatchMessage(Handler.java:95) [ERROR] : TiApplication at android.os.Looper.loop(Looper.java:135) [ERROR] : TiApplication at android.app.ActivityThread.main(ActivityThread.java:5221) [ERROR] : TiApplication at java.lang.reflect.Method.invoke(Native Method) [ERROR] : TiApplication at java.lang.reflect.Method.invoke(Method.java:372) [ERROR] : TiApplication at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899) [ERROR] : TiApplication at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694) {code} This not just happening with AlertDialogs, I've seen this error since a while here: https://github.com/manumaticx/Ti.DrawerLayout/issues/4 I think the cause for this is somewhere in [TiUIFragment|https://github.com/appcelerator/titanium_mobile/blob/master/android/titanium/src/java/org/appcelerator/titanium/view/TiUIFragment.java] as the FragmentManager fails to resolve the containers resource id. I've tested this with several Titanium versions (3.3.0 to 3.6.0).
    via by Manuel Lehner,
  • The issue title may be a little general but I'm not able to be more specific because this happens whenever the parent view of the mapview is a Fragment. You can easily reproduce this bug with this test code: {code:javascript} Ti.UI.createAlertDialog({ androidView: require('ti.map').createView() }).show(); {code} App crashes with this: {code} [ERROR] : TiApplication (main) [712,712] Sending event: exception on thread: main msg:android.content.res.Resources$NotFoundException: Unable to find resource ID #0x3e8; Titanium 3.6.0,2014/12/11 14:51,7bde3b5 [ERROR] : TiApplication android.content.res.Resources$NotFoundException: Unable to find resource ID #0x3e8 [ERROR] : TiApplication at android.content.res.Resources.getResourceName(Resources.java:2026) [ERROR] : TiApplication at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:939) [ERROR] : TiApplication at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1126) [ERROR] : TiApplication at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:739) [ERROR] : TiApplication at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1489) [ERROR] : TiApplication at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:454) [ERROR] : TiApplication at android.os.Handler.handleCallback(Handler.java:739) [ERROR] : TiApplication at android.os.Handler.dispatchMessage(Handler.java:95) [ERROR] : TiApplication at android.os.Looper.loop(Looper.java:135) [ERROR] : TiApplication at android.app.ActivityThread.main(ActivityThread.java:5221) [ERROR] : TiApplication at java.lang.reflect.Method.invoke(Native Method) [ERROR] : TiApplication at java.lang.reflect.Method.invoke(Method.java:372) [ERROR] : TiApplication at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899) [ERROR] : TiApplication at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694) {code} This not just happening with AlertDialogs, I've seen this error since a while here: https://github.com/manumaticx/Ti.DrawerLayout/issues/4 I think the cause for this is somewhere in [TiUIFragment|https://github.com/appcelerator/titanium_mobile/blob/master/android/titanium/src/java/org/appcelerator/titanium/view/TiUIFragment.java] as the FragmentManager fails to resolve the containers resource id. I've tested this with several Titanium versions (3.3.0 to 3.6.0).
    via by Manuel Lehner,
  • Android: Unable to find resource ID Exception
    via Stack Overflow by Ann18
    ,
  • Android - Nested Fragments
    via Stack Overflow by TommyLeeJones
    ,
    • android.content.res.Resources$NotFoundException: Unable to find resource ID #0x3e8 at android.content.res.Resources.getResourceName(Resources.java:2026) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:939) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1126) at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:739) at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1489) at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:454) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5221) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    tone5992tone5992
    14 times, last one,
    15 more bugmates