Application fails when in encounters String[] or Object[] while building schema. It is missing in the scalarsRegistry in the JavaScalars class and the library tries to register it but it fails because of regexp check failure. The solution that works for our case is to add following entries to the scalarsRegistry:
scalarsRegistry.put(String[].class, new GraphQLScalarType("StringArray", "StringArray type", new GraphQLObjectCoercing()));
scalarsRegistry.put(Object[].class, new GraphQLScalarType("ObjectArray", "ObjectArray type", new GraphQLObjectCoercing()));