From 416129d89dea276ffdca1b41fda26cb496d05131 Mon Sep 17 00:00:00 2001 From: hieplq Date: Wed, 1 Apr 2015 17:56:06 +0700 Subject: [PATCH] IDEMPIERE-2552:sometime has NPE in CLogErrorBuffer --- org.adempiere.base/src/org/compiere/util/CLogErrorBuffer.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/org.adempiere.base/src/org/compiere/util/CLogErrorBuffer.java b/org.adempiere.base/src/org/compiere/util/CLogErrorBuffer.java index 8b66040750..8d5a140a05 100644 --- a/org.adempiere.base/src/org/compiere/util/CLogErrorBuffer.java +++ b/org.adempiere.base/src/org/compiere/util/CLogErrorBuffer.java @@ -188,6 +188,8 @@ public class CLogErrorBuffer extends Handler loggerName = ""; //String className = record.getSourceClassName(); // physical class String methodName = record.getSourceMethodName(); // + if (methodName == null) + methodName = ""; if (DB.isConnected(false) && !methodName.equals("saveError") && !methodName.equals("get_Value")