Publishing App Throws Error Sometimes.
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
I'm seeing the same message sometimes, but didn't really record a pattern yet.
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)
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.
It should not be required to log off or close any existing browser windows. Which version are you running on?
Vs Version 1.28.0
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.
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?
It throws this error sometimes but this is not hampering publishing the app.
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.