Saving data in Processing

Thanks @MiguelSanches , it helped. The previous error message is gone, but I am getting a new error message.

Error, disabling serialEvent() for COM3 null

Could you please help with that?