java.util.concurrent.TimeoutException: Preview timed out while rendering the layout. This typically happens when there is an infinite loop or unbounded recursion in one of the custom views.

google.com | 3 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 2

    Issue 215369 - android - rendering error - Android Open Source Project - Issue Tracker - Google Project Hosting

    google.com | 3 months ago
    java.util.concurrent.TimeoutException: Preview timed out while rendering the layout. This typically happens when there is an infinite loop or unbounded recursion in one of the custom views.
  2. 0

    Android Studio Rendering Problems java.util.concurrent.TimeoutException

    Stack Overflow | 1 month ago | Code Pirate
    java.util.concurrent.TimeoutException: Preview timed out while rendering the layout. This typically happens when there is an infinite loop or unbounded recursion in one of the custom views.
  3. 0

    AndroidStudio - Couldn't resolve resource @id/visible in layout xml file

    Stack Overflow | 2 months ago | Francis Rodrigues
    java.util.concurrent.TimeoutException: Preview timed out while rendering the layout. This typically happens when there is an infinite loop or unbounded recursion in one of the custom views.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors

    Root Cause Analysis

    1. java.util.concurrent.TimeoutException

      Preview timed out while rendering the layout. This typically happens when there is an infinite loop or unbounded recursion in one of the custom views.

      at java.util.zip.ZipFile.read()
    2. Java RT
      InflaterInputStream.read
      1. java.util.zip.ZipFile.read(ZipFile.java:-2)
      2. java.util.zip.ZipFile.access$1400(ZipFile.java:60)
      3. java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:717)
      4. java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:419)
      5. java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
      5 frames
    3. Openapi
      UrlClassLoader.getResourceAsStream
      1. com.intellij.openapi.util.io.FileUtilRt.loadBytes(FileUtilRt.java:627)
      2. com.intellij.openapi.util.io.FileUtil.loadBytes(FileUtil.java:1604)
      3. com.intellij.util.lang.MemoryResource.load(MemoryResource.java:74)
      4. com.intellij.util.lang.JarLoader.getResource(JarLoader.java:134)
      5. com.intellij.util.lang.ClassPath.getResource(ClassPath.java:120)
      6. com.intellij.util.lang.UrlClassLoader._getResource(UrlClassLoader.java:279)
      7. com.intellij.util.lang.UrlClassLoader.getResourceAsStream(UrlClassLoader.java:287)
      7 frames
    4. Java RT
      ClassLoader.loadClass
      1. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      2. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      2 frames
    5. Android v7
      ActionBarOverlayLayout.<init>
      1. android.support.v7.widget.ActionBarOverlayLayout.<init>(ActionBarOverlayLayout.java:137)
      1 frame
    6. Java RT
      Constructor.newInstance
      1. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      1 frame
    7. Android Platform
      LayoutInflater.inflate
      1. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:727)
      2. android.view.LayoutInflater.inflate(LayoutInflater.java:495)
      3. android.view.LayoutInflater.inflate(LayoutInflater.java:426)
      3 frames
    8. com.android.layoutlib
      Layout.<init>
      1. com.android.layoutlib.bridge.bars.BridgeActionBar.<init>(BridgeActionBar.java:84)
      2. com.android.layoutlib.bridge.bars.AppCompatActionBar.<init>(AppCompatActionBar.java:59)
      3. com.android.layoutlib.bridge.impl.Layout.createActionBar(Layout.java:238)
      4. com.android.layoutlib.bridge.impl.Layout.<init>(Layout.java:150)
      4 frames