check to make sure that SI is enabled.  secondaryIndexColumn could be null.  throw an Exception if you request one with no SI