Comments (6)
I've seen this, not investigated the cause yet. @abarth @chinmaygarde @qsr
from flutter.
Should be fixed ^^^
from flutter.
I pulled master tonight and was getting this error when I run the widgets example.
E Activity org.domokit.sky.demo.SkyDemoActivity has leaked IntentReceiver org.domokit.sky.shell.TracingController$TracingBroadcastReceiver@3445720f that was originally registered
here. Are you missing a call to unregisterReceiver()?
E android.app.IntentReceiverLeaked: Activity org.domokit.sky.demo.SkyDemoActivity has leaked IntentReceiver org.domokit.sky.shell.TracingController$TracingBroadcastReceiver@34457
20f that was originally registered here. Are you missing a call to unregisterReceiver()?
E at android.app.LoadedApk$ReceiverDispatcher.<init>(LoadedApk.java:960)
E at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:761)
E at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:2003)
E at android.app.ContextImpl.registerReceiver(ContextImpl.java:1983)
E at android.app.ContextImpl.registerReceiver(ContextImpl.java:1977)
E at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:503)
E at org.domokit.sky.shell.TracingController.<init>(TracingController.java:40)
E at org.domokit.sky.shell.SkyActivity.onCreate(SkyActivity.java:38)
E at org.domokit.sky.demo.SkyDemoActivity.onCreate(SkyDemoActivity.java:22)
E at android.app.Activity.performCreate(Activity.java:6221)
E at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
E at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2614)
E at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726)
E at android.app.ActivityThread.access$900(ActivityThread.java:172)
E at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421)
E at android.os.Handler.dispatchMessage(Handler.java:102)
E at android.os.Looper.loop(Looper.java:145)
E at android.app.ActivityThread.main(ActivityThread.java:5835)
E at java.lang.reflect.Method.invoke(Native Method)
E at java.lang.reflect.Method.invoke(Method.java:372)
E at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1388)
E at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1183)
chromium E [ERROR:dart_error.cc(20)] 'http://localhost:9888/widgets_app.dart': warning: line 20 pos 17: unbalanced '[' opens here
E children: [
E ^
E 'http://localhost:9888/widgets_app.dart': error: line 45 pos 7: unbalanced ')'
E );
from flutter.
The issue is fixed in source (which is in the https://github.com/domokit/mojo repo). We haven't published an updated version of the sky_sdk since the fix, but @eseidelGoogle is working on doing that.
from flutter.
I am seeing a crash on quit, likely related to my fix:
E/AndroidRuntime(10657): FATAL EXCEPTION: main
E/AndroidRuntime(10657): Process: org.domokit.sky.demo, PID: 10657
E/AndroidRuntime(10657): java.lang.RuntimeException: Unable to stop activity {org.domokit.sky.demo/org.domokit.sky.demo.SkyDemoActivity}: java.lang.IllegalArgumentException: Receiver not registered: org.domokit.sky.shell.TracingController$TracingBroadcastReceiver@cbb412a
E/AndroidRuntime(10657): at android.app.ActivityThread.performStopActivityInner(ActivityThread.java:3370)
E/AndroidRuntime(10657): at android.app.ActivityThread.handleStopActivity(ActivityThread.java:3416)
E/AndroidRuntime(10657): at android.app.ActivityThread.access$1100(ActivityThread.java:151)
E/AndroidRuntime(10657): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1325)
E/AndroidRuntime(10657): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(10657): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime(10657): at android.app.ActivityThread.main(ActivityThread.java:5245)
E/AndroidRuntime(10657): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(10657): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(10657): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
E/AndroidRuntime(10657): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
E/AndroidRuntime(10657): Caused by: java.lang.IllegalArgumentException: Receiver not registered: org.domokit.sky.shell.TracingController$TracingBroadcastReceiver@cbb412a
E/AndroidRuntime(10657): at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java:765)
E/AndroidRuntime(10657): at android.app.ContextImpl.unregisterReceiver(ContextImpl.java:1666)
E/AndroidRuntime(10657): at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:511)
E/AndroidRuntime(10657): at org.domokit.sky.shell.TracingController.stop(TracingController.java:43)
E/AndroidRuntime(10657): at org.domokit.sky.shell.SkyActivity.onStop(SkyActivity.java:47)
E/AndroidRuntime(10657): at android.app.Instrumentation.callActivityOnStop(Instrumentation.java:1277)
E/AndroidRuntime(10657): at android.app.Activity.performStop(Activity.java:6130)
E/AndroidRuntime(10657): at android.app.ActivityThread.performStopActivityInner(ActivityThread.java:3367)
E/AndroidRuntime(10657): ... 10 more
W/ActivityManager( 764): Force finishing activity 1 org.domokit.sky.demo/.SkyDemoActivity
from flutter.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v
and a minimal reproduction of the issue.
from flutter.
Related Issues (20)
- TextHeightBehaviour should allow more tightly-wrapped text HOT 1
- In dark mode, the CupertinoTextField cannot display text colors HOT 3
- [local_auth] Cannot attempt biometric after only registered with facial recognition for Huawei device HOT 4
- Add keyboard support for the CupertinoDatePicker
- Linux_pixel_7pro draw_atlas_perf__timeline_summary is 2.04% flaky
- flutter_markdown weird image behavior HOT 2
- [in_app_purchase] queryProductDetails returns empty product list HOT 3
- Linux android_preview_tool_integration_tests is 2.02% flaky
- Linux web_long_running_tests_1_5 is 2.02% flaky
- Inconsistent SliverAppBar behavior with scroll bar HOT 1
- Mac tool_integration_tests_3_4 is 2.02% flaky
- (flutter_markdown ) FlutterError (The provided ScrollController is currently attached to more than one ScrollPosition.) when having multiple ``` ``` blocks HOT 4
- Impeller rendering engine causing rendering issues on iOS simulators HOT 2
- [tool_crash] StateError: Bad state: Future already completed HOT 1
- [Flutter 3.19.5] `showGeneralDialog` doesn't work when `barrierDismissible: true` HOT 3
- split_config.arm64_v8a.apk!libflutter.so
- Error when reopeing the app in the emulator - E/emuglGLESv2_enc - GL2Encoder.cpp:s_glGetUniformLocation - GL error 0x502 HOT 1
- Increase in zlib compressed output length HOT 1
- [macOS] Assertion and crash with magic mouse HOT 8
- [CP] Update package:vm_service to prevent possible alignment issues when reading heap snapshots
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter.