0 Replies Latest reply on Mar 23, 2018 9:23 AM by thommy74

    (JE 7.5.11) DatabaseException producing NPE after deserialization

    thommy74

      Hi,

      after serializing and deserializing a DatabaseException, calling getMessage on the exception seems to produce a NullPointerException:

       

      java.lang.NullPointerException

      at com.sleepycat.je.DatabaseException.getMessage(DatabaseException.java:156)

      at java.base/java.lang.Throwable.getLocalizedMessage(Throwable.java:396)

      at java.base/java.lang.Throwable.toString(Throwable.java:485)

      at java.base/java.lang.String.valueOf(String.java:2801)

      at java.base/java.lang.StringBuilder.append(StringBuilder.java:135)

       

      Kind regards

      Thomas