AL icon indicating copy to clipboard operation
AL copied to clipboard

The AL Server crashed 5 times in the last 3 minutes.

Open DmitryKatson opened this issue 9 years ago • 7 comments

Suddenly after a day of hard work with code, Publishing and debugging my VS Code Show this image

The AL server crashed 5 times in the last 3 minutes. The server will not be restarted. Could not download symbols. Please see the Visual Studio Code output log for more details.

I did not change any connections. Reboot does not help.

DmitryKatson avatar Aug 23 '17 15:08 DmitryKatson

I had this issue before, It seemed to happen when invoking intellisense on the TableRelation property, However it only did that for a short time. A coworker of mine had the issue when Invoking intellisense on the Image property, but again, only for a short time.

MrDavid5465 avatar Aug 23 '17 15:08 MrDavid5465

Essentially, the issue seemed to right itself after a little while.

MrDavid5465 avatar Aug 23 '17 15:08 MrDavid5465

The AL server is the Language server (the background compiler) that Visual Studio Code is communicating with. If the language server crashes there will normally be a stacktrace in the log windows.

If the language server crashes 5 times it won't be restarted again by VsCode. Closing the folder and opening it again will restart the server, but the crash is most likely a bug related to your latest changes.

The crash can also be triggered by hover over syntax or invoking intellisense if there is a bug.

Try to revert your last changes or remove a files from the project one at a time until it don't crash. We are very interested in finding what triggered the crash.

esbenk avatar Aug 23 '17 19:08 esbenk

ok, I found the reason. I've created group in page extension with name , which length is greater than 32 symb. image was the reason of crashing AL

image solved the problem.

I think this is a bug.

DmitryKatson avatar Aug 24 '17 07:08 DmitryKatson

Thanks for narrowing it down for us. We will address the bug

StanislawStempin avatar Aug 24 '17 09:08 StanislawStempin

@dkatson , I would be very grateful if you could attach a snippet or small project that reproduces the crash. I cannot repro this issue on the latest build. I've tried using the snippet below.

pageextension 50109 MyExtension extends "Customer Card"
{
  layout
  {
    addfirst("Address & Contact")
    {
        group(Step1QuestionDoYouWantToCopyExistingProjectStep1QuestionDoYouWantToCopyExistingProjectStep1QuestionDoYouWant)
        {   
            field(dasdasdas;''){}
        }
    }
    
  }

  actions
  {
    addfirst("&Customer"){
        group(Step1QuestiondDoYouWantToCopyExistingProjectStep1QuestionDoYouWantToCopyExistingProjectStep1QuestionDoYouWant)
        {   
        }
    }
  }
}

atoader avatar Aug 28 '17 14:08 atoader

Try my project https://github.com/dkatson/NavInTheAir . I had this error on wizard page https://github.com/dkatson/NavInTheAir/blob/master/Page%2071000003%20-%20AIR%20Flight%20Register%20Wizard.al

DmitryKatson avatar Aug 29 '17 10:08 DmitryKatson