fix: fixed NPE and close #I8UTJC

This commit is contained in:
michael 2024-01-09 17:19:00 +08:00
parent 3ab5230d58
commit ff915cc5bb

View File

@ -149,7 +149,9 @@ public class ColumnInfo {
if (configuration == null) {
configuration = FlexGlobalConfig.getDefaultConfig().getConfiguration();
}
buildTypeHandler = configuration.getTypeHandlerRegistry().getTypeHandler(propertyType);
if (configuration != null) {
buildTypeHandler = configuration.getTypeHandlerRegistry().getTypeHandler(propertyType);
}
}
return buildTypeHandler;