IDEMPIERE-2552:sometime has NPE in CLogErrorBuffer
This commit is contained in:
parent
32ee03af05
commit
416129d89d
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue