devtools icon indicating copy to clipboard operation
devtools copied to clipboard

NPE when profiling analyzer

Open scheglov opened this issue 8 months ago • 2 comments

Run dart --observe:5001 /Users/scheglov/Source/Dart/sdk.git/sdk/pkg/analyzer_cli/bin/analyzer.dart /Users/scheglov/Source/Dart/sdk.git/sdk/pkg/analyzer_cli/bin/analyzer.dart

:5001/HBaRonn3Gdo=/devtools/?uri=ws://127.0.0.1:5001/HBaRonn3Gdo=/ws:1 Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.
flutter_bootstrap.js:121 Attempting to load DevTools with canvaskit renderer.
js_util_patch.dart:81 Server HTTP API is available, using server for storage.
js_util_patch.dart:81 Version: 2.46.0-dev.0, Renderer: canvaskit
js_util_patch.dart:81 Successfully connected to DTD at: ws://127.0.0.1:52838/xcb9wNTNUXs=
js_util_patch.dart:81 DevTools log level changed to INFO
cK5 @ js_util_patch.dart:81
js_util_patch.dart:81 Attempted to call extension 'ext.flutter.inspector.structuredErrors', but no service with that name exists
js_util_patch.dart:81 readyToResume: (106) Isolate must be paused
cK5 @ js_util_patch.dart:81
js_util_patch.dart:81 Could not time async operation "cpuProfileProcessingTime" because an exception was thrown:
Null check operator used on a null value
TypeError: Cannot read properties of undefined (reading 'd')
    at bQV.$2$current$parent (http://127.0.0.1:5001/HBaRonn3Gdo=/devtools/main.dart.js:92256:23)
    at bQV.$2$current$parent (http://127.0.0.1:5001/HBaRonn3Gdo=/devtools/main.dart.js:92259:83)
    at bQV.$2$current$parent (http://127.0.0.1:5001/HBaRonn3Gdo=/devtools/main.dart.js:92259:83)
    at bQV.$2$current$parent (http://127.0.0.1:5001/HBaRonn3Gdo=/devtools/main.dart.js:92259:83)
    at bQV.$2$current$parent (http://127.0.0.1:5001/HBaRonn3Gdo=/devtools/main.dart.js:92259:83)
    at bQV.$2$current$parent (http://127.0.0.1:5001/HBaRonn3Gdo=/devtools/main.dart.js:92259:83)
    at bQV.$2$current$parent (http://127.0.0.1:5001/HBaRonn3Gdo=/devtools/main.dart.js:92259:83)
    at bQV.$2$current$parent (http://127.0.0.1:5001/HBaRonn3Gdo=/devtools/main.dart.js:92259:83)
    at bQV.$2$current$parent (http://127.0.0.1:5001/HBaRonn3Gdo=/devtools/main.dart.js:92259:83)
    at bQV.$2$current$parent (http://127.0.0.1:5001/HBaRonn3Gdo=/devtools/main.dart.js:92259:83)
cK5 @ js_util_patch.dart:81
core_patch.dart:296 Uncaught Error: Null check operator used on a null value
    at bQV.$2$current$parent (cpu_profile_model.dart:1274:39)
    at bQV.$2$current$parent (cpu_profile_model.dart:1385:9)
    at bQV.$2$current$parent (cpu_profile_model.dart:1385:9)
    at bQV.$2$current$parent (cpu_profile_model.dart:1385:9)
    at bQV.$2$current$parent (cpu_profile_model.dart:1385:9)
    at bQV.$2$current$parent (cpu_profile_model.dart:1385:9)
    at bQV.$2$current$parent (cpu_profile_model.dart:1385:9)
    at bQV.$2$current$parent (cpu_profile_model.dart:1385:9)
    at bQV.$2$current$parent (cpu_profile_model.dart:1385:9)
    at bQV.$2$current$parent (cpu_profile_model.dart:1385:9)
js_util_patch.dart:81 [zoneGuarded]: Null check operator used on a null value
../../../lib/src/screens/profiler/cpu_profile_model.dart 1274:39  _extension#0|generateStackFramesJson.processStackFrame
../../../lib/src/screens/profiler/cpu_profile_model.dart 1385:9   _extension#0|generateStackFramesJson.processStackFrame
../../../lib/src/screens/profiler/cpu_profile_model.dart 1385:9   _extension#0|generateStackFramesJson.processStackFrame
../../../lib/src/screens/profiler/cpu_profile_model.dart 1385:9   _extension#0|generateStackFramesJson.processStackFrame
../../../lib/src/screens/profiler/cpu_profile_model.dart 1385:9   _extension#0|generateStackFramesJson.processStackFrame
../../../lib/src/screens/profiler/cpu_profile_model.dart 1385:9   _extension#0|generateStackFramesJson.processStackFrame
../../../lib/src/screens/profiler/cpu_profile_model.dart 1385:9   _extension#0|generateStackFramesJson.processStackFrame
../../../lib/src/screens/profiler/cpu_profile_model.dart 1385:9   _extension#0|generateStackFramesJson.processStackFrame
../../../lib/src/screens/profiler/cpu_profile_model.dart 1385:9   _extension#0|generateStackFramesJson.processStackFrame
../../../lib/src/screens/profiler/cpu_profile_model.dart 1385:9   _extension#0|generateStackFramesJson.processStackFrame

cK5 @ js_util_patch.dart:81

                
          
          
          
         Chrome is moving towards a new experience that allows users to choose to browse without third-party cookies.

scheglov avatar May 06 '25 21:05 scheglov

Image

scheglov avatar May 06 '25 21:05 scheglov

@bkonyi @derekxu16

kenzieschmoll avatar May 06 '25 23:05 kenzieschmoll