BF [ 2973298 ] NPE on CLogErrorBuffer

Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2973298
This commit is contained in:
teo_sarca 2010-03-19 16:17:24 +00:00
parent a481eecbb0
commit ecdd7276bd
1 changed files with 6 additions and 1 deletions

View File

@ -33,6 +33,9 @@ import org.compiere.model.MIssue;
*
* @author Jorg Janke
* @version $Id: CLogErrorBuffer.java,v 1.3 2006/07/30 00:54:36 jjanke Exp $
*
* @author Teo Sarca, teo.sarca@gmail.com
* <li>BF [ 2973298 ] NPE on CLogErrorBuffer
*/
public class CLogErrorBuffer extends Handler
{
@ -200,7 +203,9 @@ public class CLogErrorBuffer extends Handler
// Issue Reporting
if (isIssueError())
{
String loggerName = record.getLoggerName(); // class name
String loggerName = record.getLoggerName(); // class name
if (loggerName == null)
loggerName = "";
String className = record.getSourceClassName(); // physical class
String methodName = record.getSourceMethodName(); //
if (DB.isConnected(false)