IDEMPIERE-2552:sometime has NPE in CLogErrorBuffer

This commit is contained in:
hieplq 2015-04-01 17:56:06 +07:00
parent 32ee03af05
commit 416129d89d
1 changed files with 2 additions and 0 deletions

View File

@ -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")