When grease pencil has no actions (ale->adt), id data block channel is still added due to `ANIMFILTER_ANIMDATA`. This would lead to crash if operator is accessing the AnimData (ale->adt). To fix this, make sure adt exists before creating an animchannel. Pull Request: https://projects.blender.org/blender/blender/pulls/128841