Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

偶现崩溃 #9

Open
houkhan opened this issue Sep 5, 2023 · 2 comments
Open

偶现崩溃 #9

houkhan opened this issue Sep 5, 2023 · 2 comments

Comments

@houkhan
Copy link

houkhan commented Sep 5, 2023

使用中偶现崩溃
日志如下
imageHeight: 688
2023-09-05 18:27:05.232 32295-32295 --- com.ns.yc.yccustomtext E imageHeight: 688
2023-09-05 18:27:14.350 32295-32295 SpannableStringBuilder com.ns.yc.yccustomtext E SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
2023-09-05 18:27:14.748 32295-32295 SpannableStringBuilder com.ns.yc.yccustomtext E SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
2023-09-05 18:27:14.979 32295-32295 SpannableStringBuilder com.ns.yc.yccustomtext E SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
2023-09-05 18:27:15.135 32295-32295 SpannableStringBuilder com.ns.yc.yccustomtext E SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
2023-09-05 18:30:05.137 32295-32295 ActivityInjector com.ns.yc.yccustomtext E get life cycle exception
java.lang.ClassCastException: android.os.BinderProxy cannot be cast to android.app.servertransaction.ClientTransaction
at android.app.ActivityInjector.checkAccessControl(ActivityInjector.java:24)
at android.app.Activity.onResume(Activity.java:1859)
at android.support.v4.app.FragmentActivity.onResume(FragmentActivity.java:514)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1454)
at android.app.Activity.performResume(Activity.java:8050)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4260)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4302)
at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:52)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ClientTransactionHandler.executeTransaction(ClientTransactionHandler.java:57)
at android.app.ActivityThread.handleRelaunchActivityLocally(ActivityThread.java:5331)
at android.app.ActivityThread.access$3500(ActivityThread.java:224)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2054)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:7562)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
2023-09-05 18:30:05.164 32295-32295 ActivityInjector com.ns.yc.yccustomtext E get life cycle exception
java.lang.ClassCastException: android.os.BinderProxy cannot be cast to android.app.servertransaction.ClientTransaction
at android.app.ActivityInjector.checkAccessControl(ActivityInjector.java:24)
at android.app.Activity.onResume(Activity.java:1859)
at android.support.v4.app.FragmentActivity.onResume(FragmentActivity.java:514)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1454)
at android.app.Activity.performResume(Activity.java:8050)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4260)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4302)
at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:224)
at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ClientTransactionHandler.executeTransaction(ClientTransactionHandler.java:57)
at android.app.ActivityThread.handleRelaunchActivityLocally(ActivityThread.java:5331)
at android.app.ActivityThread.access$3500(ActivityThread.java:224)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2054)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:7562)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)

是什么原因呢

@houkhan
Copy link
Author

houkhan commented Sep 5, 2023

补充日志
at com.android.tools.agent.appinspection.ViewLayoutInspector$startCapturing$captureExecutor$1$1.run(ViewLayoutInspector.kt:328)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
2023-09-05 18:43:31.752 32295-4667 HyperLogUtils com.ns.yc.yccustomtext D HyperLibUtils----getSmallBitmap---byteCount压缩前大小--null
2023-09-05 18:43:31.781 32295-4667 HyperLogUtils com.ns.yc.yccustomtext D HyperLibUtils----getSmallBitmap---byteCount压缩中大小--12192768
2023-09-05 18:43:31.843 32295-4667 HyperLogUtils com.ns.yc.yccustomtext D HyperLibUtils----getSmallBitmap---byteCount压缩后大小--12192768
2023-09-05 18:43:31.884 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.ns.yc.yccustomtext.NewArticleActivity@9855315
2023-09-05 18:43:31.890 32295-32295 System.err com.ns.yc.yccustomtext W java.lang.NoSuchFieldException: No field mCursorDrawable in class Landroid/widget/Editor; (declaration of 'android.widget.Editor' appears in /system/framework/framework.jar!classes3.dex)
2023-09-05 18:43:31.890 32295-32295 System.err com.ns.yc.yccustomtext W at java.lang.Class.getDeclaredField(Native Method)
2023-09-05 18:43:31.890 32295-32295 System.err com.ns.yc.yccustomtext W at com.ns.yc.yccustomtextlib.utils.HyperLibUtils.setCursorDrawableColor(HyperLibUtils.java:638)
2023-09-05 18:43:31.890 32295-32295 System.err com.ns.yc.yccustomtext W at com.ns.yc.yccustomtextlib.edit.view.HyperTextEditor.createEditText(HyperTextEditor.java:472)
2023-09-05 18:43:31.890 32295-32295 System.err com.ns.yc.yccustomtext W at com.ns.yc.yccustomtextlib.edit.view.HyperTextEditor.addEditTextAtIndex(HyperTextEditor.java:594)
2023-09-05 18:43:31.890 32295-32295 System.err com.ns.yc.yccustomtext W at com.ns.yc.yccustomtextlib.edit.view.HyperTextEditor.insertImage(HyperTextEditor.java:550)
2023-09-05 18:43:31.890 32295-32295 System.err com.ns.yc.yccustomtext W at com.ns.yc.yccustomtext.NewArticleActivity$15.onNext(NewArticleActivity.java:376)
2023-09-05 18:43:31.890 32295-32295 System.err com.ns.yc.yccustomtext W at com.ns.yc.yccustomtext.NewArticleActivity$15.onNext(NewArticleActivity.java:358)
2023-09-05 18:43:31.890 32295-32295 System.err com.ns.yc.yccustomtext W at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.drainNormal(ObservableObserveOn.java:201)
2023-09-05 18:43:31.890 32295-32295 System.err com.ns.yc.yccustomtext W at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.run(ObservableObserveOn.java:255)
2023-09-05 18:43:31.890 32295-32295 System.err com.ns.yc.yccustomtext W at io.reactivex.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:119)
2023-09-05 18:43:31.890 32295-32295 System.err com.ns.yc.yccustomtext W at android.os.Handler.handleCallback(Handler.java:883)
2023-09-05 18:43:31.890 32295-32295 System.err com.ns.yc.yccustomtext W at android.os.Handler.dispatchMessage(Handler.java:100)
2023-09-05 18:43:31.890 32295-32295 System.err com.ns.yc.yccustomtext W at android.os.Looper.loop(Looper.java:224)
2023-09-05 18:43:31.890 32295-32295 System.err com.ns.yc.yccustomtext W at android.app.ActivityThread.main(ActivityThread.java:7562)
2023-09-05 18:43:31.890 32295-32295 System.err com.ns.yc.yccustomtext W at java.lang.reflect.Method.invoke(Native Method)
2023-09-05 18:43:31.890 32295-32295 System.err com.ns.yc.yccustomtext W at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
2023-09-05 18:43:31.890 32295-32295 System.err com.ns.yc.yccustomtext W at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
2023-09-05 18:43:31.892 32295-32295 HyperLogUtils com.ns.yc.yccustomtext D HyperTextEditor---onFocusChange--com.ns.yc.yccustomtextlib.edit.view.DeletableEditText{a4ef36c VFED..CL. .F....I. 0,0-0,0}
2023-09-05 18:43:31.893 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.ns.yc.yccustomtext.NewArticleActivity@9855315
2023-09-05 18:43:31.894 32295-32295 chatty com.ns.yc.yccustomtext I uid=10202(com.ns.yc.yccustomtext) identical 2 lines
2023-09-05 18:43:31.895 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.ns.yc.yccustomtext.NewArticleActivity@9855315
2023-09-05 18:43:31.896 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.ns.yc.yccustomtext.NewArticleActivity@9855315
2023-09-05 18:43:31.900 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.ns.yc.yccustomtext.NewArticleActivity@9855315
2023-09-05 18:43:31.901 32295-32295 --- com.ns.yc.yccustomtext E imageHeight: 688
2023-09-05 18:43:31.907 32295-32295 HyperLogUtils com.ns.yc.yccustomtext D HyperTextEditor----buildEditData------dataList---
2023-09-05 18:43:31.911 32295-32317 System com.ns.yc.yccustomtext W A resource failed to call close.
2023-09-05 18:43:31.941 32295-32295 Toast com.ns.yc.yccustomtext I Show toast from OpPackageName:com.ns.yc.yccustomtext, PackageName:com.ns.yc.yccustomtext
2023-09-05 18:43:31.944 32295-32295 AssistStructure com.ns.yc.yccustomtext I Flattened final assist data: 3232 bytes, containing 1 windows, 22 views
2023-09-05 18:43:31.958 32295-32295 HyperLogUtils com.ns.yc.yccustomtext D 本地图片--3--2016----1512
2023-09-05 18:43:31.958 32295-32295 HyperLogUtils com.ns.yc.yccustomtext D 本地图片--4--
2023-09-05 18:43:35.458 32295-32295 HyperLogUtils com.ns.yc.yccustomtext D HyperTextEditor----buildEditData------dataList---3
2023-09-05 18:43:35.459 32295-32295 Timeline com.ns.yc.yccustomtext I Timeline: Activity_launch_request time:272364971
2023-09-05 18:43:35.480 32295-32295 ActivityThread com.ns.yc.yccustomtext W handleWindowVisibility: no activity for token android.os.BinderProxy@4e80293
2023-09-05 18:43:35.485 32295-32342 ViewContentFactory com.ns.yc.yccustomtext D initViewContentFetcherClass
2023-09-05 18:43:35.485 32295-32342 ContentCatcher com.ns.yc.yccustomtext I ViewContentFetcher : ViewContentFetcher
2023-09-05 18:43:35.485 32295-32342 ViewContentFactory com.ns.yc.yccustomtext D createInterceptor took 0ms
2023-09-05 18:43:35.487 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.ns.yc.yccustomtext.PreviewArticleActivity@84412d0
2023-09-05 18:43:35.489 32295-32295 chatty com.ns.yc.yccustomtext I uid=10202(com.ns.yc.yccustomtext) identical 3 lines
2023-09-05 18:43:35.490 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.ns.yc.yccustomtext.PreviewArticleActivity@84412d0
2023-09-05 18:43:35.491 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.ns.yc.yccustomtext.PreviewArticleActivity@84412d0
2023-09-05 18:43:35.494 32295-32295 chatty com.ns.yc.yccustomtext I uid=10202(com.ns.yc.yccustomtext) identical 8 lines
2023-09-05 18:43:35.494 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.ns.yc.yccustomtext.PreviewArticleActivity@84412d0
2023-09-05 18:43:35.501 32295-14564 ExifInterface com.ns.yc.yccustomtext W Invalid image: ExifInterface got an unsupported image format file(ExifInterface supports JPEG and some RAW image formats only) or a corrupted JPEG file to ExifInterface.
java.io.IOException: Invalid byte order: ffff8950
at android.media.ExifInterface.readByteOrder(ExifInterface.java:3128)
at android.media.ExifInterface.isOrfFormat(ExifInterface.java:2443)
at android.media.ExifInterface.getMimeType(ExifInterface.java:2321)
at android.media.ExifInterface.loadAttributes(ExifInterface.java:1755)
at android.media.ExifInterface.(ExifInterface.java:1449)
at com.bumptech.glide.load.resource.bitmap.ExifInterfaceImageHeaderParser.getOrientation(ExifInterfaceImageHeaderParser.java:40)
at com.bumptech.glide.load.ImageHeaderParserUtils.getOrientation(ImageHeaderParserUtils.java:91)
at com.bumptech.glide.load.resource.bitmap.Downsampler.decodeFromWrappedStreams(Downsampler.java:236)
at com.bumptech.glide.load.resource.bitmap.Downsampler.decode(Downsampler.java:206)
at com.bumptech.glide.load.resource.bitmap.Downsampler.decode(Downsampler.java:162)
at com.bumptech.glide.load.resource.bitmap.ByteBufferBitmapDecoder.decode(ByteBufferBitmapDecoder.java:33)
at com.bumptech.glide.load.resource.bitmap.ByteBufferBitmapDecoder.decode(ByteBufferBitmapDecoder.java:16)
at com.bumptech.glide.load.engine.DecodePath.decodeResourceWithList(DecodePath.java:72)
at com.bumptech.glide.load.engine.DecodePath.decodeResource(DecodePath.java:55)
at com.bumptech.glide.load.engine.DecodePath.decode(DecodePath.java:45)
at com.bumptech.glide.load.engine.LoadPath.loadWithExceptionList(LoadPath.java:58)
at com.bumptech.glide.load.engine.LoadPath.load(LoadPath.java:43)
at com.bumptech.glide.load.engine.DecodeJob.runLoadPath(DecodeJob.java:515)
at com.bumptech.glide.load.engine.DecodeJob.decodeFromFetcher(DecodeJob.java:480)
at com.bumptech.glide.load.engine.DecodeJob.decodeFromData(DecodeJob.java:466)
at com.bumptech.glide.load.engine.DecodeJob.decodeFromRetrievedData(DecodeJob.java:418)
at com.bumptech.glide.load.engine.DecodeJob.onDataFetcherReady(DecodeJob.java:387)
at com.bumptech.glide.load.engine.ResourceCacheGenerator.onDataReady(ResourceCacheGenerator.java:120)
at com.bumptech.glide.load.model.ByteBufferFileLoader$ByteBufferFetcher.loadData(ByteBufferFileLoader.java:74)
at com.bumptech.glide.load.engine.ResourceCacheGenerator.startNext(ResourceCacheGenerator.java:99)
at com.bumptech.glide.load.engine.DecodeJob.runGenerators(DecodeJob.java:309)
at com.bumptech.glide.load.engine.DecodeJob.runWrapped(DecodeJob.java:276)
at com.bumptech.glide.load.engine.DecodeJob.run(DecodeJob.java:235)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
at com.bumptech.glide.load.engine.executor.GlideExecutor$DefaultThreadFactory$1.run(GlideExecutor.java:446)
2023-09-05 18:43:35.523 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.ns.yc.yccustomtext.PreviewArticleActivity@84412d0
2023-09-05 18:43:35.526 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.ns.yc.yccustomtext.PreviewArticleActivity@84412d0
2023-09-05 18:43:35.526 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.ns.yc.yccustomtext.PreviewArticleActivity@84412d0
2023-09-05 18:43:35.527 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.ns.yc.yccustomtext.PreviewArticleActivity@84412d0
2023-09-05 18:43:38.847 32295-32295 HyperLogUtils com.ns.yc.yccustomtext D HyperTextView----onDetachedFromWindow------
2023-09-05 18:43:39.031 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.ns.yc.yccustomtext.NewArticleActivity@9855315
2023-09-05 18:43:40.418 32295-32295 HyperLogUtils com.ns.yc.yccustomtext D HyperTextEditor----buildEditData------dataList---
2023-09-05 18:43:40.419 32295-32295 HyperLogUtils com.ns.yc.yccustomtext D HyperTextEditor---onTextChanged--文字--13--图片-1
2023-09-05 18:43:41.294 32295-32295 HyperLogUtils com.ns.yc.yccustomtext D DeletableEditText---sendKeyEvent--
2023-09-05 18:43:41.294 32295-32295 HyperLogUtils com.ns.yc.yccustomtext D DeletableEditText---sendKeyEvent--
2023-09-05 18:43:41.301 32295-32295 HyperLogUtils com.ns.yc.yccustomtext D HyperTextEditor----buildEditData------dataList---
2023-09-05 18:43:41.301 32295-32295 HyperLogUtils com.ns.yc.yccustomtext D HyperTextEditor---onTextChanged--文字--13--图片-1
2023-09-05 18:43:42.775 32295-32295 HyperLogUtils com.ns.yc.yccustomtext D HyperTextEditor----buildEditData------dataList---3
2023-09-05 18:43:42.776 32295-32295 Timeline com.ns.yc.yccustomtext I Timeline: Activity_launch_request time:272372287
2023-09-05 18:43:42.821 32295-32295 ActivityThread com.ns.yc.yccustomtext W handleWindowVisibility: no activity for token android.os.BinderProxy@981b6f4
2023-09-05 18:43:42.828 32295-32342 ViewContentFactory com.ns.yc.yccustomtext D initViewContentFetcherClass
2023-09-05 18:43:42.828 32295-32342 ContentCatcher com.ns.yc.yccustomtext I ViewContentFetcher : ViewContentFetcher
2023-09-05 18:43:42.828 32295-32342 ViewContentFactory com.ns.yc.yccustomtext D createInterceptor took 0ms
2023-09-05 18:43:42.833 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.ns.yc.yccustomtext.PreviewArticleActivity@6b16e1d
2023-09-05 18:43:42.848 32295-32295 chatty com.ns.yc.yccustomtext I uid=10202(com.ns.yc.yccustomtext) identical 9 lines
2023-09-05 18:43:42.848 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.ns.yc.yccustomtext.PreviewArticleActivity@6b16e1d
2023-09-05 18:43:42.849 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.ns.yc.yccustomtext.PreviewArticleActivity@6b16e1d
2023-09-05 18:43:42.852 32295-32295 chatty com.ns.yc.yccustomtext I uid=10202(com.ns.yc.yccustomtext) identical 2 lines
2023-09-05 18:43:42.853 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.ns.yc.yccustomtext.PreviewArticleActivity@6b16e1d
2023-09-05 18:43:42.893 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.ns.yc.yccustomtext.PreviewArticleActivity@6b16e1d
2023-09-05 18:43:42.896 32295-32295 chatty com.ns.yc.yccustomtext I uid=10202(com.ns.yc.yccustomtext) identical 2 lines
2023-09-05 18:43:42.897 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.ns.yc.yccustomtext.PreviewArticleActivity@6b16e1d
2023-09-05 18:43:42.898 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.ns.yc.yccustomtext.PreviewArticleActivity@6b16e1d
2023-09-05 18:43:43.425 32295-4815 ViewLayoutInspector com.ns.yc.yccustomtext W
java.lang.IllegalArgumentException: Surface isn't valid, source.isValid() == false
at android.view.PixelCopy.request(PixelCopy.java:181)
at com.android.tools.agent.appinspection.framework.SynchronousPixelCopy.request(SynchronousPixelCopy.java:64)
at com.android.tools.agent.appinspection.framework.ViewExtensionsKt.takeScreenshot(ViewExtensions.kt:80)
at com.android.tools.agent.appinspection.ViewLayoutInspector$registerScreenshotCallback$doCapture$1$1.run(ViewLayoutInspector.kt:472)
at com.android.tools.agent.appinspection.ViewLayoutInspector.executeCapture(ViewLayoutInspector.kt:552)
at com.android.tools.agent.appinspection.ViewLayoutInspector.access$executeCapture(ViewLayoutInspector.kt:103)
at com.android.tools.agent.appinspection.ViewLayoutInspector$startCapturing$captureExecutor$1$1.run(ViewLayoutInspector.kt:328)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
2023-09-05 18:43:44.400 32295-32295 HyperLogUtils com.ns.yc.yccustomtext D HyperTextView----onDetachedFromWindow------
2023-09-05 18:43:44.664 32295-32295 Timeline com.ns.yc.yccustomtext I Timeline: Activity_launch_request time:272374176
2023-09-05 18:43:44.683 32295-32295 ActivityThread com.ns.yc.yccustomtext W handleWindowVisibility: no activity for token android.os.BinderProxy@903ea7
2023-09-05 18:43:44.688 32295-32342 ViewContentFactory com.ns.yc.yccustomtext D initViewContentFetcherClass
2023-09-05 18:43:44.688 32295-32342 ContentCatcher com.ns.yc.yccustomtext I ViewContentFetcher : ViewContentFetcher
2023-09-05 18:43:44.688 32295-32342 ViewContentFactory com.ns.yc.yccustomtext D createInterceptor took 0ms
2023-09-05 18:43:44.690 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.zhihu.matisse.ui.MatisseActivity@cabbf54
2023-09-05 18:43:44.702 32295-32295 chatty com.ns.yc.yccustomtext I uid=10202(com.ns.yc.yccustomtext) identical 13 lines
2023-09-05 18:43:44.702 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.zhihu.matisse.ui.MatisseActivity@cabbf54
2023-09-05 18:43:44.744 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.zhihu.matisse.ui.MatisseActivity@cabbf54
2023-09-05 18:43:44.745 32295-32295 chatty com.ns.yc.yccustomtext I uid=10202(com.ns.yc.yccustomtext) identical 1 line
2023-09-05 18:43:44.745 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.zhihu.matisse.ui.MatisseActivity@cabbf54
2023-09-05 18:43:44.771 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.zhihu.matisse.ui.MatisseActivity@cabbf54
2023-09-05 18:43:44.771 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.zhihu.matisse.ui.MatisseActivity@cabbf54
2023-09-05 18:43:44.773 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.zhihu.matisse.ui.MatisseActivity@cabbf54
2023-09-05 18:43:44.775 32295-32295 chatty com.ns.yc.yccustomtext I uid=10202(com.ns.yc.yccustomtext) identical 4 lines
2023-09-05 18:43:44.777 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.zhihu.matisse.ui.MatisseActivity@cabbf54
2023-09-05 18:43:44.777 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.zhihu.matisse.ui.MatisseActivity@cabbf54
2023-09-05 18:43:44.789 32295-32295 chatty com.ns.yc.yccustomtext I uid=10202(com.ns.yc.yccustomtext) identical 34 lines
2023-09-05 18:43:44.789 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.zhihu.matisse.ui.MatisseActivity@cabbf54
2023-09-05 18:43:44.790 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.zhihu.matisse.ui.MatisseActivity@cabbf54
2023-09-05 18:43:44.790 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.zhihu.matisse.ui.MatisseActivity@cabbf54
2023-09-05 18:43:44.803 32295-32295 chatty com.ns.yc.yccustomtext I uid=10202(com.ns.yc.yccustomtext) identical 40 lines
2023-09-05 18:43:44.803 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.zhihu.matisse.ui.MatisseActivity@cabbf54
2023-09-05 18:43:45.249 32295-4973 ViewLayoutInspector com.ns.yc.yccustomtext W
java.lang.IllegalArgumentException: Surface isn't valid, source.isValid() == false
at android.view.PixelCopy.request(PixelCopy.java:181)
at com.android.tools.agent.appinspection.framework.SynchronousPixelCopy.request(SynchronousPixelCopy.java:64)
at com.android.tools.agent.appinspection.framework.ViewExtensionsKt.takeScreenshot(ViewExtensions.kt:80)
at com.android.tools.agent.appinspection.ViewLayoutInspector$registerScreenshotCallback$doCapture$1$1.run(ViewLayoutInspector.kt:472)
at com.android.tools.agent.appinspection.ViewLayoutInspector.executeCapture(ViewLayoutInspector.kt:552)
at com.android.tools.agent.appinspection.ViewLayoutInspector.access$executeCapture(ViewLayoutInspector.kt:103)
at com.android.tools.agent.appinspection.ViewLayoutInspector$startCapturing$captureExecutor$1$1.run(ViewLayoutInspector.kt:328)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
2023-09-05 18:43:48.164 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.zhihu.matisse.ui.MatisseActivity@cabbf54
2023-09-05 18:43:48.169 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.zhihu.matisse.ui.MatisseActivity@cabbf54
2023-09-05 18:43:48.189 32295-32295 Toast com.ns.yc.yccustomtext I Show toast from OpPackageName:com.ns.yc.yccustomtext, PackageName:com.ns.yc.yccustomtext
2023-09-05 18:43:48.434 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.zhihu.matisse.ui.MatisseActivity@cabbf54
2023-09-05 18:43:48.435 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.zhihu.matisse.ui.MatisseActivity@cabbf54
2023-09-05 18:43:49.515 32295-4667 HyperLogUtils com.ns.yc.yccustomtext D HyperLibUtils----getSmallBitmap---byteCount压缩前大小--null
2023-09-05 18:43:49.550 32295-4667 HyperLogUtils com.ns.yc.yccustomtext D HyperLibUtils----getSmallBitmap---byteCount压缩中大小--10108800
2023-09-05 18:43:49.602 32295-4667 HyperLogUtils com.ns.yc.yccustomtext D HyperLibUtils----getSmallBitmap---byteCount压缩后大小--10108800
2023-09-05 18:43:49.637 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.ns.yc.yccustomtext.NewArticleActivity@9855315
2023-09-05 18:43:49.643 32295-32295 System.err com.ns.yc.yccustomtext W java.lang.NoSuchFieldException: No field mCursorDrawable in class Landroid/widget/Editor; (declaration of 'android.widget.Editor' appears in /system/framework/framework.jar!classes3.dex)
2023-09-05 18:43:49.643 32295-32295 System.err com.ns.yc.yccustomtext W at java.lang.Class.getDeclaredField(Native Method)
2023-09-05 18:43:49.643 32295-32295 System.err com.ns.yc.yccustomtext W at com.ns.yc.yccustomtextlib.utils.HyperLibUtils.setCursorDrawableColor(HyperLibUtils.java:638)
2023-09-05 18:43:49.643 32295-32295 System.err com.ns.yc.yccustomtext W at com.ns.yc.yccustomtextlib.edit.view.HyperTextEditor.createEditText(HyperTextEditor.java:472)
2023-09-05 18:43:49.643 32295-32295 System.err com.ns.yc.yccustomtext W at com.ns.yc.yccustomtextlib.edit.view.HyperTextEditor.addEditTextAtIndex(HyperTextEditor.java:594)
2023-09-05 18:43:49.643 32295-32295 System.err com.ns.yc.yccustomtext W at com.ns.yc.yccustomtextlib.edit.view.HyperTextEditor.insertImage(HyperTextEditor.java:550)
2023-09-05 18:43:49.643 32295-32295 System.err com.ns.yc.yccustomtext W at com.ns.yc.yccustomtext.NewArticleActivity$15.onNext(NewArticleActivity.java:376)
2023-09-05 18:43:49.643 32295-32295 System.err com.ns.yc.yccustomtext W at com.ns.yc.yccustomtext.NewArticleActivity$15.onNext(NewArticleActivity.java:358)
2023-09-05 18:43:49.643 32295-32295 System.err com.ns.yc.yccustomtext W at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.drainNormal(ObservableObserveOn.java:201)
2023-09-05 18:43:49.643 32295-32295 System.err com.ns.yc.yccustomtext W at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.run(ObservableObserveOn.java:255)
2023-09-05 18:43:49.643 32295-32295 System.err com.ns.yc.yccustomtext W at io.reactivex.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:119)
2023-09-05 18:43:49.643 32295-32295 System.err com.ns.yc.yccustomtext W at android.os.Handler.handleCallback(Handler.java:883)
2023-09-05 18:43:49.643 32295-32295 System.err com.ns.yc.yccustomtext W at android.os.Handler.dispatchMessage(Handler.java:100)
2023-09-05 18:43:49.643 32295-32295 System.err com.ns.yc.yccustomtext W at android.os.Looper.loop(Looper.java:224)
2023-09-05 18:43:49.643 32295-32295 System.err com.ns.yc.yccustomtext W at android.app.ActivityThread.main(ActivityThread.java:7562)
2023-09-05 18:43:49.643 32295-32295 System.err com.ns.yc.yccustomtext W at java.lang.reflect.Method.invoke(Native Method)
2023-09-05 18:43:49.643 32295-32295 System.err com.ns.yc.yccustomtext W at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
2023-09-05 18:43:49.643 32295-32295 System.err com.ns.yc.yccustomtext W at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
2023-09-05 18:43:49.645 32295-4667 HyperLogUtils com.ns.yc.yccustomtext D HyperLibUtils----getSmallBitmap---byteCount压缩前大小--null
2023-09-05 18:43:49.645 32295-32295 HyperLogUtils com.ns.yc.yccustomtext D HyperTextEditor---onFocusChange--com.ns.yc.yccustomtextlib.edit.view.DeletableEditText{351802b VFED..CL. .F....I. 0,0-0,0}
2023-09-05 18:43:49.646 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.ns.yc.yccustomtext.NewArticleActivity@9855315
2023-09-05 18:43:49.647 32295-32295 chatty com.ns.yc.yccustomtext I uid=10202(com.ns.yc.yccustomtext) identical 4 lines
2023-09-05 18:43:49.648 32295-32295 ForceDarkHelper com.ns.yc.yccustomtext D updateByCheckExcludeList: pkg: com.ns.yc.yccustomtext activity: com.ns.yc.yccustomtext.NewArticleActivity@9855315
2023-09-05 18:43:49.652 32295-32295 HyperLogUtils com.ns.yc.yccustomtext D HyperTextEditor----buildEditData------dataList---
2023-09-05 18:43:49.664 32295-32295 AssistStructure com.ns.yc.yccustomtext I Flattened final assist data: 3512 bytes, containing 1 windows, 24 views
2023-09-05 18:43:49.673 32295-4667 HyperLogUtils com.ns.yc.yccustomtext D HyperLibUtils----getSmallBitmap---byteCount压缩中大小--10108800
--------- beginning of crash
2023-09-05 18:43:49.710 32295-32295 AndroidRuntime com.ns.yc.yccustomtext D Shutting down VM
2023-09-05 18:43:49.712 32295-32295 AndroidRuntime com.ns.yc.yccustomtext E FATAL EXCEPTION: main
Process: com.ns.yc.yccustomtext, PID: 32295
java.lang.ClassCastException: android.widget.RelativeLayout$LayoutParams cannot be cast to android.widget.FrameLayout$LayoutParams
at android.widget.FrameLayout.onMeasure(FrameLayout.java:195)
at android.view.View.measure(View.java:24856)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6893)
at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1552)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:842)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:721)
at android.view.View.measure(View.java:24856)
at android.widget.ScrollView.measureChildWithMargins(ScrollView.java:1414)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
at android.widget.ScrollView.onMeasure(ScrollView.java:452)
at android.view.View.measure(View.java:24856)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:995)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:721)
at android.view.View.measure(View.java:24856)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6893)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
at android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:143)
at android.view.View.measure(View.java:24856)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6893)
at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1552)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:842)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:721)
at android.view.View.measure(View.java:24856)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6893)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
at android.view.View.measure(View.java:24856)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6893)
at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1552)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:842)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:721)
at android.view.View.measure(View.java:24856)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6893)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
at com.android.internal.policy.DecorView.onMeasure(DecorView.java:775)
at android.view.View.measure(View.java:24856)
at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:3119)
at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1931)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2225)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1819)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7783)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1058)
at android.view.Choreographer.doCallbacks(Choreographer.java:865)
at android.view.Choreographer.doFrame(Choreographer.java:800)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1043)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:7562)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
2023-09-05 18:43:49.722 32295-4667 HyperLogUtils com.ns.yc.yccustomtext D HyperLibUtils----getSmallBitmap---byteCount压缩后大小--10108800
2023-09-05 18:43:49.723 32295-32295 MQSEventManagerDelegate com.ns.yc.yccustomtext E failed to get MQSService.
2023-09-05 18:43:49.729 32295-32317 System com.ns.yc.yccustomtext W A resource failed to call close.
2023-09-05 18:43:49.730 32295-32317 System com.ns.yc.yccustomtext W A resource failed to call close.
2023-09-05 18:43:49.735 32295-32295 Process com.ns.yc.yccustomtext I Sending signal. PID: 32295 SIG: 9
2023-09-05 18:43:49.785 2072-2286 InputDispatcher system_server E channel '4c2f5f9 com.ns.yc.yccustomtext/com.zhihu.matisse.ui.MatisseActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
2023-09-05 18:43:49.786 2072-2286 InputDispatcher system_server E channel 'a905196 com.ns.yc.yccustomtext/com.ns.yc.yccustomtext.NewArticleActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
2023-09-05 18:43:49.786 2072-2286 InputDispatcher system_server E channel 'b8e5183 com.ns.yc.yccustomtext/com.ns.yc.yccustomtext.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
---------------------------- PROCESS ENDED (32295) for package com.ns.yc.yccustomtext ----------------------------
---------------------------- PROCESS STARTED (5104) for package com.ns.yc.yccustomtext ----------------------------
2023-09-05 18:43:50.094 5104-5104 Perf com.ns.yc.yccustomtext I Connecting to perf service.
2023-09-05 18:43:50.103 5104-5104 FeatureParser com.ns.yc.yccustomtext I can't find perseus.xml in assets/device_features/,it may be in /system/etc/device_features
2023-09-05 18:43:50.114 5104-5104 libc com.ns.yc.yccustomtext E Access denied finding property "ro.vendor.df.effect.conflict"
2023-09-05 18:43:50.134 5104-5140 Perf com.ns.yc.yccustomtext E Fail to get file list com.ns.yc.yccustomtext
2023-09-05 18:43:50.134 5104-5140 Perf com.ns.yc.yccustomtext E getFolderSize() : Exception_1 = java.lang.NullPointerException: Attempt to get length of null array
2023-09-05 18:43:50.134 5104-5140 Perf com.ns.yc.yccustomtext E Fail to get file list com.ns.yc.yccustomtext
2023-09-05 18:43:50.134 5104-5140 Perf com.ns.yc.yccustomtext E getFolderSize() : Exception_1 = java.lang.NullPointerException: Attempt to get length of null array
2023-09-05 18:43:50.134 5104-5140 Perf com.ns.yc.yccustomtext E Fail to get file list oat
2023-09-05 18:43:50.135 5104-5140 Perf com.ns.yc.yccustomtext E getFolderSize() : Exception_1 = java.lang.NullPointerException: Attempt to get length of null array
2023-09-05 18:43:50.173 5104-5104 yc.yccustomtex com.ns.yc.yccustomtext E Invalid ID 0x00000000.

@houkhan
Copy link
Author

houkhan commented Sep 5, 2023

非必现 没找到 复现方法

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant