check for no profile
This commit is contained in:
parent
801182eccd
commit
7be0bfb27e
1 changed files with 5 additions and 0 deletions
|
@ -103,6 +103,11 @@ public class IobCobThread extends Thread {
|
|||
continue;
|
||||
}
|
||||
|
||||
if (profile == null) {
|
||||
log.debug("Aborting calculation thread (no profile): " + from);
|
||||
return; // profile not set yet
|
||||
}
|
||||
|
||||
if (profile.getIsf(bgTime) == null) {
|
||||
log.debug("Aborting calculation thread (no ISF): " + from);
|
||||
return; // profile not set yet
|
||||
|
|
Loading…
Reference in a new issue