diff --git a/org.adempiere.base/src/org/adempiere/base/event/AbstractEventHandler.java b/org.adempiere.base/src/org/adempiere/base/event/AbstractEventHandler.java index 937828f7b6..8af7a945ed 100644 --- a/org.adempiere.base/src/org/adempiere/base/event/AbstractEventHandler.java +++ b/org.adempiere.base/src/org/adempiere/base/event/AbstractEventHandler.java @@ -138,7 +138,10 @@ public abstract class AbstractEventHandler implements EventHandler { * @param e */ protected void addError(Event event, Throwable e) { - addErrorMessage(event, e.getLocalizedMessage()); + String msg = e.getLocalizedMessage(); + if (msg == null) + msg = e.toString(); + addErrorMessage(event, msg); } /**