2023-03 Post update problems #329
-
First post in this forum so please excuse any mistakes on my part. My Eclipse installation recently updated to 2023-03. I dread the quarterly updates as they always cause me problems. As a very quick summary I use Eclipse for native C/C++, Arduino/ESP8266 (sloeber), ESP32 (Espressif IDE) AVR (AVR Eclipse), Java and Python (Pydev). I also have Devstyle, and IndentGuide installed. I've recently been working mainly on AVR projects which I've always had problems creating (the nature is not correctly set for one thing) but once I get one to the stage it will build it seems to remain stable. Yesterday, I had need to write some plain C++ to test something. Creating a new C++ project failed. Opening an existing project appeared to work but the projects show no contents (they do exist on-disk). Unsurprisingly attempting to build such an existing projects also fails. The errors are all similar, I'll try and attach an image of the build failure but they refer to Cannot invoke "Object.equals(Object)" because "o" is null. Any suggestions would be appreciated. I'm happy to try to provide any other info that might be useful. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 9 replies
-
2)I haven't tested Sloeber yet on the latest CDT version so I do not know whether that will work, but issues have been reported in this area. 3)If the avr plugin you installed is this one https://avr-eclipse.sourceforge.net/wiki/index.php/Plugin_Download It looks to me that you have put together a lot of plugins and therefore created a very unique situation. So my advice: as you seem to have a problem creating a standard CDT project create the project in a standard CDT install. If it works you know the problem only occurs when one of the additional plugins is installed. If it doesn't work you may have found a CDT issue. |
Beta Was this translation helpful? Give feedback.
-
Is there an error message in the log with a full stack trace. A null pointer in the new project wizard is pretty critical so resolving this will be a priority. If the problem is in cdt we will do a near immediate release too. |
Beta Was this translation helpful? Give feedback.
-
Further: Suspecting it might be a problem on my machine, as well as the fresh install of 2023-03 I also did fresh installs of 2022-12, 2022-09 and 2022-06 (the version that "works" on my old laptop). I also installed MinGW64 and tried each version of Eclipse with each version of MinGW in the system path. Looking just at the preference pages for "Core Build Toolchains" and "New C/C++ Project Wizard" I get the following results: I changed nothing other than the system path between tests so it does look like something about 2023-03 is different...? If I have time I'll try creating a project with each configuration. Unless the problem gets resolved of course :-) |
Beta Was this translation helpful? Give feedback.
-
This is a regression introduced in #243. I have started tracking it in #330 |
Beta Was this translation helpful? Give feedback.
-
This is a regression introduced in #243. I have started tracking it in #330 and the fix has now been deployed as CDT 11.1.1. |
Beta Was this translation helpful? Give feedback.
This is a regression introduced in #243. I have started tracking it in #330