Im getting a ``` (TypeError) : $0.start is not a function ``` in an error

Im getting a

(TypeError) : $0.start is not a function

in an error popup when using it as

			SimpleTimer timer = new SimpleTimer(new BigDecimal("1"));
			layout.add(timer);
			timer.start();
			timer.addTimerEndEvent(ev-> Notification.show("Timer ended"));

Hello, I did a test with the shared code and didn’t get an error. Is this still an issue for you? If so, can you share what Vaadin version are you trying this? Thanks.

Hola Paola, same issue here. I’m using Vaadin 21.0.0 with Spring boot 2.5.4. Let me know if you need aditional details on the pom file or any other. Thanks

Hello, I created [this issue]
(https://github.com/FlowingCode/SimpleTimerAddon/issues/21) so we can investigate the problem. We’ll let you know if there’s any update.

Regards.

Hello, if you still have the issue please try updating the vaadin.whitelisted-packages property by adding com.flowingcode.vaadin.addons to it.

Regards.