web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Standard Class Errors

(0) ShareShare
ReportReport
Posted on by

Hello All ,

Thanks In Advance ,

While compiling my classes i was getting errors in a standard class

Can any body suggest how to rectify them 

Image Description Path Line Method/Property name Diagnostic ID
Argument '0' is incompatible with the required type. \Classes\RetailStatementCalculate\calculateAndMarkTransactions 779 calculateAndMarkTransactions Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementCalculate\insertBankedTender 25 insertBankedTender Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementCalculate\insertBankLine 17 insertBankLine Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementCalculate\insertLine 20 insertLine Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementCalculate\insertPaymentLines 22 insertPaymentLines Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementCalculate\insertSafeLine 16 insertSafeLine Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementCalculate\insertSafeTender 17 insertSafeTender Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementCalculate\insertTenderDeclarationLines 19 insertTenderDeclarationLines Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementCalculate\run 20 run Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementCalculate\updateBankLine 19 updateBankLine Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementCalculate\updateCountedAmounts 18 updateCountedAmounts Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementCalculate\updateSafeLine 19 updateSafeLine Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementCalculate_Multi\run 17 run Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementPost\createPaymentLedgerTrans 19 createPaymentLedgerTrans Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementPost\postAggregatedDiscounts 44 postAggregatedDiscounts Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementPost\postDiscounts 33 postDiscounts Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementPost\postIETax 35 postIETax Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementPost\postIncomeExpenseLine 19 postIncomeExpenseLine Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementPost\postPayment 74 postPayment Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementPost\postRetailSpecific 25 postRetailSpecific Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementPost\postSalesOrders 12 postSalesOrders Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementPost\run 41 run Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementPost\stampSOInvoiceIdsOnHeaders 9 stampSOInvoiceIdsOnHeaders Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementPost_Multi\run 16 run Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementPostChecker\checkStatement 23 checkStatement Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementPostSalesOrders\addTaxAdjustments 16 addTaxAdjustments Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementPostSalesOrders\createAggregatedSaleLines 49 createAggregatedSaleLines Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementPostSalesOrders\createNewInventTransOrigin 12 createNewInventTransOrigin Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementPostSalesOrders\createSalesOrders 16 createSalesOrders Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementPostSalesOrders\createSalesOrdersAggregated 24 createSalesOrdersAggregated Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementPostSalesOrders\getEquivalentSalesLine 15 getEquivalentSalesLine Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementPostSalesOrders\getEquivalentSalesTable 17 getEquivalentSalesTable Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementPostSalesOrders\invoiceAllSalesOrders 11 invoiceAllSalesOrders Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementPostSalesOrders\invoiceSalesOrder 14 invoiceSalesOrder Err:11
Argument '0' is incompatible with the required type. \Classes\RetailStatementPostSalesOrders\run 21 run Err:11
Argument '0' is incompatible with the required type. \Classes\RetailTransactionSalesTransMark\run 216 run Err:11
Argument '0' is incompatible with the required type. \Classes\RetailTransactionSalesTransMark_Multi\run 12 run Err:11
Argument '0' is incompatible with the required type. \Classes\RetailConnActionGenerator\convert 6 convert Err:11
Argument '0' is incompatible with the required type. \Classes\RetailConnActionGenerator\createActions 14 createActions Err:11
Argument '0' is incompatible with the required type. \Classes\RetailConnActionGenerator\createActionsForPreaction 54 createActionsForPreaction Err:11
Argument '0' is incompatible with the required type. \Classes\RetailConnActionGenerator\createChildQuery 16 createChildQuery Err:11
Argument '0' is incompatible with the required type. \Classes\RetailConnActionGenerator\findDistribution 20 findDistribution Err:11
Argument '0' is incompatible with the required type. \Classes\RetailConnActionGenerator\flushPreactionListToTmpTable 5 flushPreactionListToTmpTable Err:11
Argument '0' is incompatible with the required type. \Classes\RetailConnActionGenerator\initDistributionQuery 42 initDistributionQuery Err:11
Argument '0' is incompatible with the required type. \Classes\RetailConnActionGenerator\initLinkRelationsDistributionQuery 21 initLinkRelationsDistributionQuery Err:11
Argument '0' is incompatible with the required type. \Classes\RetailConnActionGenerator\initTableDistributionDownQuery 21 initTableDistributionDownQuery Err:11
Argument '0' is incompatible with the required type. \Classes\RetailConnActionGenerator\initTableDistributionLinkTableQuery 21 initTableDistributionLinkTableQuery Err:11
Argument '0' is incompatible with the required type. \Classes\RetailConnActionGenerator\initTableDistributionUpQuery 21 initTableDistributionUpQuery Err:11
Argument '0' is incompatible with the required type. \Classes\RetailConnActionGenerator\inserAction 29 inserAction Err:11
Argument '0' is incompatible with the required type. \Classes\RetailConnActionGenerator\LoadPreactionRecord 14 LoadPreactionRecord Err:11
Argument '0' is incompatible with the required type. \Classes\RetailConnActionGenerator\run 20 run Err:11
Argument '0' is incompatible with the required type. \Classes\RetailConnActionGenerator\traverseDownRecur 30 traverseDownRecur Err:11
Argument '0' is incompatible with the required type. \Classes\RetailConnActionGenerator\traverseUp 52 traverseUp Err:11
Argument '0' is incompatible with the required type. \Classes\RetailConnActionGeneratorCleanup\removeRedundantActions 6 removeRedundantActions Err:11
Argument '0' is incompatible with the required type. \Classes\RetailConnActionGeneratorMaster\run 25 run Err:11
Argument '0' is incompatible with the required type. \Classes\RetailConnActionGeneratorWorker\flushPreactionListToTmpTable 5 flushPreactionListToTmpTable Err:11
Argument '0' is incompatible with the required type. \Classes\RetailConnActionGeneratorWorker\run 10 run Err:11
Argument '0' is incompatible with the required type. \Classes\RetailConnActionManagement\processActions 84 processActions Err:11
Argument '0' is incompatible with the required type. \Classes\RetailConnActionManagement\shouldReplicate 22 shouldReplicate Err:11
Syntax error. \Classes\RetailConnDataDirectorUtilities\readDesign 19 readDesign Err:9999
Syntax error. \Classes\RetailConnReplicationJob_DataDirector\classDeclaration 21 classDeclaration Err:9999
Syntax error. \Classes\RetailConnSCDataBulkCopy\bulkCopyToTemp 10 bulkCopyToTemp Err:9999
Argument '0' is incompatible with the required type. \Classes\RetailConnScheduleRunner\run 18 run Err:11
Argument '0' is incompatible with the required type. \Classes\RetailConnSchedulerUtilities\runScheduleJob 33 runScheduleJob Err:11
Syntax error. \Classes\RetailConnSCMonitoringUtilities\cancelIncomingPackage 19 cancelIncomingPackage Err:9999
Syntax error. \Classes\RetailConnSCMonitoringUtilities\cancelOutgoingPackage 22 cancelOutgoingPackage Err:9999
Syntax error. \Classes\RetailConnSCMonitoringUtilities\sendConfiguration 3 sendConfiguration Err:9999
Syntax error. \Classes\RetailConnSCTestConnection\testConnection 26 testConnection Err:9999
Argument '0' is incompatible with the required type. \Classes\RetailRedeploymentScheduleJobRunner\run 12 run Err:11
Argument '0' is incompatible with the required type. \Classes\RetailAssortmentSchedulerJob\createTasksByChannel 18 createTasksByChannel Err:11
Argument '0' is incompatible with the required type. \Classes\RetailAssortmentSchedulerJob\deleteRemovedChannels 15 deleteRemovedChannels Err:11
Argument '0' is incompatible with the required type. \Classes\RetailAssortmentSchedulerJob\expirePublishedAssortments 11 expirePublishedAssortments Err:11
Argument '0' is incompatible with the required type. \Classes\RetailAssortmentSchedulerJob\run 5 run Err:11
Argument '0' is incompatible with the required type. \Classes\RetailAssortmentSchedulerTask\deltaSync 18 deltaSync Err:11
The variable is not of the type CLASS. \Classes\RetailStatementPost\createPaymentLedgerTrans 19 createPaymentLedgerTrans Err:74
The variable is not of the type CLASS. \Classes\RetailStatementPost\postAggregatedDiscounts 44 postAggregatedDiscounts Err:74
The variable is not of the type CLASS. \Classes\RetailStatementPost\postDiscounts 33 postDiscounts Err:74
The variable is not of the type CLASS. \Classes\RetailStatementPost\postIETax 35 postIETax Err:74
The variable is not of the type CLASS. \Classes\RetailStatementPost\postIncomeExpenseLine 19 postIncomeExpenseLine Err:74
The variable is not of the type CLASS. \Classes\RetailStatementPost\postPayment 74 postPayment Err:74
The variable is not of the type CLASS. \Classes\RetailStatementPost\postRetailSpecific 25 postRetailSpecific Err:74
The variable is not of the type CLASS. \Classes\RetailStatementPost\postSalesOrders 12 postSalesOrders Err:74
The variable is not of the type CLASS. \Classes\RetailStatementPost\run 41 run Err:74
The variable is not of the type CLASS. \Classes\RetailStatementPost\stampSOInvoiceIdsOnHeaders 9 stampSOInvoiceIdsOnHeaders Err:74
The variable is not of the type CLASS. \Classes\RetailStatementPost_Multi\run 16 run Err:74
The variable is not of the type CLASS. \Classes\RetailStatementPostChecker\checkStatement 23 checkStatement Err:74
The variable is not of the type CLASS. \Classes\RetailStatementPostSalesOrders\addTaxAdjustments 16 addTaxAdjustments Err:74
The variable is not of the type CLASS. \Classes\RetailStatementPostSalesOrders\createAggregatedSaleLines 49 createAggregatedSaleLines Err:74
The variable is not of the type CLASS. \Classes\RetailStatementPostSalesOrders\createNewInventTransOrigin 12 createNewInventTransOrigin Err:74
The variable is not of the type CLASS. \Classes\RetailStatementPostSalesOrders\createSalesOrders 16 createSalesOrders Err:74
The variable is not of the type CLASS. \Classes\RetailStatementPostSalesOrders\createSalesOrdersAggregated 24 createSalesOrdersAggregated Err:74
The variable is not of the type CLASS. \Classes\RetailStatementPostSalesOrders\getEquivalentSalesLine 15 getEquivalentSalesLine Err:74
The variable is not of the type CLASS. \Classes\RetailStatementPostSalesOrders\getEquivalentSalesTable 17 getEquivalentSalesTable Err:74
The variable is not of the type CLASS. \Classes\RetailStatementPostSalesOrders\invoiceAllSalesOrders 11 invoiceAllSalesOrders Err:74
The variable is not of the type CLASS. \Classes\RetailStatementPostSalesOrders\invoiceSalesOrder 14 invoiceSalesOrder Err:74
The variable is not of the type CLASS. \Classes\RetailStatementPostSalesOrders\run 21 run Err:74
The variable is not of the type CLASS. \Classes\RetailTransactionSalesTransMark\run 216 run Err:74
The variable is not of the type CLASS. \Classes\RetailTransactionSalesTransMark_Multi\run 12 run Err:74
The variable is not of the type CLASS. \Classes\RetailConnActionGeneratorMaster\run 25 run Err:74
The variable is not of the type CLASS. \Classes\RetailConnActionGeneratorWorker\flushPreactionListToTmpTable 5 flushPreactionListToTmpTable Err:74
The variable is not of the type CLASS. \Classes\RetailConnActionGeneratorWorker\run 10 run Err:74
The variable is not of the type CLASS. \Classes\RetailConnActionManagement\processActions 84 processActions Err:74
The variable is not of the type CLASS. \Classes\RetailConnActionManagement\shouldReplicate 22 shouldReplicate Err:74
The variable is not of the type CLASS. \Classes\RetailConnScheduleRunner\run 18 run Err:74
The variable is not of the type CLASS. \Classes\RetailConnSchedulerUtilities\runScheduleJob 33 runScheduleJob Err:74
The variable is not of the type CLASS. \Classes\RetailRedeploymentScheduleJobRunner\run 12 run Err:74
The variable is not of the type CLASS. \Classes\RetailStatementCalculate\calculateAndMarkTransactions 779 calculateAndMarkTransactions Err:74
The variable is not of the type CLASS. \Classes\RetailStatementCalculate\insertBankedTender 25 insertBankedTender Err:74
The variable is not of the type CLASS. \Classes\RetailStatementCalculate\insertBankLine 17 insertBankLine Err:74
The variable is not of the type CLASS. \Classes\RetailStatementCalculate\insertLine 20 insertLine Err:74
The variable is not of the type CLASS. \Classes\RetailStatementCalculate\insertPaymentLines 22 insertPaymentLines Err:74
The variable is not of the type CLASS. \Classes\RetailStatementCalculate\insertSafeLine 16 insertSafeLine Err:74
The variable is not of the type CLASS. \Classes\RetailStatementCalculate\insertSafeTender 17 insertSafeTender Err:74
The variable is not of the type CLASS. \Classes\RetailStatementCalculate\insertTenderDeclarationLines 19 insertTenderDeclarationLines Err:74
The variable is not of the type CLASS. \Classes\RetailStatementCalculate\run 20 run Err:74
The variable is not of the type CLASS. \Classes\RetailStatementCalculate\updateBankLine 19 updateBankLine Err:74
The variable is not of the type CLASS. \Classes\RetailStatementCalculate\updateCountedAmounts 18 updateCountedAmounts Err:74
The variable is not of the type CLASS. \Classes\RetailStatementCalculate\updateSafeLine 19 updateSafeLine Err:74
The variable is not of the type CLASS. \Classes\RetailStatementCalculate_Multi\run 17 run Err:74
The variable is not of the type CLASS. \Classes\RetailAssortmentSchedulerJob\createTasksByChannel 18 createTasksByChannel Err:74
The variable is not of the type CLASS. \Classes\RetailAssortmentSchedulerJob\deleteRemovedChannels 15 deleteRemovedChannels Err:74
The variable is not of the type CLASS. \Classes\RetailAssortmentSchedulerJob\expirePublishedAssortments 11 expirePublishedAssortments Err:74
The variable is not of the type CLASS. \Classes\RetailAssortmentSchedulerJob\run 5 run Err:74
The variable is not of the type CLASS. \Classes\RetailAssortmentSchedulerTask\deltaSync 18 deltaSync Err:74
The variable is not of the type CLASS. \Classes\RetailConnActionGenerator\convert 6 convert Err:74
The variable is not of the type CLASS. \Classes\RetailConnActionGenerator\createActions 14 createActions Err:74
The variable is not of the type CLASS. \Classes\RetailConnActionGenerator\createActionsForPreaction 54 createActionsForPreaction Err:74
The variable is not of the type CLASS. \Classes\RetailConnActionGenerator\createChildQuery 16 createChildQuery Err:74
The variable is not of the type CLASS. \Classes\RetailConnActionGenerator\findDistribution 20 findDistribution Err:74
The variable is not of the type CLASS. \Classes\RetailConnActionGenerator\flushPreactionListToTmpTable 5 flushPreactionListToTmpTable Err:74
The variable is not of the type CLASS. \Classes\RetailConnActionGenerator\initDistributionQuery 42 initDistributionQuery Err:74
The variable is not of the type CLASS. \Classes\RetailConnActionGenerator\initLinkRelationsDistributionQuery 21 initLinkRelationsDistributionQuery Err:74
The variable is not of the type CLASS. \Classes\RetailConnActionGenerator\initTableDistributionDownQuery 21 initTableDistributionDownQuery Err:74
The variable is not of the type CLASS. \Classes\RetailConnActionGenerator\initTableDistributionLinkTableQuery 21 initTableDistributionLinkTableQuery Err:74
The variable is not of the type CLASS. \Classes\RetailConnActionGenerator\initTableDistributionUpQuery 21 initTableDistributionUpQuery Err:74
The variable is not of the type CLASS. \Classes\RetailConnActionGenerator\inserAction 29 inserAction Err:74
The variable is not of the type CLASS. \Classes\RetailConnActionGenerator\LoadPreactionRecord 14 LoadPreactionRecord Err:74
The variable is not of the type CLASS. \Classes\RetailConnActionGenerator\run 20 run Err:74
The variable is not of the type CLASS. \Classes\RetailConnActionGenerator\traverseDownRecur 30 traverseDownRecur Err:74
The variable is not of the type CLASS. \Classes\RetailConnActionGenerator\traverseUp 52 traverseUp Err:74
The variable is not of the type CLASS. \Classes\RetailConnActionGeneratorCleanup\removeRedundantActions 6 removeRedundantActions Err:74

*This post is locked for comments

I have the same question (0)
  • Mea_ Profile Picture
    60,284 on at

    Hi giribabu,

    Do you have any modification in any of these classes?

  • Community Member Profile Picture
    on at

    Hello ievgen,

        Thanks for your reply,

        There are no modifications done in the standard classes .

         I found these errors while compiling and running CIL

    Thanks,

    Giribabu

  • Mea_ Profile Picture
    60,284 on at

    Did you try to do full compile before doing full CIL ?

  • Community Member Profile Picture
    on at

    Hello ievgen ,

           Yes i have done compile and even in compilation am getting the errors which is posted above . I have done the follows

             In order to rectify this errors I have done the following but I did not get any result.

    1) Stopped AOS

    2) Deleted DLL files from XPILL folder.

    3) Deleted AUC files for clearing the cache in the Application .

    4) Started AOS

    5) Ran Full CIL

    6) Compiled the AOT .

    7) Finally I have tried to compile each affected class and Table . when I compile class or table  individually everything goes fine if I go for full compilation Or Full CIL the  problem comes again .

  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    If you are getting errors in Retail classes, have you tried to disable the Retail license in License information, then synchronize the Data dictionary?

    Try that first. If it gives no results, try to remove all your customizations, then do a full compile on the application, because it must be a change then caused by you (most likely unintentionally). You could make sure by checking the Model elements form and filtering out SYS,SYP layers that there are no leftover changes on any higher layers.

    You must be able to compile Full CIL fine after that, only having standard code.

    Also make sure your AX client and Server executable versions are the same!

  • Community Member Profile Picture
    on at

    Hello Vilmos Kintera,

        Thanks For your reply

        AS suggested by you i have tried to  disable the retail license . But in my Application i don't find the retail module in the license configuration. Please suggest me on this

    Thanks,

    Giribabu.T

  • Community Member Profile Picture
    on at

    Hello Vilmos Kintera,

    Thanks for your valuable suggestions

    Rather disabling the retail license i have imported the LICENSE KEYS WITHOUT Retail in to ax application and done with the database synchronisation .my errors got less and not up to zero percent and even when i do with CIL i used to see some errors

    ________________________________________________________________________________

    Compilation Errors as shown below

    -------------------------------------------------------------------------------------

    Image Description Path Line Method/Property name Diagnostic ID

    Syntax error. \Classes\RetailConnSCTestConnection\testConnection 26 testConnection Err:9999

    Syntax error. \Classes\RetailConnDataDirectorUtilities\readDesign 20 readDesign Err:9999

    CIL generation: Error 20. Class: RetailConnSCMonitoringUtilities, Method: cancelIncomingPackage, Exception: System.NullReferenceException: Object reference not set to an instance of an object. \Classes\RetailConnSCMonitoringUtilities\cancelIncomingPackage 1 cancelIncomingPackage Err:351

    CIL generation: Error 21. Class: RetailConnSCMonitoringUtilities, Method: cancelOutgoingPackage, Exception: System.NullReferenceException: Object reference not set to an instance of an object. \Classes\RetailConnSCMonitoringUtilities\cancelOutgoingPackage 1 cancelOutgoingPackage Err:351

    CIL generation: Error 22. Class: RetailConnSCMonitoringUtilities, Method: sendConfiguration, Exception: System.NullReferenceException: Object reference not set to an instance of an object. \Classes\RetailConnSCMonitoringUtilities\sendConfiguration 1 sendConfiguration Err:351

    CIL generation: Source array was not long enough. Check srcIndex and length, and the array's lower bounds. \Classes\RetailConnSCMonitoringUtilities\setIncomingMessageFinError 24 setIncomingMessageFinError Err:351

    CIL generation: Source array was not long enough. Check srcIndex and length, and the array's lower bounds. \Classes\RetailConnSCMonitoringUtilities\setOutgoingMessageFinError 24 setOutgoingMessageFinError Err:351

    CIL generation: Source array was not long enough. Check srcIndex and length, and the array's lower bounds. \Classes\RetailConnSCMonitoringUtilities\updateSCMonitoringConfig 46 updateSCMonitoringConfig Err:351

    CIL generation: Line Number 24 - Line Number 26 - Source array was not long enough. Check srcIndex and length, and the array's lower bounds. \Classes\RetailConnDataDirectorUtilities\run 20 run Err:351

    CIL generation: Error 7. Class: RetailConnReplicationJob_DataDirector, Method: addAXReceiver, Exception: System.NullReferenceException: Object reference not set to an instance of an object. \Classes\RetailConnReplicationJob_DataDirector\addAXReceiver 1 addAXReceiver Err:351

    CIL generation: Error 8. Class: RetailConnReplicationJob_DataDirector, Method: addReceiversToLoc, Exception: System.NullReferenceException: Object reference not set to an instance of an object. \Classes\RetailConnReplicationJob_DataDirector\addReceiversToLoc 1 addReceiversToLoc Err:351

    CIL generation: Error 9. Class: RetailConnReplicationJob_DataDirector, Method: onAfterHandleGroup, Exception: System.NullReferenceException: Object reference not set to an instance of an object. \Classes\RetailConnReplicationJob_DataDirector\onAfterHandleGroup 1 onAfterHandleGroup Err:351

    CIL generation: Error 10. Class: RetailConnReplicationJob_DataDirector, Method: onBeforeHandleGroup, Exception: System.NullReferenceException: Object reference not set to an instance of an object. \Classes\RetailConnReplicationJob_DataDirector\onBeforeHandleGroup 1 onBeforeHandleGroup Err:351

    CIL generation: Error 11. Class: RetailConnReplicationJob_DataDirector, Method: onBeforeTableDelete, Exception: System.NullReferenceException: Object reference not set to an instance of an object. \Classes\RetailConnReplicationJob_DataDirector\onBeforeTableDelete 1 onBeforeTableDelete Err:351

    CIL generation: Error 12. Class: RetailConnReplicationJob_DataDirector, Method: onBeforeTableUpdate, Exception: System.NullReferenceException: Object reference not set to an instance of an object. \Classes\RetailConnReplicationJob_DataDirector\onBeforeTableUpdate 1 onBeforeTableUpdate Err:351

    CIL generation: Source array was not long enough. Check srcIndex and length, and the array's lower bounds. \Classes\RetailConnReplicationJob_DataDirector\processJobByAction 114 processJobByAction Err:351

    CIL generation: Error 14. Class: RetailConnReplicationJob_DataDirector, Method: processNormalJob, Exception: System.NullReferenceException: Object reference not set to an instance of an object. \Classes\RetailConnReplicationJob_DataDirector\processNormalJob 1 processNormalJob Err:351

    CIL generation: Error 15. Class: RetailConnReplicationJob_DataDirector, Method: processNormalJobByPull, Exception: System.NullReferenceException: Object reference not set to an instance of an object. \Classes\RetailConnReplicationJob_DataDirector\processNormalJobByPull 1 processNormalJobByPull Err:351

    CIL generation: Source array was not long enough. Check srcIndex and length, and the array's lower bounds. \Classes\RetailConnReplicationJob_DataDirector\replicateActionSubJobToLocGroupFilter 29 replicateActionSubJobToLocGroupFilter Err:351

    CIL generation: Source array was not long enough. Check srcIndex and length, and the array's lower bounds. \Classes\RetailConnReplicationJob_DataDirector\replicateNonPullNormalSubjobs 33 replicateNonPullNormalSubjobs Err:351

    CIL generation: Source array was not long enough. Check srcIndex and length, and the array's lower bounds. \Classes\RetailConnReplicationJob_DataDirector\replicatePullNormalSubjobs 7 replicatePullNormalSubjobs Err:351

    CIL generation: Error 19. Class: RetailConnReplicationJob_DataDirector, Method: runJobByAction, Exception: System.NullReferenceException: Object reference not set to an instance of an object. \Classes\RetailConnReplicationJob_DataDirector\runJobByAction 1 runJobByAction Err:351

    CIL generation: Error 4. Class: SysQuery, Method: queryAddStaticCursorAsRangeAndValue, Exception: System.ArgumentException: Type QueryBuildStaticlink was not found in the CIL that was generated from X++. \Classes\SysQuery\queryAddStaticCursorAsRangeAndValue 1 queryAddStaticCursorAsRangeAndValue Err:351

    CIL generation: Error 3. Class: SKYCalculateRecommendedWOQty, Method: run, Exception: System.NullReferenceException: Object reference not set to an instance of an object. \Classes\SKYCalculateRecommendedWOQty\run 1 run Err:351

    CIL generation: Error 1. Class: RetailConnSCDataBulkCopy, Method: bulkCopyToTemp, Exception: System.NullReferenceException: Object reference not set to an instance of an object. \Classes\RetailConnSCDataBulkCopy\bulkCopyToTemp 1 bulkCopyToTemp Err:351

    CIL generation: Line Number 23 - Source array was not long enough. Check srcIndex and length, and the array's lower bounds. \Classes\RetailConnSCUploadManager\bulkCopyToTemp 21 bulkCopyToTemp Err:351

    -----------------------------------------------------------------

    CIL Errors are as shown below

    ____________________________________________________________________

    Cannot create a record in Compiler information (TmpCompilerOutput). Path: \Classes\RetailAssortmentSchedulerTask\explode, Warning: No proxy found. Type RetailAssortmentTable found on the stack. This code in Class: RetailAssortmentSchedulerTask, Method: explode may not.

    The record already exists.

    SysCompilerOutput object not initialized.

    Stack trace

    (S)\Classes\CLRInterop\staticInvoke

    (S)\Classes\SysCompileIL\generateIncrementalIL - line 101

    (S)\Classes\SysCompileIL\main - line 13

    Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

    ________________________________________________________________________________________

    Thanks,

    Giribabu.T

  • Vilmos Kintera Profile Picture
    46,149 on at

    That is some progress at least. Can the memory corruption message indicate that something is wrong with your Operating System or Hardware? If you have removed your customizations and the client you are connecting with matches the AX AOS kernel version then you should not experience errors after compilation and/or CIL.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans