SUMMARY: Prevent null exception if translation resources not installed. SUBMITTED BY: William Webber SUBMISSION DATE: Tue Sep 12 15:36:42 EST 2000 VERSION PATCHED: Postgresql version 7.0.2. PATCH APPLICATION: In the directory postgresql-7.0.2/src/interfaces/jdbc/org/postgresql/util, run: patch < translation.patch DESCRIPTION OF PATCH: The PSQLException class attempts to translate error messages, looking for translations in the org.postgresql.errors internationalisation resource bundle. If this bundle is not found, the result MissingResourceException is caught and ignored; when the translation with the (null) bundle is then attempted, a NullPointerException is thrown. This patch checks to see if the bundle could not be found, and in that case leaves the original error message untranslated.