在使用U9 1.5 sp3 时,通过UI调BP,跟踪代码,当代码运行到Agent里下面代码处时
protected override object InvokeImplement<T>(T oChannel)
{
IContext context = ContextManager.Context;
IPOGenBarCodeBP channel = oChannel as IPOGenBarCodeBP;
if (channel != null)
{
return channel.Do(context, out returnMsgs, docNo, itemID, orgID, qty, suffix, specifications);
}
return null;
}
channel 为空,直接跳过channel.Do(),return null;所以代码根本就没调我们自己做的BP
产生原因是sp3的UBF.System.dll有问题,我们需要将其更新为2009-8-7的dll
解决U91.5sp3中代码调用异常问题
在使用U91.5sp3时遇到UI调用BP跟踪代码问题,发现是由于UBF.System.dll版本错误导致。解决办法是更新到2009-8-7的dll版本,避免channel为空时直接跳过调用BP。
1192

被折叠的 条评论
为什么被折叠?



