I'm getting a huge number of Rollbar issue reports for "This instance was not yet configured" from CMake Server. This issue appears when you call cmakeInputs before properly configuring the project.
I've been completely unable to reproduce the issue and can't see in the code any obvious reason why it would occur. No user has reported the issue, as it seems that it's occurrence doesn't actually block users.
If anyone reading this is seeing this error message, please comment below! (Edit: Please also include information about your platform, CMake version, OS, etc.)
Had this problem just pop up.
I only noticed it start happening after enabling the C/C++ extension. I had already configured and built the project.
After installing the C/C++ extension and reloading, the instance not configured error would pop up on almost any cmake-server operation. Disabling the C/C++ extension stopped the error showing up, and weirdly enough, I haven't been able to reproduce the error after re-enabling it.
Will let you know if I can find something a bit more reproducible.
@DoddzyCodes, what CMake version and OS are you running?
@vector-of-bool Ubuntu 18.04, Cmake 3.10.2
I think there error is created by switch between kit files.
I test at the moment the new concept for the debugger integration, I get the error often when I switch between MinGw and Visual studio.
@KoeMai could you find a way to reliably reproduce the issue? I want to attach a debugger to CMake at the same time to see what is going on
I have that issue too.
Mac OS 10.13.2
CMake 3.11.1
CMake server "ON"
Kit file:
[
{
"name": "llvm 3.9.0",
"compilers": {
"C": "/usr/local/Cellar/llvm/3.9.0/bin/clang",
"CXX": "/usr/local/Cellar/llvm/3.9.0/bin/clang++"
}
}
]
This message always appears after CMake:Build command
Moreover, following log line appear in some cases:
[rollbar] Unhandled exception: Unhandled Promise rejection: build [cmake-server] This instance was not yet configured. {}
MacOS 10.13.4
make 3.11.1
arm-eabi-none-gcc compiler
Getting the same errors but only intermittently. About 1 our of 3 times that I build.
I get the same error after running CMake: Build. The same log line appears.
Windows 10 Home
CMake 3.11.2
@magpier84 does it truly _alwasy_ happen for you? It's been intermittent for most people, but if you can reproduce it reliably that might be a good test case.
Unfortunately this popup + error message about already running cmake during launching app made me switch to another IDE for some time. Now both errors are not reproduced :(
@magpier84 Okay. Does the other error message need another GitHub issue?
I will try to reproduce it.
Same error here with Ubuntu 16.04 and stable release
Most helpful comment
Had this problem just pop up.
I only noticed it start happening after enabling the C/C++ extension. I had already configured and built the project.
After installing the C/C++ extension and reloading, the instance not configured error would pop up on almost any cmake-server operation. Disabling the C/C++ extension stopped the error showing up, and weirdly enough, I haven't been able to reproduce the error after re-enabling it.
Will let you know if I can find something a bit more reproducible.