Dear experts, While trying to post the AP Invoice, Posting Engine is throwing below mentioned error
Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.NullReferenceException: Object reference not set to an instance of an object.
at Erp.Internal.Lib.PstVarPr.CreatePartTran(Decimal CurTranCost, Decimal NonRecoverableCost, String CurJobNum, Int32 CurAssemblySeq, Int32 CurJobSeq, String CurJobSeqType, Int32 CurDMRNum, APInvHed APInvHed, RcvDtl RcvDtl, PartTran& PartTran, APInvDtl APInvDtl, PartPlant PartPlant, RcvMisc RcvMisc, Plant Plant, XaSyst XaSyst, String Temp_Reference) in C:_Releases\ERP\UD10.2.100.9\Source\Server\Internal\Lib\FifoCostNVariLib\PstVarPr.cs:line 248
at Erp.Internal.Lib.PstVar.RunPstVar(Decimal RcptTot, Decimal LineNet, Decimal NonRecoverableCostVar, RcvDtl RcvDtl, APInvHed APInvHed, APInvDtl APInvDtl, PartPlant PartPlant, RcvMisc RcvMisc, Plant Plant, XaSyst XaSyst, Boolean AllWentWellFlag, Boolean PostError, String& PostErrorLog) in C:_Releases\ERP\UD10.2.100.9\Source\Server\Internal\Lib\FifoCostNVariLib\PstVar.cs:line 226
at Erp.Internal.PE.AP_InvoicePost_Post.UpdateRelatedTables(String inAbtUID) in C:_Releases\ERP\UD10.2.100.9\Source\Server\Internal\PE\AP_Invoice\AP_InvoicePost_Post.cs:line 3251
— End of inner exception stack trace —
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at Erp.Internal.PE.ReviewJournal.ConfirmGL(String inABTUID, PostingMode inMode) in C:_Releases\ERP\UD10.2.100.9\Source\Server\Internal\PE\ReviewJournal\ReviewJournal.cs:line 2753
at Erp.Internal.PE.AP_INVOICE_EPIC01_Post_941E83C560E5E84E3396FB9C4C44CD5929.Post()
anyone can suggest how to resolve this issue?