IDEMPIERE-3653 1008833 fix NPE hiding configuration errors in hazelcast
This commit is contained in:
parent
4069878bf9
commit
e8f02018cc
|
@ -191,6 +191,7 @@ public class CLogErrorBuffer extends Handler
|
|||
if (methodName == null)
|
||||
methodName = "";
|
||||
if (DB.isConnected(false)
|
||||
&& methodName != null
|
||||
&& !methodName.equals("saveError")
|
||||
&& !methodName.equals("get_Value")
|
||||
&& !methodName.equals("dataSave")
|
||||
|
@ -213,7 +214,8 @@ public class CLogErrorBuffer extends Handler
|
|||
else
|
||||
{
|
||||
//display to user if database connection not available
|
||||
if (!methodName.equals("saveError")
|
||||
if (methodName != null
|
||||
&& !methodName.equals("saveError")
|
||||
&& !methodName.equals("get_Value")
|
||||
&& !methodName.equals("dataSave")
|
||||
&& loggerName.indexOf("Issue") == -1
|
||||
|
|
Loading…
Reference in New Issue