Options

NAVfieldRef variable not initialized?

ccorreiaccorreia Member Posts: 36
edited 2012-05-30 in NAV Three Tier
I made an upgrade and the object has some customizations, and I'm having the error attached on Purchase Quotes.

I already tried to replace the page 49 and 97 to the standard, and the error persists.
I already tried to delete all code on table 39 so no trigger runs, and the error persists.
I already tried to replace the codeunit 1 to the standard, and the error persists.

Also already restarted the services and recompiled all objects again.

Does someone has an idea how to find were the error is?

Comments

  • Options
    Jorge_Torres_[MSFT]Jorge_Torres_[MSFT] Member, Microsoft Employee Posts: 29
    The fastest way you can find out where the problem is would be to debug the code and find out where the uninitialized NavFieldRef is being used. For that, you can use Visual Studio, enable debugging on the Service config file and restart the service. Also, I would enable all Thrown Common Language Runtime Exceptions, so that the debugger points you exactly where the exception is thrown.

    You can use Claus’s blog post for an explanation on how to debug using VS.

    Regards,
    Jorge
    “This posting is provided "AS IS" with no warranties, and confers no rights.”
Sign In or Register to comment.