Skip to content

TypeError null is not an object (evaluating 'd.trackingVersion') #50989

Closed

Description

@n19htz

Which @angular/* package(s) are the source of the bug?

core

Is this a regression?

Yes

Description

I can't reproduce error, but clients often getting this error:

Screenshot 2023-07-10 at 15 35 19

Please provide a link to a minimal reproduction of the bug

Please provide the exception or error you saw

TypeError
null is not an object (evaluating 'd.trackingVersion')

Please provide the environment you discovered this bug in (run ng version)

Angular CLI: 16.1.4
Node: 20.4.0 (Unsupported)
Package Manager: npm 9.8.0
OS: darwin arm64

Angular: 16.1.4
... animations, cdk, cli, common, compiler, compiler-cli, core
... forms, language-service, material, material-date-fns-adapter
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1601.4
@angular-devkit/build-angular   16.1.4
@angular-devkit/core            16.1.4
@angular-devkit/schematics      16.1.4
@schematics/angular             16.1.4
ng-packagr                      16.1.0
rxjs                            7.8.1
typescript                      5.1.6
webpack                         5.88.1

Anything else?

No response

Activity

  1. JoostK commented on Jul 10, 2023

    @JoostK
    Member

    This looks like a browser bug with the WeakRef implementation provided by the runtime. It is spec'ed to return undefined when the reference has been GC'd, not null.

    What browser (and version) is used that report these errors?

  2. added
    needs reproduction
    on Jul 10, 2023
  3. n19htz commented on Jul 10, 2023

    @n19htz
    Author

    What browser (and version) is used that report these errors?

    photo_2023-07-10 16 07 42

    This is latest error. All these errors occur in safari 15+, 16+

  4. elgreco247 commented on Jul 10, 2023

    @elgreco247

    Safari bug apparently was fixed with version 16.1: WebKit/WebKit@44c15ba

  5. added and removed
    needs reproduction
    on Jul 11, 2023
  6. added a commit that references this issue on Jul 11, 2023
    c65913e
  7. added a commit that references this issue on Jul 26, 2023
    fec2ab1
  8. angular-automatic-lock-bot commented on Aug 11, 2023

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  9. locked and limited conversation to collaborators on Aug 11, 2023
  10. added a commit that references this issue on Jan 23, 2024
    d699cf8
  11. added a commit that references this issue on Jun 6, 2024
    5d6ec03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions