Problem access to read property

i have this error and i don’t know if it’s correct the blueprint that i’ve made.

i spawn the actor “BP_Rifle01” that is a child of “BP_RifleBase” that is a child of “BP_WeaponBase”.
when i construct the character i spawn the actor and then set the variable “weapon” to the return node weapon (second image - "spawn assault rifle 01).
the datatype of variable “weapon” is “BP_WeaponsBase”.
the variable “AnimationForCharacter” of blueprint child class “BP_Rifle01” is not empty and the animation “AnimMontangeInspectWeapon” have an animation selected.
i don’t know why he give me this error. because when i spawn the actor and attach to the character, it works correctly, but this animation don’t work.

Resolved!!

Can you please post your solution so others can benefit too?