microsoft / AL

Home of the Dynamics 365 Business Central AL Language extension for Visual Studio Code. Used to track issues regarding the latest version of the AL compiler and developer tools available in the Visual Studio Code Marketplace or as part of the AL Developer Preview builds for Dynamics 365 Business Central.
MIT License
746 stars 244 forks source link

System crashes on posting Warehouse Picks #3524

Closed JSebastianN closed 6 years ago

JSebastianN commented 6 years ago

Using Local docker W1 12.3 (23945)

"Object reference not set to an instance of an object"

We are having system crashes when posting WareHouse Picks.

We call Codeunit 7307 "Whse.-Activity-Register" I have traced the problem to Line No 83 "AutoReserveForSalesLine(TempWhseActivLineToReserve);"

And further using the logs to Codeunit 99000830 "Create Reserv. Entry" -> Function "CreateEntry"

The system crashes, so debugging is difficult. I have attached logs etc.

This is a blocking error for our Product.

error from rtc error from webclient app Reduced Log.txt VSCode error.txt Docker Container Log.txt

kalberes commented 6 years ago

I can see that you have tried to go to definition, or were breaking into on some base object. That is the exception from the VsCode. What was that object?

JSebastianN commented 6 years ago

Hello :)

This is as far as I have gotten:

We call Codeunit 7307 "Whse.-Activity-Register" Line No 83 "AutoReserveForSalesLine(TempWhseActivLineToReserve);" Into: Codeunit 99000845 "Reservation Management" "AutoReserveOneLine"

That is where I lost it the last time.

The service logs points to Codeunit 99000830 "Create Reserv. Entry" -> Function "CreateEntry". This is used by 99000845

I would love to reproduce it in a standard environment but have not gotten so far yet.

kalberes commented 6 years ago

This has been fixed for the Fall release of BC.

JSebastianN commented 6 years ago

Wow I am impressed!

That would be the October Release right? https://docs.microsoft.com/en-us/business-applications-release-notes/October18/dynamics365-business-central/

kalberes commented 6 years ago

Yes.

parulmakkar07 commented 6 years ago

Could you please advise if the fix was released already? And if not, any expected date for the fix to be released?