android.content.res.Resources$NotFoundException: Resource ID #0x0

JIRA | Dmitry | 11 months ago
  1. 0

    When I click on <option>select test 1</option> my app broken

    Stack Overflow | 11 months ago | Darwin
    android.content.res.Resources$NotFoundException: Resource ID #0x0
  2. 0

    hello, When I click on <option>select test 1</option> my app broken. Please help me. I use crosswalk 17.46.448.3-arm Java: {code} public class XWalkActivity extends Activity { protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.xwalk); final String html = "<html><body><select><option>select test 1</option><option>select test 2</option></select></body></html>"; mXWalkView=(XWalkView)findViewById(R.id.activity_main); mXWalkView.load(null, html); XWalkPreferences.setValue(XWalkPreferences.REMOTE_DEBUGGING, true); } } {code} xml: {code} <org.xwalk.core.XWalkView android:id="@+id/activity_main" xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent"> </org.xwalk.core.XWalkView> {code} log: {code} I/View (20589): Touch up dispatch to org.xwalk.core.internal.XWalkContentView{41f402e0 VFE...C. .F....I. 0,0-480,724}, event = MotionEvent { action=ACTION_UP, id[0]=0, x[0]=198.58627, y[0]=87.79526, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=18653607, downTime=18653485, deviceId=3, source=0x1002 } E/chromium(20589): [ERROR:xwalk_autofill_client.cc(172)] Not implemented reached in virtual void xwalk::XWalkAutofillClient::OnFirstUserGestureObserved() D/AbsListView(20589): checkAbsListViewlLogProperty get invalid command V/WindowManager( 652): Changing focus from Window{41f9fa80 u0 org.golang.app/org.golang.app.XWalkActivity} to Window{42719ef8 u0 org.golang.app/org.golang.app.XWalkActivity} Callers=com.android.server.wm.WindowManagerService.addWindow:2665 com.android.server.wm.Session.addToDisplay:163 android.view.IWindowSession$Stub.onTransact:111 com.android.server.wm.Session.onTransact:126 I/WindowManager( 652): Gaining focus: Window{42719ef8 u0 org.golang.app/org.golang.app.XWalkActivity} D/ListView(20589): measureHeightOfChildren adapter=org.chromium.content.browser.input.SelectPopupAdapter@41feb6f8, startPosition=0, endPosition=1, maxHeight=727, this=android.widget.ListView{41fdebb8 VFED.VC. ......I. 0,0-0,0} W/ResourceType(20589): No package identifier when getting value for resource number 0x00000000 D/AndroidRuntime(20589): Shutting down VM W/dalvikvm(20589): threadid=1: thread exiting with uncaught exception (group=0x4185fce0) W/dalvikvm(20589): threadid=1: uncaught exception occurred W/System.err(20589): android.content.res.Resources$NotFoundException: Resource ID #0x0 W/System.err(20589): at android.content.res.Resources.getValue(Resources.java:1133) W/System.err(20589): at android.content.res.Resources.loadXmlResourceParser(Resources.java:2365) W/System.err(20589): at android.content.res.Resources.getLayout(Resources.java:949) W/System.err(20589): at android.view.LayoutInflater.inflate(LayoutInflater.java:395) {code}

    JIRA | 11 months ago | Dmitry
    android.content.res.Resources$NotFoundException: Resource ID #0x0
  3. 0

    hello, When I click on <option>select test 1</option> my app broken. Please help me. I use crosswalk 17.46.448.3-arm Java: {code} public class XWalkActivity extends Activity { protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.xwalk); final String html = "<html><body><select><option>select test 1</option><option>select test 2</option></select></body></html>"; mXWalkView=(XWalkView)findViewById(R.id.activity_main); mXWalkView.load(null, html); XWalkPreferences.setValue(XWalkPreferences.REMOTE_DEBUGGING, true); } } {code} xml: {code} <org.xwalk.core.XWalkView android:id="@+id/activity_main" xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent"> </org.xwalk.core.XWalkView> {code} log: {code} I/View (20589): Touch up dispatch to org.xwalk.core.internal.XWalkContentView{41f402e0 VFE...C. .F....I. 0,0-480,724}, event = MotionEvent { action=ACTION_UP, id[0]=0, x[0]=198.58627, y[0]=87.79526, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=18653607, downTime=18653485, deviceId=3, source=0x1002 } E/chromium(20589): [ERROR:xwalk_autofill_client.cc(172)] Not implemented reached in virtual void xwalk::XWalkAutofillClient::OnFirstUserGestureObserved() D/AbsListView(20589): checkAbsListViewlLogProperty get invalid command V/WindowManager( 652): Changing focus from Window{41f9fa80 u0 org.golang.app/org.golang.app.XWalkActivity} to Window{42719ef8 u0 org.golang.app/org.golang.app.XWalkActivity} Callers=com.android.server.wm.WindowManagerService.addWindow:2665 com.android.server.wm.Session.addToDisplay:163 android.view.IWindowSession$Stub.onTransact:111 com.android.server.wm.Session.onTransact:126 I/WindowManager( 652): Gaining focus: Window{42719ef8 u0 org.golang.app/org.golang.app.XWalkActivity} D/ListView(20589): measureHeightOfChildren adapter=org.chromium.content.browser.input.SelectPopupAdapter@41feb6f8, startPosition=0, endPosition=1, maxHeight=727, this=android.widget.ListView{41fdebb8 VFED.VC. ......I. 0,0-0,0} W/ResourceType(20589): No package identifier when getting value for resource number 0x00000000 D/AndroidRuntime(20589): Shutting down VM W/dalvikvm(20589): threadid=1: thread exiting with uncaught exception (group=0x4185fce0) W/dalvikvm(20589): threadid=1: uncaught exception occurred W/System.err(20589): android.content.res.Resources$NotFoundException: Resource ID #0x0 W/System.err(20589): at android.content.res.Resources.getValue(Resources.java:1133) W/System.err(20589): at android.content.res.Resources.loadXmlResourceParser(Resources.java:2365) W/System.err(20589): at android.content.res.Resources.getLayout(Resources.java:949) W/System.err(20589): at android.view.LayoutInflater.inflate(LayoutInflater.java:395) {code}

    JIRA | 11 months ago | Dmitry
    android.content.res.Resources$NotFoundException: Resource ID #0x0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    The library doesn't work

    GitHub | 2 years ago | KChernenko
    android.content.res.Resources$NotFoundException: Resource ID #0x0
  6. 0

    Android example error

    GitHub | 2 years ago | ruanwz
    android.content.res.Resources$NotFoundException: Resource ID #0x0

  1. Saravana Kumar Chinnaraj 30 times, last 7 months ago
  2. dmitry 71 times, last 8 months ago
  3. Sunny Kumar Aditya 1 times, last 12 months ago
4 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. android.content.res.Resources$NotFoundException

    Resource ID #0x0

    at android.content.res.Resources.getValue()
  2. Android Platform
    LayoutInflater.inflate
    1. android.content.res.Resources.getValue(Resources.java:1133)
    2. android.content.res.Resources.loadXmlResourceParser(Resources.java:2365)
    3. android.content.res.Resources.getLayout(Resources.java:949)
    4. android.view.LayoutInflater.inflate(LayoutInflater.java:395)
    4 frames