Obsolete
Status Update
Comments
su...@gmail.com <su...@gmail.com> #2
Same here
su...@gmail.com <su...@gmail.com> #3
Same problem here
java.lang.IllegalStateException: Unable to locate mode 0
at android.view.DisplayInfo.findMode(DisplayInfo.java:458)
at android.view.DisplayInfo.getMode(DisplayInfo.java:445)
at android.view.Display.getRefreshRate(Display.java:648)
at android.support.v7.widget.RecyclerView.onAttachedToWindow(RecyclerView.java:2392)
at android.view.View.dispatchAttachedToWindow(View.java:15392)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2953)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2960)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2960)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2960)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2960)
at android.view.AttachInfo_Accessor.setAttachInfo(AttachInfo_Accessor.java:42)
at com.android.layoutlib.bridge.impl.RenderSessionImpl.inflate(RenderSessionImpl.java:333)
at com.android.layoutlib.bridge.Bridge.createSession(Bridge.java:429)
at com.android.ide.common.rendering.LayoutLibrary.createSession(LayoutLibrary.java:389)
at com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:548)
at com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:533)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:966)
at com.android.tools.idea.rendering.RenderTask.createRenderSession(RenderTask.java:533)
at com.android.tools.idea.rendering.RenderTask.lambda$inflate$53(RenderTask.java:659)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
java.lang.IllegalStateException: Unable to locate mode 0
at android.view.DisplayInfo.findMode(DisplayInfo.java:458)
at android.view.DisplayInfo.getMode(DisplayInfo.java:445)
at android.view.Display.getRefreshRate(Display.java:648)
at android.support.v7.widget.RecyclerView.onAttachedToWindow(RecyclerView.java:2392)
at android.view.View.dispatchAttachedToWindow(View.java:15392)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2953)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2960)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2960)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2960)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2960)
at android.view.AttachInfo_Accessor.setAttachInfo(AttachInfo_Accessor.java:42)
at com.android.layoutlib.bridge.impl.RenderSessionImpl.inflate(RenderSessionImpl.java:333)
at com.android.layoutlib.bridge.Bridge.createSession(Bridge.java:429)
at com.android.ide.common.rendering.LayoutLibrary.createSession(LayoutLibrary.java:389)
at com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:548)
at com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:533)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:966)
at com.android.tools.idea.rendering.RenderTask.createRenderSession(RenderTask.java:533)
at com.android.tools.idea.rendering.RenderTask.lambda$inflate$53(RenderTask.java:659)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
su...@gmail.com <su...@gmail.com> #4
Can you provide the below requested information to better understand the issue:
Android build
Which Android build are you using? (e.g. KVT49L)
Device used
Which device did you use to reproduce this issue?
Steps to reproduce
What steps do others need to take in order to reproduce the issue themselves?
Please attach a sample source code or apk to reproduce the issue at our end.
Frequency
How frequently does this issue occur? (e.g 100% of the time, 10% of the time)
Expected output
What do you expect to occur?
Current output
What do you see instead?
Android build
Which Android build are you using? (e.g. KVT49L)
Device used
Which device did you use to reproduce this issue?
Steps to reproduce
What steps do others need to take in order to reproduce the issue themselves?
Please attach a sample source code or apk to reproduce the issue at our end.
Frequency
How frequently does this issue occur? (e.g 100% of the time, 10% of the time)
Expected output
What do you expect to occur?
Current output
What do you see instead?
so...@gmail.com <so...@gmail.com> #5
java.lang.IllegalStateException: Unable to locate mode 0
at android.view.DisplayInfo.findMode(DisplayInfo.java:458)
at android.view.DisplayInfo.getMode(DisplayInfo.java:445)
at android.view.Display.getRefreshRate(Display.java:648)
at android.support.v7.widget.RecyclerView.onAttachedToWindow(RecyclerView.java:2392)
at android.view.View.dispatchAttachedToWindow(View.java:15392)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2953)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2960)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2960)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2960)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2960)
at android.view.AttachInfo_Accessor.setAttachInfo(AttachInfo_Accessor.java:42)
at com.android.layoutlib.bridge.impl.RenderSessionImpl.inflate(RenderSessionImpl.java:333)
at com.android.layoutlib.bridge.Bridge.createSession(Bridge.java:429)
at com.android.ide.common.rendering.LayoutLibrary.createSession(LayoutLibrary.java:389)
at com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:548)
at com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:533)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:966)
at com.android.tools.idea.rendering.RenderTask.createRenderSession(RenderTask.java:533)
at com.android.tools.idea.rendering.RenderTask.lambda$inflate$53(RenderTask.java:659)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at android.view.DisplayInfo.findMode(DisplayInfo.java:458)
at android.view.DisplayInfo.getMode(DisplayInfo.java:445)
at android.view.Display.getRefreshRate(Display.java:648)
at android.support.v7.widget.RecyclerView.onAttachedToWindow(RecyclerView.java:2392)
at android.view.View.dispatchAttachedToWindow(View.java:15392)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2953)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2960)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2960)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2960)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2960)
at android.view.AttachInfo_Accessor.setAttachInfo(AttachInfo_Accessor.java:42)
at com.android.layoutlib.bridge.impl.RenderSessionImpl.inflate(RenderSessionImpl.java:333)
at com.android.layoutlib.bridge.Bridge.createSession(Bridge.java:429)
at com.android.ide.common.rendering.LayoutLibrary.createSession(LayoutLibrary.java:389)
at com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:548)
at com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:533)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:966)
at com.android.tools.idea.rendering.RenderTask.createRenderSession(RenderTask.java:533)
at com.android.tools.idea.rendering.RenderTask.lambda$inflate$53(RenderTask.java:659)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
so...@gmail.com <so...@gmail.com> #6
@amaras...@google.com
Even I faced the issue
To reproduce, use android studio 2.2.2 or any latest you have
Creat a master/detail activity using
compileSdkVersion 25
buildToolsVersion "25.0.0"
And open the master layout design view. you can see the above mentioned problem
Even I faced the issue
To reproduce, use android studio 2.2.2 or any latest you have
Creat a master/detail activity using
compileSdkVersion 25
buildToolsVersion "25.0.0"
And open the master layout design view. you can see the above mentioned problem
so...@gmail.com <so...@gmail.com> #7
Same problem here. Problem exists since I changed versions to 25 / 25.0.0
so...@gmail.com <so...@gmail.com> #8
I have the same problem;
Android studio: 2.2.2
compileSdkVersion 25
buildToolsVersion "25.0.0"
targetSdkVersion 25
Recyclerview: compile 'com.android.support:recyclerview-v7:25.0.0'
Android studio: 2.2.2
compileSdkVersion 25
buildToolsVersion "25.0.0"
targetSdkVersion 25
Recyclerview: compile 'com.android.support:recyclerview-v7:25.0.0'
so...@gmail.com <so...@gmail.com> #9
Steps to reproduce:
1- Create a layout xml with android.support.constraint.ConstraintLayout as the root.
2- Place a android.support.v7.widget.RecyclerView inside the root:
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android "
xmlns:app="http://schemas.android.com/apk/res-auto "
xmlns:tools="http://schemas.android.com/tools "
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v7.widget.RecyclerView
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:layout_editor_absoluteY="201dp"
tools:layout_editor_absoluteX="122dp"/>
</android.support.constraint.ConstraintLayout>
1- Create a layout xml with android.support.constraint.ConstraintLayout as the root.
2- Place a android.support.v7.widget.RecyclerView inside the root:
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout
xmlns:android="
xmlns:app="
xmlns:tools="
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v7.widget.RecyclerView
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:layout_editor_absoluteY="201dp"
tools:layout_editor_absoluteX="122dp"/>
</android.support.constraint.ConstraintLayout>
sa...@google.com <sa...@google.com> #10
I also have the same issue.
Android Studio 2.2.2
compile / target sdk 25
Designs with Recyclerview post the issue
Android Studio 2.2.2
compile / target sdk 25
Designs with Recyclerview post the issue
Description
04-18 13:38:28.031 17726 1648 F libc : Fatal signal 7 (SIGBUS), code 1, fault addr 0x9c224e19 in tid 1648 (AsyncTask #1)
04-18 13:38:28.033 216 216 I DEBUG : property debug.db.uid not set; NOT waiting for gdb.
04-18 13:38:28.033 216 216 I DEBUG : HINT: adb shell setprop debug.db.uid 100000
04-18 13:38:28.033 216 216 I DEBUG : HINT: adb forward tcp:5039 tcp:5039
04-18 13:38:28.087 216 216 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
04-18 13:38:28.087 216 216 F DEBUG : Build fingerprint: 'google/hammerhead/hammerhead:6.0.1/MMB29X/2704508:user/release-keys'
04-18 13:38:28.087 216 216 F DEBUG : Revision: '0'
04-18 13:38:28.087 216 216 F DEBUG : ABI: 'arm'
04-18 13:38:28.087 216 216 F DEBUG : pid: 17726, tid: 1648, name: AsyncTask #1 >>>
04-18 13:38:28.087 216 216 F DEBUG : signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 0x9c224e19
04-18 13:38:28.124 216 216 F DEBUG : r0 9c224e19 r1 0000000c r2 0000829a r3 0000000b
04-18 13:38:28.124 216 216 F DEBUG : r4 9c224e19 r5 0000829a r6 ac351ec8 r7 9c224d88
04-18 13:38:28.125 216 216 F DEBUG : r8 00000008 r9 000000a9 sl ac352268 fp 0000000c
04-18 13:38:28.125 216 216 F DEBUG : ip ac351f30 sp 95245088 lr ac348ad9 pc ac3483b6 cpsr 600d0030
04-18 13:38:28.134 216 216 F DEBUG :
04-18 13:38:28.134 216 216 F DEBUG : backtrace:
04-18 13:38:28.135 216 216 F DEBUG : #00 pc 000023b6 /system/lib/libjhead.so (ConvertAnyFormat+133)
04-18 13:38:28.135 216 216 F DEBUG : #01 pc 00002ad5 /system/lib/libjhead.so
04-18 13:38:28.135 216 216 F DEBUG : #02 pc 00002dbd /system/lib/libjhead.so
04-18 13:38:28.135 216 216 F DEBUG : #03 pc 00003163 /system/lib/libjhead.so (process_EXIF+258)
04-18 13:38:28.135 216 216 F DEBUG : #04 pc 00004eef /system/lib/libjhead.so (ReadJpegSections+638)
04-18 13:38:28.135 216 216 F DEBUG : #05 pc 000054a1 /system/lib/libjhead.so (ReadJpegFile+68)
04-18 13:38:28.136 216 216 F DEBUG : #06 pc 00001069 /system/lib/libjhead_jni.so
04-18 13:38:28.136 216 216 F DEBUG : #07 pc 000012a5 /system/lib/libjhead_jni.so
04-18 13:38:28.136 216 216 F DEBUG : #08 pc 731e5bfd /data/dalvik-cache/arm/system@framework@boot.oat (offset 0x1f5b000)