15
Views
6
Comments
[CountDown Timer Reactive Library] totalseconds error in countdown timer
countdown-timer-reactive-library
Reactive icon
Forge asset by Raphael Ranieri
Application Type
Reactive
Service Studio Version
11.55.16 (Build 64072)
Platform Version
11.35.0 (Build 44992)

good day does someone encountered this? i debug it  and the error is in the inittimer

is there a way to fix this?

2023-09-07 20-35-56
Pawan Parmar

Hi @jesu verso

This error comes usually when you're trying to access a property like TotalSeconds on an object that is null or undefined .
Confirm that TotalSeconds is not null or undefined when you access this object.

Thanks  

UserImage.jpg
jesu verso

There is no totalseconds in the backend

2022-12-22 10-00-39
Beatriz Sabino

Hi jesu,

Can you share more details about how you implemented this component? 

Also did you check the Demo of the component to make sure you're using it correctly? 

UserImage.jpg
jesu verso

yes  checked the demo and the total sceonds but nope there is no backend of totalseconds

2025-07-22 10-30-27
Mandar Deshpande

Hi @jesu verso 

This usually happens when InitTimer is executed before the timer component is actually rendered in the DOM.

What can you try: 

  • Call InitTimer from OnAfterRender of the container/block but not from screen initialize.
  • Add a small delay before calling InitTimer, this gives the UI time to render.
2023-10-16 05-50-48
Shingo Lam

Its JavaScript error. In Outsytems, this error usually comes from the late loading issue. Which means the UI is not completely rendered, and the JavaScript tries to get the DOM element's attribute. In this case, it tries to get the totalSeconds attribute when the element is not rendered on UI yet.

You can add the bounce or the condition to let the screen knows when the data is ready for countdown timer to be rendered on UI

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