StatelessPendulum not working

I am just testing the following environment:

For this reason I have just made the following notebook:

and I am getting null value as reward.
It seems only a list of actions can be used.
Similar notebook with SatelessCartPole is working perfectly:

What could be the reason?