AL icon indicating copy to clipboard operation
AL copied to clipboard

Publishing App Throws Error Sometimes.

Open AmolSalvi opened this issue 8 years ago • 9 comments

Hi, Sometimes during publishing APP from VS throws following error but it publish the app Cannot read property 'sendRequest' of null

It happens only sometimes but not stopping publishing the app

Regards Amol

AmolSalvi avatar Oct 11 '18 04:10 AmolSalvi

I'm seeing the same message sometimes, but didn't really record a pattern yet.

epernst avatar Oct 11 '18 07:10 epernst

I just notice one things is that when web client is open with some page is open and try to publish the extension again from VS then it throws error but when web client is closed then it not throw the error. Not sure if we need to close the web client when publish the extension. (May be)

AmolSalvi avatar Oct 11 '18 07:10 AmolSalvi

To be more specific during publish process if we close down/log off the web client which is already open then throw this error. May be it required to be log off /close all client during publish process.

AmolSalvi avatar Oct 11 '18 08:10 AmolSalvi

It should not be required to log off or close any existing browser windows. Which version are you running on?

StanislawStempin avatar Oct 11 '18 12:10 StanislawStempin

Vs Version 1.28.0

AmolSalvi avatar Oct 12 '18 02:10 AmolSalvi

I am on same VSCode version, BC 13.0.24838. It happens to me whenever I am running the debugger, and while execution is with focus on a breakpoint the debugger, then I cancel the debugging session manually from VSCode.

epernst avatar Oct 12 '18 08:10 epernst

Thanks @AmolSalvi and @epernst for reporting this issue.

Using AL Language version: 2.0.48254, cloud sandbox and Visual Studio Code version 1.28.2 I can't reproduce this issue.

Can you try to upgrade to the latest versions of VS Code and the AL Language and try and provide consistent steps for reproducing this issue?

ghost avatar Oct 30 '18 14:10 ghost

It throws this error sometimes but this is not hampering publishing the app.

AmolSalvi avatar Oct 31 '18 04:10 AmolSalvi

Thanks @AmolSalvi, I will keep an eye out for this error.

However, without a consistent repro I can't help you in fixing it. I will close this issue now, but please re-open this issue or file a new issue if you find consistent steps for reproducing the issue.

ghost avatar Oct 31 '18 07:10 ghost