I try this following commands:
/summon minecraft:wolf ~ ~1 ~ {Tags:["noai"]}
and after:
/execute @e[tag=noai] ~ ~ ~ /entitydata @e[tag=noai,r=0] ~ ~ ~ {NoAI:1b}
And it returns:
[01:02:58] Failed to execute '/entitydata @e[tag=noai,r=0] ~ ~ ~ {NoAI:1b}' as Wolf
It's same with NoAI:1 (without "b").