It would appear that the fill command attempts to read 'minecraft:end_portal' as a data tag when used as the block in the fill command. Everything else seems to work, just this specific block in this specific order.
Here's the command that caused the failure.
/fill ~ ~2 ~ ~2 ~2 ~2 minecraft:end_portal 0 replace minecraft:air
Environment
Java 1.8.0_25 64bit (according to the debug overlay)
Windows 10 Home
Linked issues
duplicates 1
Comments 0
No comments.