Giter VIP home page Giter VIP logo

Comments (6)

eseidelGoogle avatar eseidelGoogle commented on April 28, 2024

I've seen this, not investigated the cause yet. @abarth @chinmaygarde @qsr

from flutter.

abarth avatar abarth commented on April 28, 2024

Should be fixed ^^^

from flutter.

ScottPierce avatar ScottPierce commented on April 28, 2024

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.

abarth avatar abarth commented on April 28, 2024

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.

eseidelGoogle avatar eseidelGoogle commented on April 28, 2024

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.

github-actions avatar github-actions commented on April 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.