devtools icon indicating copy to clipboard operation
devtools copied to clipboard

Reporting error: Error collecting raster stats: _flutter.renderFrameWithRasterStats: (-32000) Failed to render the last frame with raster stats. Rasterizer does not hold a valid last layer tree. This could happen if this method was invoked before a frame was rendered

Open TRADEEQS opened this issue 1 year ago • 1 comments

Stack trace: Error at Object.qb (http://127.0.0.1:9100/main.dart.js:6165:18) at http://127.0.0.1:9100/main.dart.js:160301:5 at bDg.a (http://127.0.0.1:9100/main.dart.js:4774:62) at bDg.$2 (http://127.0.0.1:9100/main.dart.js:56680:14) at Object.m (http://127.0.0.1:9100/main.dart.js:4760:10) at za.aD6 (http://127.0.0.1:9100/main.dart.js:160315:10) at za.cb (http://127.0.0.1:9100/main.dart.js:160294:25) at za.jD (http://127.0.0.1:9100/main.dart.js:160279:13) at il.jD (http://127.0.0.1:9100/main.dart.js:88646:44) at http://127.0.0.1:9100/main.dart.js:100401:14 <-- Please describe your problem here. Be sure to include repro steps. -->


DevTools version: 2.28.5 Connected Device: CPU / OS: x64 (64 bit) android Connected app type: Flutter native (profile build) Dart Version: 3.2.6 Flutter Version: 3.16.9 / stable Framework / Engine: 41456452f2 / f40e976bed

TRADEEQS avatar Mar 27 '24 20:03 TRADEEQS

I am suddenly getting this now too. I used to be able to take raster snapshots in devtools but no longer.

Maybe related: I get this as a popup in bottom right of vscode:

Error loading webview: Error: Could not register service worker: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state..

corepuncher avatar May 11 '24 02:05 corepuncher

Duplicate of https://github.com/flutter/devtools/issues/6992

CoderDake avatar May 21 '24 17:05 CoderDake