search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Cannot read properties of null (reading 'data') - on Event mouseover

Asked by Julien
20 days ago.

I don’t know if there is a way for me to give you more information because I don’t think you are providing the source code (and sourcemaps for Typescript) in the NPM package of the pro version, right? That would be very nice, by the way.

But I get this error on a Calendar, when mouseovering on a specific Event, and I’m not sure why:

Uncaught TypeError TypeError: Cannot read properties of null (reading 'data')
    at kh (/home/julien/dev/xxxxxxx/node_modules/daypilot-pro-javascript/daypilot-javascript.min.js:19:3666)
    at getDiv (/home/julien/dev/xxxxxxx/node_modules/daypilot-pro-javascript/daypilot-javascript.min.js:14:22351)
    at show (/home/julien/dev/xxxxxxx/node_modules/daypilot-pro-javascript/daypilot-javascript.min.js:14:18914)
    at <anonymous> (/home/julien/dev/xxxxxxx/node_modules/daypilot-pro-javascript/daypilot-javascript.min.js:14:25208)
    --- setTimeout ---
    at showOnMouseOver (/home/julien/dev/xxxxxxx/node_modules/daypilot-pro-javascript/daypilot-javascript.min.js:14:25267)
    at showEvent (/home/julien/dev/xxxxxxx/node_modules/daypilot-pro-javascript/daypilot-javascript.min.js:14:17269)
    at Ve (/home/julien/dev/xxxxxxx/node_modules/daypilot-pro-javascript/daypilot-javascript.min.js:18:28263)


Version used (sandbox): https://npm.daypilot.org/daypilot-pro-javascript/trial/2025.4.6751.tar.gz

It’s not very bad since it still works great, but in case you have any idea.

Thank you!

Answer posted by Dan Letecky [DayPilot]
19 days ago.

This happens when the bubble can’t find the source event element properly. There are now additional checks added to the bubble popup logic so you shouldn’t see this error anymore in the latest sandbox build (2025.4.6765).

Please let me know if the problem persists.

Comment posted by Julien
18 days ago.

Thank you.

New Reply
This reply is
Attachments:
or drop files here
Your name (optional):