以下是设计自动化中的例外情况
12/07/2023 12:50:57] InventorCoreConsole.exe Error: 0 : iLogic error
12/07/2023 12:50:57] Context: RuleRunning
12/07/2023 12:50:57] Details: System.NullReferenceException: Object reference not set to an instance of an object.
12/07/2023 12:50:57] at ThisRule.Main() [12/07/2023 12:50:57] at Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem)
12/07/2023 12:50:57] at iLogic.RuleEvalContainer.ExecRuleEval(String execRule)
12/07/2023 12:50:57] InventorCoreConsole.exe Information: 0 : End of iLogic diagnostics...
12/07/2023 12:50:57] InventorCoreConsole.exe Information: 0 : Deactivating plug-in: UpdateParamPlugin
12/07/2023 12:50:57] InventorCoreConsole.exe Information: 0 : : UpdateParamPlugin: deactivating...
12/07/2023 12:50:57] CoreConsole Dispose start [12/07/2023 12:50:57] CoreConsole ReleaseAll start
12/07/2023 12:50:58] CoreConsole ReleaseAll end [12/07/2023 12:50:58] CoreConsole Dispose end
12/07/2023 12:50:58] Processing failed
12/07/2023 12:50:58] CoreConsole exiting (-1)
导致该错误的最常见原因是该规则使用了
ThisApplication
,该规则在 Inventor Server 中不可用,而 Design Automation 也使用该规则: