Fixed nullshape indexing

The current shape builders allow parsing `null` shapes but if these values get indexed a parsing exception (nullpointer) is thrown. This commit catches the actual `null` shape and ignored any field creation.

Closes #3310