-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
snap-admin/src/main/java/tech/ailef/snapadmin/external/dbmapping/query/DbQueryOutputField.java
Line 125 in e9c5e52
| DbFieldType type = DbFieldType.fromClass(result.get(this).getClass()).getConstructor().newInstance(); |
Please add NullPointerException in the catch clause as follows:
try {
DbFieldType type = DbFieldType.fromClass(result.get(this).getClass()).getConstructor().newInstance();
return type.toString();
} catch (UnsupportedFieldTypeException | InstantiationException | IllegalAccessException | IllegalArgumentException | InvocationTargetException | NoSuchMethodException | SecurityException | NullPointerException e) {
return "-";
}
Metadata
Metadata
Assignees
Labels
No labels