Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

Dynamics Nav 2018 Error 216

Posted on by 35

Hi all,

I have a problem with NAV 2018 installation that gives error 216 at random periods.

Can someone point me in the direction I should be looking?

The stacktrace is:

Message: <ii>Object reference not set to an instance of an object.</ii>
StackTrace:
at Microsoft.Dynamics.Nav.Runtime.RecordImplementation.IsPermissionCheckNeeded(Boolean readingOnly)
at Microsoft.Dynamics.Nav.Runtime.RecordImplementation.VerifyPermissions(PermissionMask permissionMask, Boolean checkForEmptyTable)
at Microsoft.Dynamics.Nav.Runtime.RecordImplementation.IssueFindRequest(DataError errorLevel, Boolean reversed, FindType findType, Boolean useCache)
at Microsoft.Dynamics.Nav.Runtime.RecordImplementation.FindFirstRecord(DataError errorLevel)
at Microsoft.Dynamics.Nav.Runtime.NavRecord.ALFindFirst(DataError errorLevel)
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit50002.GetDestinationForProduct_Scope.OnRun()
at Filter.InvokeWithFilter(NavMethodScope )
at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.Run()
at Microsoft.Dynamics.Nav.BusinessApplication.Codeunit50002.GetDestinationForProduct(NavText inputUID, NavText inputTray, NavText barcode)
at Microsoft.Dynamics.Nav.BusinessApplication.Page50010.Integrationa58a58BarcodeReceived_Scope.OnRun()
at Filter.InvokeWithFilter(NavMethodScope )
at Microsoft.Dynamics.Nav.Runtime.NavMethodScope.Run()
at Microsoft.Dynamics.Nav.BusinessApplication.Page50010.Integrationa58a58BarcodeReceived(NavVariant sender, NavDotNet e)
at Microsoft.Dynamics.Nav.BusinessApplication.Integration_Eventhandler_Page50010.BarcodeReceived(Object senderParam, Object eParam)
at Microsoft.Dynamics.Nav.Runtime.NavInteropEventHandlerBase.HandleEvent[TArg1,TArg2](Action`2 innerHandler, TArg1 arg1, TArg2 arg2)
Source: Microsoft.Dynamics.Nav.Ncl
HResult: -2147467261
</ii>

*This post is locked for comments

  • Suggested answer
    azelaya59 Profile Picture
    azelaya59 2,807 on at
    RE: Dynamics Nav 2018 Error 216

    To further Murat's advise, run a compare via PowerShell on the custom objects. Make the necessary code changes and continue as normal.

  • Muratvzr Profile Picture
    Muratvzr 743 on at
    RE: Dynamics Nav 2018 Error 216

    Codeunit50002

    Page50010

    is seems to be customer object. And these objects can are using External dll. I think I has BarcodeReceived procedure and error is throwing from there.

    Look deeper on these codeunits and pages.

  • DSS servicedesk Profile Picture
    DSS servicedesk 35 on at
    RE: Dynamics Nav 2018 Error 216

    Yes I did and also installed Cu14.

  • DSS servicedesk Profile Picture
    DSS servicedesk 35 on at
    RE: Dynamics Nav 2018 Error 216

    Yes, I've reinstalled CU14 for Nav2018 and that had no effect.

  • I Gusti Made Ari Profile Picture
    I Gusti Made Ari 3,594 on at
    RE: Dynamics Nav 2018 Error 216

    have you tried repair the installation and restarted ?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans