CTLE-436: added missing null check

This commit is contained in:
Tim Chamberlain
2023-07-06 13:42:02 -05:00
parent c27723e956
commit be5b8f0869

View File

@ -496,7 +496,7 @@ public class RunProcessAction
////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// if backend specifies that it uses variants, look for that data in the session and append to our basepull key // // if backend specifies that it uses variants, look for that data in the session and append to our basepull key //
////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////
if(process.getSchedule().getVariantBackend() != null) if(process.getSchedule() != null && process.getSchedule().getVariantBackend() != null)
{ {
QSession session = QContext.getQSession(); QSession session = QContext.getQSession();
QBackendMetaData backendMetaData = QContext.getQInstance().getBackend(process.getSchedule().getVariantBackend()); QBackendMetaData backendMetaData = QContext.getQInstance().getBackend(process.getSchedule().getVariantBackend());