Avoid NPE on null value for custom-type PVS

This commit is contained in:
2024-03-19 20:01:08 -05:00
parent 24b1daa110
commit 8afbbfb4da

View File

@ -370,6 +370,14 @@ public class QPossibleValueTranslator
*******************************************************************************/
private String translatePossibleValueCustom(Serializable value, QPossibleValueSource possibleValueSource)
{
/////////////////////////////////
// null input gets null output //
/////////////////////////////////
if(value == null)
{
return (null);
}
try
{
QCustomPossibleValueProvider customPossibleValueProvider = QCodeLoader.getCustomPossibleValueProvider(possibleValueSource);