java.lang.RuntimeException: java.lang.UnsupportedOperationException: TextureView doesn't support displaying a background drawable

JIRA | Julian Dropmann | 4 months ago
  1. 0

    Impacted Cases ============== Using animatable XWalkView with Android N. Reproduce Test Steps ==================== XWalkPreferences.setValue(XWalkPreferences.ANIMATABLE_XWALK_VIEW, true); new XWalkView(this) Expected Outcome ================ No crash/exception. Actual Outcome ============== java.lang.RuntimeException: java.lang.UnsupportedOperationException: TextureView doesn't support displaying a background drawable at org.xwalk.core.ReflectConstructor.newInstance(ReflectConstructor.java:54) at org.xwalk.core.XWalkView.reflectionInit(XWalkView.java:1882) at org.xwalk.core.XWalkView.<init>(XWalkView.java:340) Caused by: java.lang.UnsupportedOperationException: TextureView doesn't support displaying a background drawable at android.view.TextureView.setBackgroundDrawable(TextureView.java:302) at android.view.View.setBackground(View.java:18120) at android.view.View.setBackgroundColor(View.java:18082) at org.chromium.content.browser.ContentViewRenderView.initTextureView(ContentViewRenderView.java:68) at org.chromium.content.browser.ContentViewRenderView.<init>(ContentViewRenderView.java:145) at org.xwalk.core.internal.XWalkContent$2.<init>(XWalkContent.java:177) at org.xwalk.core.internal.XWalkContent.setNativeContent(XWalkContent.java:177) at org.xwalk.core.internal.XWalkContent.<init>(XWalkContent.java:136) at org.xwalk.core.internal.XWalkViewInternal.initXWalkContent(XWalkViewInternal.java:441) at org.xwalk.core.internal.XWalkViewInternal.<init>(XWalkViewInternal.java:386) at org.xwalk.core.internal.XWalkViewBridge.<init>(XWalkViewBridge.java:80) at java.lang.reflect.Constructor.newInstance0(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:430) at org.xwalk.core.ReflectConstructor.newInstance(ReflectConstructor.java:48) at org.xwalk.core.XWalkView.reflectionInit(XWalkView.java:1882)  at org.xwalk.core.XWalkView.<init>(XWalkView.java:340)  Test Case Source Code ===================== |build.gradle| https://crosswalk-project.org/jira/secure/attachment/15633/build.gradle| |app/build.grade| https://crosswalk-project.org/jira/secure/attachment/15634/build.gradle| |AndroidManifest.xml| https://crosswalk-project.org/jira/secure/attachment/15635/AndroidManifest.xml| |MainActivity.java| https://crosswalk-project.org/jira/secure/attachment/15636/MainActivity.java| |Process Log| https://crosswalk-project.org/jira/secure/attachment/15638/log.txt| |Device About| https://crosswalk-project.org/jira/secure/attachment/15637/device-2016-08-08-162500.png| Test Builds =========== 20.50.533.12 failed 21.51.546.3 failed Issue Analysis ============== android.view.TextireView.setBackgroundColor / setBackground / setBackgroundDrawable seems not to be supported on Android N

    JIRA | 4 months ago | Julian Dropmann
    java.lang.RuntimeException: java.lang.UnsupportedOperationException: TextureView doesn't support displaying a background drawable
  2. 0

    [jira] [Commented] (HDFS-4868) Clean up error message when trying to snapshot using ViewFileSystem

    hadoop-hdfs-issues | 3 years ago | Stephen Chu (JIRA)
    java.lang.UnsupportedOperationException: ViewFileSystem doesn't support createSnapshot
  3. 0

    Universal Image Loader throws UnsupportedOperationException. Who can tell me why

    Stack Overflow | 3 years ago | dreamer
    java.lang.UnsupportedOperationException: UIL doesn't support scheme(protocol) by default [&gt;&lt;a class=]. You should implement this support yourself (BaseImageDownloader.getStreamFromOtherSource(...))
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 4#146721327

    GitHub | 1 year ago | posix4e
    java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while processing row (tag=0) {"key":{},"value":{"_col0":30,"_col1":"20150828_092318_0b10.tif","_col2":"s3","_col3":"39f674e1c7eb6abd0fa6d547b9ccf57e","_col4":793193,"_col5":"{\"type\":\"Polygon\",\"coordinates\":[[[\"107.74267620449625\",\"38.20273014635555\"],[\"107.80577684786502\",\"38.163836335233384\"],[\"107.84369359085983\",\"38.20222516203852\"],[\"107.78049077973573\",\"38.24107155249924\"],[\"107.74267620449625\",\"38.20273014635555\"]]]}","_col6":126778515,"_col7":1440753798000,"_col8":126778515,"_col9":74144,"_col10":1443637104000,"_col11":"","_col12":""}}
  6. 0

    GitHub comment 4#146720660

    GitHub | 1 year ago | posix4e
    java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while processing row (tag=0) {"key":{},"value":{"_col0":30,"_col1":"20150828_092318_0b10.tif","_col2":"s3","_col3":"39f674e1c7eb6abd0fa6d547b9ccf57e","_col4":793193,"_col5":"{\"type\":\"Polygon\",\"coordinates\":[[[\"107.74267620449625\",\"38.20273014635555\"],[\"107.80577684786502\",\"38.163836335233384\"],[\"107.84369359085983\",\"38.20222516203852\"],[\"107.78049077973573\",\"38.24107155249924\"],[\"107.74267620449625\",\"38.20273014635555\"]]]}","_col6":126778515,"_col7":1440753798000,"_col8":126778515,"_col9":74144,"_col10":1443637104000,"_col11":"","_col12":""}}

    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. java.lang.UnsupportedOperationException

      TextureView doesn't support displaying a background drawable

      at android.view.TextureView.setBackgroundDrawable()
    2. Android Platform
      View.setBackgroundColor
      1. android.view.TextureView.setBackgroundDrawable(TextureView.java:302)
      2. android.view.View.setBackground(View.java:18120)
      3. android.view.View.setBackgroundColor(View.java:18082)
      3 frames
    3. org.chromium.content
      ContentViewRenderView.<init>
      1. org.chromium.content.browser.ContentViewRenderView.initTextureView(ContentViewRenderView.java:68)
      2. org.chromium.content.browser.ContentViewRenderView.<init>(ContentViewRenderView.java:145)
      2 frames
    4. org.xwalk.core
      XWalkViewBridge.<init>
      1. org.xwalk.core.internal.XWalkContent$2.<init>(XWalkContent.java:177)
      2. org.xwalk.core.internal.XWalkContent.setNativeContent(XWalkContent.java:177)
      3. org.xwalk.core.internal.XWalkContent.<init>(XWalkContent.java:136)
      4. org.xwalk.core.internal.XWalkViewInternal.initXWalkContent(XWalkViewInternal.java:441)
      5. org.xwalk.core.internal.XWalkViewInternal.<init>(XWalkViewInternal.java:386)
      6. org.xwalk.core.internal.XWalkViewBridge.<init>(XWalkViewBridge.java:80)
      6 frames
    5. Java RT
      Constructor.newInstance
      1. java.lang.reflect.Constructor.newInstance0(Native Method)
      2. java.lang.reflect.Constructor.newInstance(Constructor.java:430)
      2 frames
    6. org.xwalk.core
      XWalkView.<init>
      1. org.xwalk.core.ReflectConstructor.newInstance(ReflectConstructor.java:48)
      2. org.xwalk.core.XWalkView.reflectionInit(XWalkView.java:1882)
      3. org.xwalk.core.XWalkView.<init>(XWalkView.java:340)
      3 frames