[OutSystems UI] Uncaught TypeError:  from OutsystemsUI.Calendar.js
Forge component by OutSystems R&D
Application Type
Service Studio Version
11.12.2 (Build 50367)

Hello All,

I am working on a platform composed of calendar and dashboard. 

On the calendar page the forge component FullCalendar is installed.

On the dashboard a custom made Date picker https://www.outsystems.com/forums/discussion/68784/outsystems-ui-assignment-variable-colors-for-different-events-in-oustsystemsui/

Now each time when on the calendar page you navigate to the dashboard page the following errors show:

  • Uncaught TypeError: Cannot read properties of undefined (reading '10')
  • Uncaught TypeError: Cannot read properties of undefined (reading '8')

This has initialized aprox 1 month ago.

I have tried to solve the problem using a try and catch argument in the JS of the forge components, however the error is originated from the OutSystemsUI.Calendar.js

Uncaught TypeError: Cannot read properties of undefined (reading '10')

    at renderDay (OutSystemsUI.Calendar.js?njRP5ovLnEPOY6va+XLRCA:390)

    at Pikaday.render (OutSystemsUI.Calendar.js?njRP5ovLnEPOY6va+XLRCA:1837)

    at Pikaday.draw (OutSystemsUI.Calendar.js?njRP5ovLnEPOY6va+XLRCA:1646)

    at Pikaday.adjustCalendars (OutSystemsUI.Calendar.js?njRP5ovLnEPOY6va+XLRCA:1522)

    at Pikaday.gotoDate (OutSystemsUI.Calendar.js?njRP5ovLnEPOY6va+XLRCA:1487)

    at Pikaday.setDate (OutSystemsUI.Calendar.js?njRP5ovLnEPOY6va+XLRCA:1434)

    at HTMLInputElement.Pikaday.self._onInputChange (OutSystemsUI.Calendar.js?njRP5ovLnEPOY6va+XLRCA:1038)

    at fireEvent (OutSystemsUI.Calendar.js?njRP5ovLnEPOY6va+XLRCA:177)

    at Pikaday.setDate (OutSystemsUI.Calendar.js?njRP5ovLnEPOY6va+XLRCA:1438)

    at new Pikaday (OutSystemsUI.Calendar.js?njRP5ovLnEPOY6va+XLRCA:1156)

is there a method to catch these errors because now it's blocking the whole application

Hoping somebody can help me with this issue!

Thank you in advance.



Hi @Mario Uva,

Can you please provide an example isolated with that error? I tried a simple use-case of switching between two screens with those components and couldn't replicate the issue.

Best regards,

Bernardo Cardoso

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.