Viewing the inside of a barrier causes a NullPointerException
Steps to Reproduce:
1. Place down a barrier
2. Go to /gamemode 3
3. Fly into the block, it may take a few seconds, I find the quickest way is to switch game modes.
4. Your world is now corrupt until this is fixed or until you use an external world editor.
Duplicate of MC-46408 - If you have not, please use the search function in the future, to see if your bug has already been submitted. If you could not find the original report, please comment with the keywords you searched for.