Skip to content

Error in DocumentCache #5303

Closed
Closed

Description

@DanTup

I saw this while testing #5302, running the test file.

[7:36:33 PM] [General] [Error] Cannot read properties of undefined (reading 'endsWith')
TypeError: Cannot read properties of undefined (reading 'endsWith')
	at uriComparisonString (d:\Dev\Dart-Code\Dart-Code\out\dist\extension.js:29682:45)
	at DocumentCache.key (d:\Dev\Dart-Code\Dart-Code\out\dist\extension.js:29444:45)
	at DocumentCache.get (d:\Dev\Dart-Code\Dart-Code\out\dist\extension.js:29411:35)
	at LspFileTracker.getOutlineFor (d:\Dev\Dart-Code\Dart-Code\out\dist\extension.js:6050:30)
	at TestSessionCoordinator.captureTestOutlne (d:\Dev\Dart-Code\Dart-Code\out\dist\extension.js:28115:43)
	at TestSessionCoordinator.handleSuiteNotification (d:\Dev\Dart-Code\Dart-Code\out\dist\extension.js:28110:14)
	at TestSessionCoordinator.handleNotification (d:\Dev\Dart-Code\Dart-Code\out\dist\extension.js:28079:22)
	at TestSessionCoordinator.handleDebugSessionCustomEvent (d:\Dev\Dart-Code\Dart-Code\out\dist\extension.js:28044:23)
	at d:\Dev\Dart-Code\Dart-Code\out\dist\extension.js:14103:117
	at gh.value (file:///c:/Users/da…

Activity

  1. added
    in testingRelates to test execution of Dart/Flutter tests for end users
    on Oct 7, 2024
  2. added this to the v3.100.0 milestone on Oct 7, 2024
  3. added a commit that references this issue on Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in testingRelates to test execution of Dart/Flutter tests for end usersis bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions