Skip to content

[WORDPRESS-ANDROID-M]: JavascriptException: TypeError: null is not an object (evaluating 'n.name') #10876

@sentry

Description

@sentry

Sentry Issue: [WORDPRESS-ANDROID-M]

Updated by @cameronvoell (2/16/20)

  • TypeError: (0,u.imageFillStyles) is not a function. - Fix Released and Verified
  • TypeError: null is not an object (evaluating 'n.name') - Fix Merged, not yet verified
  • JavascriptException undefined is not an object (evaluating 'n.classList.contains')') - Not Fixed, and No Recreation Steps

Sentry merged several unrelated issues into one. We've fixed one NPE in #9768 but it seems it's still failing on two different exceptions at least.

(https://sentry.io/share/issue/a3007e9a92e6418e95a05f5eff074cc6/)

JavascriptException: TypeError: null is not an object (evaluating 'n.name')

This error is located at:
    in p
    in WithPreferredColorScheme(p)
    in WithInstanceId(WithPreferredColorScheme(p))
    in WithDispatch(WithInstanceId(WithPreferredColorScheme(p)))
    in Unknown
    in WithSelect(WithDispatch(WithInstanceId(WithPreferredColorScheme(p))))
    in c
    in v
    in WithPreferredColorScheme(v)
    in Unknown
    in WithSelect(WithPreferredColorScheme(v))
    in RCTView
    in Unknown
    in WithPreferredColorScheme(Component)
    in p
    in AndroidHorizontalScrollContentView
    in AndroidHorizontalScrollView
    in h
    in RCTView
    in Unknown
    in WithPreferredColorScheme(Component)
    in Unknown
    in WithViewportMatch(WithPreferredColorScheme(Component))
    in WithDispatch(WithViewportMatch(WithPreferredColorScheme(Component)))
    in Unknown
    in WithSelect(WithDispatch(WithViewportMatch(WithPreferredColorScheme(Component))))
   ...
TypeError: (0,u.imageFillStyles) is not a function. (In '(0,u.imageFillStyles)(N,B)', '(0,u.imageFillStyles)' is undefined)

This error is located at:
    in c
    in WithDispatch(c)
    in Unknown
    in WithSelect(WithDispatch(c))
    in p
    in RCTView
    in RCTView
    in c, stack:
default@1585:828

cc @mkevins I'm not sure how much critical it is, could you please check it out. Feel free to keep it for groundskeeping if it's not critical of course.

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