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)
- issue found on android 13
- Flutter Web HTML render : TextAlign.justify = Lines that end with hard line breaks are not aligned towards the [start] edge
- DropdownMenu does not highlight correct selected item
- [libGLES_mali.so] /system/lib64/libEGL.so (android::eglSwapBuffersWithDamageKHRImpl(void*, void*, int*, int)+748)
- video_player: Please add support for Windows HOT 1
- Support for Google Surfaces
- [Impeller] GLES Worker upload of textures isn't thread safe.
- google_maps_flutter web displays marker on map in desktop browser, but not displays marker in mobile browser
- Inconsistent text field and button heights between web and mobile
- linux-30 lost external connection from phone device.
- mac-26 lost external connection from phone device.
- mac-27 lost external connection from phone device.
- linux-52 lost external connection from phone device.
- mac-9 lost external connection from phone device.
- linux-51 is dead.
- [Impeller] AHB swapchains on emulators are not functional. HOT 1
- DropdownMenu doesn't display selected item when clearing the search text and unfocusing HOT 3
- DropdownMenu isn't visible if it is aligned with top of keyboard HOT 1
- Create developer documention/codelab on lifecycle aware plugin creation
- mac-2 & mac-29 lost external connection from phone device.
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.