avoided null point exception

schema value in the Table annotation is optional 
but getSchema method is allowed null value(this is confused)