java.lang.NullPointerException while choosing Text/Numeric Facet option for a column

When I am choosing Text Facet option for a column, it is showing java.lang.NullPointerException.
How to resolve this?

Where is it showing this? Can you give a screenshot?