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 | 2 weeks ago
  1. 0

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

    google.com | 2 weeks 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. 1

    Android Studio 2.2 Preview timed out while rendering the layout.

    GitHub | 1 month ago | recwert
    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

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

    google.com | 2 weeks 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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    'preview timed out while rendering the layout infinite loop or unbounded recursion' when I duplicated some TableRows

    Stack Overflow | 4 months ago | Sushant Baskota
    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.
  6. 0

    Android studio rendering showing errors

    Stack Overflow | 1 month ago | Shubham Singh
    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.

    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.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.io.FileInputStream.open0()
    2. Java RT
      FileInputStream.<init>
      1. java.io.FileInputStream.open0(Native Method)
      2. java.io.FileInputStream.open(FileInputStream.java:195)
      3. java.io.FileInputStream.<init>(FileInputStream.java:138)
      3 frames
    3. org.jetbrains.android
      BufferingFileWrapper.getContents
      1. org.jetbrains.android.util.BufferingFileWrapper.readFile(BufferingFileWrapper.java:36)
      2. org.jetbrains.android.util.BufferingFileWrapper.getContents(BufferingFileWrapper.java:27)
      2 frames
    4. com.android.tools.sdk-common
      ResourceFolder.processFile
      1. com.android.ide.common.resources.IdGeneratingResourceFile.parseFileForIds(IdGeneratingResourceFile.java:151)
      2. com.android.ide.common.resources.IdGeneratingResourceFile.load(IdGeneratingResourceFile.java:73)
      3. com.android.ide.common.resources.ResourceFolder.getFile(ResourceFolder.java:286)
      4. com.android.ide.common.resources.ResourceFolder.processFile(ResourceFolder.java:76)
      4 frames
    5. org.jetbrains.android
      AndroidTargetData.getFrameworkResources
      1. org.jetbrains.android.sdk.FrameworkResourceLoader$IdeFrameworkResources.ensureInitialized(FrameworkResourceLoader.java:120)
      2. org.jetbrains.android.sdk.FrameworkResourceLoader.loadPlatformResources(FrameworkResourceLoader.java:59)
      3. org.jetbrains.android.sdk.FrameworkResourceLoader.load(FrameworkResourceLoader.java:53)
      4. org.jetbrains.android.sdk.AndroidTargetData.getFrameworkResources(AndroidTargetData.java:232)
      4 frames
    6. com.android.tools
      RenderTask.lambda$inflate$61
      1. com.android.tools.idea.configurations.ResourceResolverCache.getFrameworkResources(ResourceResolverCache.java:218)
      2. com.android.tools.idea.configurations.ResourceResolverCache.getResourceResolver(ResourceResolverCache.java:134)
      3. com.android.tools.idea.configurations.Configuration.getResourceResolver(Configuration.java:1212)
      4. com.android.tools.idea.rendering.RenderTask.getResourceResolver(RenderTask.java:198)
      5. com.android.tools.idea.rendering.RenderTask.createRenderSession(RenderTask.java:425)
      6. com.android.tools.idea.rendering.RenderTask.lambda$inflate$61(RenderTask.java:659)
      6 frames