Agenda Fatal Error - `TypeError - undefined is not an object (evaluating 'this[0][methodName]')`
See original GitHub issueDescription
Upon opening an Agenda, there’s an intermittent fatal error that happens one out of every four or five times coming from the xdate
package. This started occuring after I upgraded RN to 0.68. Seems to be a race condition since it doesn’t happen every time.
Expected Behavior
Agenda opens without a fatal error causing an app crash.
Observed Behavior
Fatal error is thrown causing app crash.
Error (Fatal): 'TypeError - undefined is not an object (evaluating 'this[0][methodName]')
Environment
react-native-calendars: ^1.1288.1 (however, downgrading to 1.286.0 did not fix this issue. react-native: 0.68 device: macOS Monterey 12.5 Xcode simulator
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:5
Top Results From Across the Web
TypeError: undefined is not an object (evaluating 'this.text')
Let me know if it works, if not, point in the code where exactly is the error being thrown. For more information about...
Read more >590375 - Chrome for iOS: TypeError: undefined is not an ...
Issue 590375: Chrome for iOS: TypeError: undefined is not an object (evaluating '__gCrWeb.autofill.extractForms'). Reported by schedule ejsa.
Read more >receiving [TypeError: undefined is not an object (evaluating ...
I have a user input screen (AddTrack.js), in which I'm using the useState hook to capture input values. Have been trying to use...
Read more >Accessing Outlook with error "TypeError: undefined is not an
err: TypeError: undefined is not an object (evaluating 'Owa.mail. ... I have the same problem, but did not turn on the "Beta" version....
Read more >undefined is not an object (evaluating 'response.data')
But I always get this error when submiting a form. Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'response.data').
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I had the same issue, but I think this might be fixed in 1.1289.0.
It used to happen consistently for a specific course of actions for me and not it doesn’t. Could be related to one of the CalendarList fixed that are mentioned in the changelog.
Similar issue with the component ExpandableCalendar
TypeError: undefined is not an object (evaluating 'd['get' + (useUTC ? 'UTC' : '') + methodSubjects[fieldIndex]]')
I am using it with Expo SDK 46