AttributionError Cedrus response box

OS : Win10
PsychoPy version : 2023.2.2

Hi there

I am trying to use my Cedrus RB-540 response box (or response pad) with the simpliest experiment.

There are three trials. In each trial, there is a text. The text is 1, 2, and 3, respectively.
There is also a response component, which is Cedrus.

I did not write any duration in text or cedrus. I just want to end routine when I press any of the buttons. But after I see 1 and press a button, I am getting an error. I also added durations, but error remained.

Here is the error:

AttributeError: ‘NoneType’ object has no attribute ‘duration’
################ Experiment ended with exit code 1 [pid:13868] #################

I hope someone can help me