mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Fix NPE.
This commit is contained in:
parent
75dda87fdd
commit
ba70a27968
1 changed files with 24 additions and 20 deletions
|
@ -341,6 +341,7 @@ class DynamicGraphExecutor<T>(val graph : DynamicGraph<T>, val factory: IThreadW
|
|||
|
||||
fun displayRegularLog(table: AsciiTable.Builder) : AsciiTable.Builder {
|
||||
if (historyLog.any()) {
|
||||
if (historyLog[0] != null) {
|
||||
val start = historyLog[0].timestamp
|
||||
val projectStart = ConcurrentHashMap<String, Long>()
|
||||
historyLog.forEach { line ->
|
||||
|
@ -367,6 +368,9 @@ class DynamicGraphExecutor<T>(val graph : DynamicGraph<T>, val factory: IThreadW
|
|||
}
|
||||
table.addRow(row)
|
||||
}
|
||||
} else {
|
||||
warn("Couldn't find historyLog")
|
||||
}
|
||||
}
|
||||
return table
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue