CORE-1481 Schema.toString NPE