提交 cd5cb760 编写于 作者: S serge-rider

Task last run format fix (NPE)


Former-commit-id: 24cc4b1a
上级 1ff85bc7
......@@ -131,7 +131,7 @@ public class DatabaseTasksTree {
protected String getCellText(Object element) {
if (element instanceof DBTTask) {
DBTTaskRun lastRun = ((DBTTask) element).getLastRun();
if (lastRun == null) {
if (lastRun == null || lastRun.getStartTime() == null) {
return "N/A";
} else {
return dateFormat.format(lastRun.getStartTime());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册