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
To further Murat's advise, run a compare via PowerShell on the custom objects. Make the necessary code changes and continue as normal.
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.
Yes I did and also installed Cu14.
Yes, I've reinstalled CU14 for Nav2018 and that had no effect.
have you tried repair the installation and restarted ?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156