TypeError: e is null

Hello,

I am currently working on updating a form we use annually for data collection. I uploaded a copy of the form and noticed that our pull data function appears to not be able to access the media file it is pulling from.

I have double checked that the media is analogues (also tried a cloned last years form with last years data and that did not work as well) to prior year forms. The column names and pulldata functions are the same as in prior years when the form worked. The error when viewing the form is " TypeError: e is null".

I have also uploaded the form to ODK - XLSForm Online and it provided no errors or issue for the xlsx form attached.

I am a new user so I cannot embed any media or files.

Thank you!!

Welcome to the community, @Soren! Could you kindly share with the community a screenshot of your error message so that the community should be able to understand it pictorially and help you out?

If you clone (or create) a project/form, you need to add the media files there again.

1 Like

Hi @Kal_Lam

Here it the error in Firefox, in Chrome the error is slightly different TypeError: Cannot read properties of null (reading ‘dataset’):

Here is a screenshot of the group I believe the issue is coming from, specifically pulldata(‘plotIdsAll’,‘plot_type’,‘name’,${PlotID}):

Here is uploaded media file top for the file plotIdsAll.csv:

I can provide more info if needed.

Thank you for the help!

Did you check the form with the Online validator, please?
Could you try to temporarily change the hidden types to calculate?