Fatal Exception on event adding
See original GitHub issueMy application stop working when I try to add new event into calendar.
Here call example:
RNCalendarEvents.saveEvent('Test', {
location: 'New York, United States',
startTime: '2017-03-29T10:30:00.000Z',
endTime: '2017-03-29T11:30:00.000Z',
description: 'Test description'
});
Here the exception description from logcat:
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.getLastPathSegment()' on a null object reference
at com.calendarevents.CalendarEvents.addEvent(CalendarEvents.java:308)
at com.calendarevents.CalendarEvents$2.run(CalendarEvents.java:510)
at java.lang.Thread.run(Thread.java:818)
Library version: 1.3.6 React Native: 0.42
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
Adding New Event shows "Fatal Error" · Issue #1368 - GitHub
I have noticed that this is due to the usage of "CakeText" class in the new MISP env, and if I change this...
Read more >Fatal Exception: java.lang.IllegalStateException no event ...
Didn't solve for me, I am calling activity. recreate() method and got that error.
Read more >Fatal Error due to conflict with the Events Calendar plugin
After updating the Events Calendar plugin to version 5.0, and when viewing a single event, a fatal error occurs due to the conflict...
Read more >Insert Event method, Fatal Error : Uncaught exception ...
Hello,. I'm using the Google Calendar API to create a new event for exemple to remember the date of NBA Basketball games.
Read more >What to do if I see 'Fatal Error'? - Modern Events Calendar ...
Fatal Error can happen if you are using multiple plugins at the same time. They may interfere with one another. You can resolve...
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 FreeTop 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
Top GitHub Comments
@qmegas, for date formatting you can do something like this:
Not very clean, though. I will try to develop a better way to handle various date formats.
Yes it does @wmcmahan. Thanks so much