handle NULL reference exception
This commit is contained in:
parent
cc62d25333
commit
196111b836
@ -355,7 +355,8 @@ namespace DataLoader
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (prc != null)
|
||||||
|
{
|
||||||
// For each transition that points to the A0, make it point to the proc.
|
// For each transition that points to the A0, make it point to the proc.
|
||||||
// First, find all of them by getting transitions with the A0 (dummy
|
// First, find all of them by getting transitions with the A0 (dummy
|
||||||
// transition record). Then update the to or range id in the transition
|
// transition record). Then update the to or range id in the transition
|
||||||
@ -368,6 +369,7 @@ namespace DataLoader
|
|||||||
foreach (TransitionInfo tir in til) UpdateTranDataForA0(prc, tir.TransitionID, true);
|
foreach (TransitionInfo tir in til) UpdateTranDataForA0(prc, tir.TransitionID, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
foreach (string str in RemoveFromDicTrans)
|
foreach (string str in RemoveFromDicTrans)
|
||||||
{
|
{
|
||||||
dicTrans_ItemIds.Remove(str);
|
dicTrans_ItemIds.Remove(str);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user