=== modified file 'src/com/goldencode/p2j/persist/FQLPreprocessor.java'
--- old/src/com/goldencode/p2j/persist/FQLPreprocessor.java	2024-10-16 12:44:05 +0000
+++ new/src/com/goldencode/p2j/persist/FQLPreprocessor.java	2024-10-18 06:23:39 +0000
@@ -340,6 +340,8 @@
 **     TJD 20240103          Include EQ RECID into earlyPublishEntities
 ** 114 SP  20241002          Fixed fixEmptyContains(): call trim() before checking if the text is empty.
 ** 115 SP  20241016          Added caching of translate() output.
+** 116 SP  20241018          If the where clause is null in translate(), just exit and return null,
+**                           as there is nothing to translate or cache.
 */
 
 /*
@@ -1081,12 +1083,16 @@
                            String where,
                            boolean singleBuffer)
    {
-      if (bound.size() != 1)
+      if (where == null)
+      {
+         return null;
+      }
+
+      int bounds = bound.size();
+      if (bounds != 1)
       {
          singleBuffer = false;
       }
-
-      int bounds = bound.size();
       String[] boundAliases = new String[bounds];
       String[] defAliases = new String[bounds];
 

