Forum Discussion

Kaur's avatar
Kaur
Occasional Contributor
7 years ago

Run Time Error Message Coming

I made a script for creating fee payment  and run the script .Script is finished with Green bar .

But on the application i can see fee payment with incomplete tag which means half the script is running ,

 

Error : <errMsgs errorsType="0">
<errMsg ID="XASYSX0032" msgType="1" source="MediClick.OBM.VendorLocFeesOBM.Shell_PostAdd" fieldName="" URL="" windowType="">Run-time error: Object reference not set to an instance of an object.

 

Can anyone help me to find out what i am doing wrong ?

4 Replies

  • nmrao's avatar
    nmrao
    Champion Level 3
    Would you mind showing your the script you are talking about?
    • Kaur's avatar
      Kaur
      Occasional Contributor

      <OBMRequest action="CreateContractFeeHdr" tableName="" viewName="" OBMName="********, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" useSystemDB="False" useCtxAppSysDB="False" confirmation="" AuditReason="">
      <globalContext sessID="$(#TestCase#SessionId)" hID="$(#TestCase#HId)">
      <fields>
      <CID>**</CID>
      <Org>001</Org>
      <OrgDesc>*****</OrgDesc>
      <AssetLoc>Main</AssetLoc>
      <SupOrg>001</SupOrg>
      <Dept>****</Dept>
      <UserID>****</UserID>
      <AppCode>EM</AppCode>
      <TabNav>0</TabNav>
      <SubAppCode>Contract</SubAppCode>
      <CAP>7</CAP>
      <MMISType>1</MMISType>
      <Top/>
      <PCSC>1</PCSC>
      <TAM>0</TAM>
      <ICA>0</ICA>
      <UseEDS>1</UseEDS>
      <PWExp>0</PWExp>
      <FG>0</FG>
      <SessionID>$(#TestCase#SessionId)</SessionID>
      </fields>
      </globalContext>
      <row ID="0" mode="" copiedFromID="0">
      <fields>
      <FeeType>6</FeeType>
      <EntityID>1197</EntityID>
      <EntityExt/>
      <Entity/>
      <EntityName>AccessClosure Inc</EntityName>
      <EntityType>1</EntityType>
      <ContractID>*****</ContractID>
      <ContractNo>******</ContractNo>
      <ContractName>Access</ContractName>
      <ContractTableID>SCO</ContractTableID>
      <ExtensionDate/>
      <ContractBeginDate>4/25/2015</ContractBeginDate>
      <ContractEndDate>4/25/2022</ContractEndDate>
      <EffectiveDates>4/25/2015 to 4/25/2022</EffectiveDates>
      <FeeID>0</FeeID>
      <VendorLocFeesHdrID>0</VendorLocFeesHdrID>
      <FeeHdrID>0</FeeHdrID>
      <ParentYN>0</ParentYN>
      <MfrGroupYN>0</MfrGroupYN>
      <ValidContractYN>1</ValidContractYN>
      <LocalEntityYN>0</LocalEntityYN>
      <GUID>6C7CC98B-CB66-430F-A362-3E547F18C98D</GUID>
      <CFID>0</CFID>
      <FeeSchedule>1</FeeSchedule>
      <StartRequiredYN/>
      <StartDate>7/31/2017</StartDate>
      <DaysUntilPaymentDue>0</DaysUntilPaymentDue>
      <SpendType>1</SpendType>
      <DistributionYN>0</DistributionYN>
      </fields>
      </row>
      </OBMRequest>

      • nmrao's avatar
        nmrao
        Champion Level 3
        It is an xml (request), not a script.

        Here there are two possibilities:
        1. Request may be incorrect
        2. If you are sure that the request is correct, then it may possibly be a defect in the application.

        Either way, it would be better to check with the application provider / with your team if it is internally developed.