You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running with windows works perfectly, but when switching to chrome this appears
Restarted application in 231ms.
══╡ EXCEPTION CAUGHT BY SCHEDULER LIBRARY ╞═════════════════════════════════════════════════════════
The following assertion was thrown during a scheduler callback:
Assertion failed: "Cannot render platform views: 0. These views have not been created, or they have
been deleted."
When the exception was thrown, this was the stack:
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 251:49 throw_
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/canvaskit/embedded_views.dart 555:9 submitFrame
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/canvaskit/rasterizer.dart 36:33 draw
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/platform_dispatcher.dart 586:7 render
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/ui/window.dart 104:50 render
packages/flutter/src/rendering/view.dart 231:15 compositeFrame
packages/flutter/src/rendering/binding.dart 508:18 drawFrame
packages/flutter/src/widgets/binding.dart 892:13 drawFrame
packages/flutter/src/rendering/binding.dart 370:5 [_handlePersistentFrameCallback]
packages/flutter/src/scheduler/binding.dart 1146:15 [_invokeFrameCallback]
packages/flutter/src/scheduler/binding.dart 1083:9 handleDrawFrame
packages/flutter/src/scheduler/binding.dart 997:5 [_handleDrawFrame]
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/platform_dispatcher.dart 1090:13 invoke
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/platform_dispatcher.dart 160:5 invokeOnDrawFrame
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/initialization.dart 194:45 <fn>
════════════════════════════════════════════════════════════════════════════════════════════════════
Another exception was thrown: Cannot get renderObject of inactive element.
Another exception was thrown: Cannot get renderObject of inactive element.
Another exception was thrown: Cannot get renderObject of inactive element.
Another exception was thrown: Cannot get renderObject of inactive element.
Another exception was thrown: Cannot get renderObject of inactive element.
Another exception was thrown: Cannot get renderObject of inactive element.
Another exception was thrown: Cannot get renderObject of inactive element.
Another exception was thrown: Cannot get renderObject of inactive element.
Another exception was thrown: Cannot get renderObject of inactive element.
Another exception was thrown: Cannot get renderObject of inactive element.
Another exception was thrown: Assertion failed: "Cannot render platform views: 0. These views have not been created, or they have been deleted."
Another exception was thrown: Cannot get renderObject of inactive element.
Another exception was thrown: Cannot get renderObject of inactive element.
Another exception was thrown: Assertion failed: "Cannot render platform views: 0. These views have not been created, or they have been deleted."
Another exception was thrown: Assertion failed: "Cannot render platform views: 0. These views have not been created, or they have been deleted."
Error: Unexpected null value.
at Object.throw_ [as throw] (http://localhost:51643/dart_sdk.js:5080:11)
at Object.nullCheck (http://localhost:51643/dart_sdk.js:5399:30)
at http://localhost:51643/packages/easy_web_view/src/platforms/web.dart.lib.js:162:19
at http://localhost:51643/dart_sdk.js:172648:63
at IdentityMap.new.putIfAbsent (http://localhost:51643/dart_sdk.js:28154:21)
at _engine.PlatformViewManager.new.renderContent (http://localhost:51643/dart_sdk.js:172627:44)
at [_createPlatformView] (http://localhost:51643/dart_sdk.js:172765:43)
at _engine.PlatformViewMessageHandler.new.handlePlatformViewCall (http://localhost:51643/dart_sdk.js:172781:38)
at [_sendPlatformMessage] (http://localhost:51643/dart_sdk.js:172134:63)
at _engine.EnginePlatformDispatcher.__.sendPlatformMessage (http://localhost:51643/dart_sdk.js:171971:33)
at _DefaultBinaryMessenger.send (http://localhost:51643/packages/flutter/src/services/restoration.dart.lib.js:6127:38)
at MethodChannel._invokeMethod (http://localhost:51643/packages/flutter/src/services/restoration.dart.lib.js:1562:50)
at _invokeMethod.next (<anonymous>)
at runBody (http://localhost:51643/dart_sdk.js:40660:34)
at Object._async [as async] (http://localhost:51643/dart_sdk.js:40691:7)
at [_invokeMethod] (http://localhost:51643/packages/flutter/src/services/restoration.dart.lib.js:1560:20)
at MethodChannel.invokeMethod (http://localhost:51643/packages/flutter/src/services/restoration.dart.lib.js:1573:33)
at platform_view$._HtmlElementViewController.new._initialize (http://localhost:51643/packages/flutter/src/widgets/platform_view.dart.lib.js:517:61)
at _initialize.next (<anonymous>)
at runBody (http://localhost:51643/dart_sdk.js:40660:34)
at Object._async [as async] (http://localhost:51643/dart_sdk.js:40691:7)
at [_initialize] (http://localhost:51643/packages/flutter/src/widgets/platform_view.dart.lib.js:515:20)
at [_createHtmlElementView] (http://localhost:51643/packages/flutter/src/widgets/platform_view.dart.lib.js:466:30)
at [_initialize] (http://localhost:51643/packages/flutter/src/widgets/platform_view.dart.lib.js:1108:118)
at platform_view$._PlatformViewLinkState.new.initState (http://localhost:51643/packages/flutter/src/widgets/platform_view.dart.lib.js:1090:24)
at [_firstBuild] (http://localhost:51643/packages/flutter/src/widgets/title.dart.lib.js:53943:54)
at framework.StatefulElement.new.mount (http://localhost:51643/packages/flutter/src/widgets/title.dart.lib.js:25374:26)
at framework.StatelessElement.new.inflateWidget (http://localhost:51643/packages/flutter/src/widgets/title.dart.lib.js:21049:18)
at framework.StatelessElement.new.updateChild (http://localhost:51643/packages/flutter/src/widgets/title.dart.lib.js:20898:25)
at framework.StatelessElement.new.performRebuild (http://localhost:51643/packages/flutter/src/widgets/title.dart.lib.js:25411:31)
at framework.StatelessElement.new.rebuild (http://localhost:51643/packages/flutter/src/widgets/title.dart.lib.js:21410:12)
at [_firstBuild] (http://localhost:51643/packages/flutter/src/widgets/title.dart.lib.js:25378:12)
at framework.StatelessElement.new.mount (http://localhost:51643/packages/flutter/src/widgets/title.dart.lib.js:25374:26)
at framework.SingleChildRenderObjectElement.new.inflateWidget (http://localhost:51643/packages/flutter/src/widgets/title.dart.lib.js:21049:18)
at framework.SingleChildRenderObjectElement.new.updateChild (http://localhost:51643/packages/flutter/src/widgets/title.dart.lib.js:20898:25)
at framework.SingleChildRenderObjectElement.new.mount (http://localhost:51643/packages/flutter/src/widgets/title.dart.lib.js:34783:29)
at framework.SingleChildRenderObjectElement.new.inflateWidget (http://localhost:51643/packages/flutter/src/widgets/title.dart.lib.js:21049:18)
at framework.SingleChildRenderObjectElement.new.updateChild (http://localhost:51643/packages/flutter/src/widgets/title.dart.lib.js:20898:25)
at framework.SingleChildRenderObjectElement.new.mount (http://localhost:51643/packages/flutter/src/widgets/title.dart.lib.js:34783:29)
at framework.SingleChildRenderObjectElement.new.inflateWidget (http://localhost:51643/packages/flutter/src/widgets/title.dart.lib.js:21049:18)
at framework.SingleChildRenderObjectElement.new.updateChild (http://localhost:51643/packages/flutter/src/widgets/title.dart.lib.js:20898:25)
at framework.SingleChildRenderObjectElement.new.mount (http://localhost:51643/packages/flutter/src/widgets/title.dart.lib.js:34783:29)
at _LayoutBuilderElement.new.inflateWidget (http://localhost:51643/packages/flutter/src/widgets/title.dart.lib.js:21049:18)
at _LayoutBuilderElement.new.updateChild (http://localhost:51643/packages/flutter/src/widgets/title.dart.lib.js:20898:25)
at layoutCallback (http://localhost:51643/packages/flutter/src/widgets/layout_builder.dart.lib.js:147:33)
at framework.BuildOwner.new.buildScope (http://localhost:51643/packages/flutter/src/widgets/title.dart.lib.js:53359:13)
at [_layout] (http://localhost:51643/packages/flutter/src/widgets/layout_builder.dart.lib.js:164:36)
at http://localhost:51643/packages/flutter/src/rendering/layer.dart.lib.js:3313:11
at [_enableMutationsToDirtySubtrees] (http://localhost:51643/packages/flutter/src/rendering/layer.dart.lib.js:6230:9)
at layout_builder._RenderLayoutBuilder.new.invokeLayoutCallback (http://localhost:51643/packages/flutter/src/rendering/layer.dart.lib.js:3312:68)
at layout_builder._RenderLayoutBuilder.new.rebuildIfNecessary (http://localhost:51643/packages/flutter/src/widgets/layout_builder.dart.lib.js:253:16)
at layout_builder._RenderLayoutBuilder.new.performLayout (http://localhost:51643/packages/flutter/src/widgets/layout_builder.dart.lib.js:355:12)
at layout_builder._RenderLayoutBuilder.new.layout (http://localhost:51643/packages/flutter/src/rendering/layer.dart.lib.js:3277:14)
at proxy_box.RenderConstrainedBox.new.performLayout (http://localhost:51643/packages/flutter/src/rendering/proxy_box.dart.lib.js:614:36)
at proxy_box.RenderConstrainedBox.new.layout (http://localhost:51643/packages/flutter/src/rendering/layer.dart.lib.js:3277:14)
at layoutChild (http://localhost:51643/packages/flutter/src/rendering/layout_helper.dart.lib.js:22:13)
at [_computeSize] (http://localhost:51643/packages/flutter/src/rendering/stack.dart.lib.js:555:27)
at stack.RenderStack.new.performLayout (http://localhost:51643/packages/flutter/src/rendering/stack.dart.lib.js:575:37)
at stack.RenderStack.new.layout (http://localhost:51643/packages/flutter/src/rendering/layer.dart.lib.js:3277:14)
at proxy_box.RenderPointerListener.new.performLayout (http://localhost:51643/packages/flutter/src/rendering/proxy_box.dart.lib.js:426:38)
at proxy_box.RenderPointerListener.new.layout (http://localhost:51643/packages/flutter/src/rendering/layer.dart.lib.js:3277:14)
at proxy_box.RenderSemanticsGestureHandler.new.performLayout (http://localhost:51643/packages/flutter/src/rendering/proxy_box.dart.lib.js:426:38)
at proxy_box.RenderSemanticsGestureHandler.new.layout (http://localhost:51643/packages/flutter/src/rendering/layer.dart.lib.js:3277:14)
at RenderStack.layoutPositionedChild (http://localhost:51643/packages/flutter/src/rendering/stack.dart.lib.js:493:13)
at stack.RenderStack.new.performLayout (http://localhost:51643/packages/flutter/src/rendering/stack.dart.lib.js:583:56)
at stack.RenderStack.new.layout (http://localhost:51643/packages/flutter/src/rendering/layer.dart.lib.js:3277:14)
at scaffold$._ScaffoldLayout.new.layoutChild (http://localhost:51643/packages/flutter/src/rendering/custom_layout.dart.lib.js:99:29)
at scaffold$._ScaffoldLayout.new.performLayout (http://localhost:51643/packages/flutter/src/material/icon_button.dart.lib.js:47064:14)
at [_callPerformLayout] (http://localhost:51643/packages/flutter/src/rendering/custom_layout.dart.lib.js:146:14)
at custom_layout.RenderCustomMultiChildLayoutBox.new.performLayout (http://localhost:51643/packages/flutter/src/rendering/custom_layout.dart.lib.js:276:40)
at [_layoutWithoutResize] (http://localhost:51643/packages/flutter/src/rendering/layer.dart.lib.js:3157:14)
at object$.PipelineOwner.new.flushLayout (http://localhost:51643/packages/flutter/src/rendering/layer.dart.lib.js:6208:96)
at binding$5.WidgetsFlutterBinding.new.drawFrame (http://localhost:51643/packages/flutter/src/rendering/layer.dart.lib.js:5507:26)
at binding$5.WidgetsFlutterBinding.new.drawFrame (http://localhost:51643/packages/flutter/src/widgets/title.dart.lib.js:56093:15)
at [_handlePersistentFrameCallback] (http://localhost:51643/packages/flutter/src/rendering/layer.dart.lib.js:5472:12)
at [_invokeFrameCallback] (http://localhost:51643/packages/flutter/src/scheduler/binding.dart.lib.js:736:9)
at binding$5.WidgetsFlutterBinding.new.handleDrawFrame (http://localhost:51643/packages/flutter/src/scheduler/binding.dart.lib.js:707:37)
at [_handleDrawFrame] (http://localhost:51643/packages/flutter/src/scheduler/binding.dart.lib.js:660:12)
at Object.invoke (http://localhost:51643/dart_sdk.js:191736:7)
at _engine.EnginePlatformDispatcher.__.invokeOnDrawFrame (http://localhost:51643/dart_sdk.js:171933:15)
at http://localhost:51643/dart_sdk.js:191477:57
Another exception was thrown: Assertion failed: "Cannot render platform views: 0. These views have not been created, or they have been deleted."
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Trying to show html page in flutter container with this code
Running with windows works perfectly, but when switching to chrome this appears
Beta Was this translation helpful? Give feedback.
All reactions