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

JIRA | fujunwei | 4 months ago
  1. 0

    After playing the video a couple of times, it will throttle and won't play it anymore. Here's something simple that I'm running that will reproduce the issue: XWalkView xWalkView = new XWalkView(this); setContentView(xWalkView); xWalkView.load("http://techslides.com/demos/sample-videos/small.mp4", null); That will result in: W/ResourceType﹕ No package identifier when getting value for resource number 0x00000000 E/cr_MediaThrottler﹕ Exception happens while creating the watch dog player. android.content.res.Resources$NotFoundException: Resource ID #0x0 at android.content.res.Resources.getValue(Resources.java:1343) at android.content.res.Resources.getValue(Resources.java:1323) at android.content.res.Resources.openRawResourceFd(Resources.java:1285) at android.media.MediaPlayer.create(MediaPlayer.java:921) at android.media.MediaPlayer.create(MediaPlayer.java:904) at org.chromium.content.browser.MediaThrottler$StartWatchDogTask.doInBackground(MediaThrottler.java:107) at org.chromium.content.browser.MediaThrottler$StartWatchDogTask.doInBackground(MediaThrottler.java:101) at android.os.AsyncTask$2.call(AsyncTask.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:818) E/cr_MediaThrottler﹕ Unable to create watch dog player, treat it as server crash.

    JIRA | 4 months ago | fujunwei
    android.content.res.Resources$NotFoundException: Resource ID #0x0
  2. 0

    Android service Music crash the app sometimes

    Stack Overflow | 2 years ago | D4rWiNS
    java.lang.RuntimeException: Unable to create service clases.AMusic: android.content.res.Resources$NotFoundException: Resource ID #0x0
  3. 0

    error in passing a value - android

    Stack Overflow | 3 years ago | user3347841
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.rawan/com.rawan.MainActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Resources$NotFoundException: Resource ID #0x0 Error Android

    Stack Overflow | 2 years ago | user3231871
    android.content.res.Resources$NotFoundException: Resource ID #0x0
  6. 0

    Mediaplayer in adapter not playing right track

    Stack Overflow | 2 years ago | Darko Petkovski
    android.content.res.Resources$NotFoundException: File res/raw/blur.bc from drawable resource ID #0x7f060005

    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
      MediaPlayer.create
      1. android.content.res.Resources.getValue(Resources.java:1343)
      2. android.content.res.Resources.getValue(Resources.java:1323)
      3. android.content.res.Resources.openRawResourceFd(Resources.java:1285)
      4. android.media.MediaPlayer.create(MediaPlayer.java:921)
      5. android.media.MediaPlayer.create(MediaPlayer.java:904)
      5 frames
    3. org.chromium.content
      MediaThrottler$StartWatchDogTask.doInBackground
      1. org.chromium.content.browser.MediaThrottler$StartWatchDogTask.doInBackground(MediaThrottler.java:107)
      2. org.chromium.content.browser.MediaThrottler$StartWatchDogTask.doInBackground(MediaThrottler.java:101)
      2 frames
    4. Android Platform
      AsyncTask$2.call
      1. android.os.AsyncTask$2.call(AsyncTask.java:292)
      1 frame
    5. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
      1 frame
    6. Android Platform
      AsyncTask$SerialExecutor$1.run
      1. android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
      1 frame
    7. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
      3. java.lang.Thread.run(Thread.java:818)
      3 frames