Intellij IDEA is not remembering the license/activation code or the opened projects after doing a restart - intellij-idea

I have entered my Jetbrains license and already created a project three times now. I imported IDE settings which requires a restart and when the restart happens poof the license/activation key is gone as well as the project that had already been opened.
This is a strange behavior. I have installed and used the jetbrains products many dozens of times on different computers and had not seen this before. In fact DataSpell and Pycharm are working normally on this same computer.
I am on macOS Monterey 12.5.1

This problem has been identified as being due to using the "import Settings" feature. When I do that and restart Intellij then the activation code and in fact all past knowledge of my installation are gone. #CrazyCoder

Related

IntelliJ stopped auto saving - how to fix / find cause

Question is what steps can I take to debug this?
It does very occasionally auto-save itself, but not on change of active window as previously. I can't yet reproduce a specific cause of this (very occasional) autosave.
I have all auto-save options as per default:
I recently did brew upgrade including fswatch. Would I be right in assuming IntelliJ would use its own though, not brew's fswatch if installed?
Another possibility is it's a Mac OS Privacy thing; a Catalina update seems to have broken one program which expected disk access to be available, now it's not; not sure if Intellij has lost some kind of OS permission to do (auto) saves(?), while this doesn't affect a user issued command to save, which works fine.

Intellij Idea won't start Windows 10

I downloaded Intellij Idea and was using it just fine for a while. I don't know what happened between the time it was working and when it started to not work. When I would click the shortcut, my mouse would give me the loading wheel and then nothing would happen. In task manager, there is a task called "IntelliJ Idea" running. I uninstalled and reinstalled twice, and then installed it with the JetBrains toolbox, but this is still happening. I saw another thread about this from 4 years ago, but none of the solutions worked for me.
Other thread: Intellij IDEA won't start
I thought I would post this since I recently came across a similar issue with IntelliJ IDE Community Edition but for MacOS and it seems like the same issue could potentially happen on Windows.
I was using the JetBrains Toolbox to manage the installations and updates and after a recent update, when trying to start the app it would simply attempt to start and get killed straight away. After not having much luck with the logs I eventually found the exception that was being thrown when it attempted to start:
java.lang.UnsupportedClassVersionError: com/intellij/util/lang/PathClassLoader has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
So from this I realized that the app was trying to run with an older version of Java and I found how to change it in this post. In my case the 'idea.jdk' file was located in '/Users/user/Library/Application Support/JetBrains/IdeaIC2021.2' and for some reason was not updated after the application update.

Cmake-gui not coming up on windows

I am using Cmake-gui and it was working fine, suddenly it started crashing. Whenever i try to open it, it gets added to the taskbar but app doesn't open. I waited for many hours also. I tried installing previous versions also but same thing is happening. I am using windows 10 amd Cmake version 3.16.
I solved my issue by removing the following key from the windows registry :
Computer\HKEY_CURRENT_USER\Software\Kitware\CMakeSetup
It contained all the settings of my last run of Cmake. Some of them became invalid due to changes on my system.
Deleting the key has reset the settings to default and cMake-gui launched successfully.

How can I stop my IAR ide from hanging when changing build configurations

I have come across this particular problem several times across several versions of the IAR embedded workbench (EW430 5.40.7 [EW 6.0], EW430 5.51.2 [EW 6.4], EW430 6.20.1 [EW 7.0]), but each time only after a long period of having no problems. The problem doesn't seem to have affected the other firmware developers in the office, so no help can be offered there. I'm currently on Windows 10, but the problems first occurred when I was on Windows 8.1 (same PC.)
The problem is that, for no obvious trigger, the IAR ide will start to hang until terminated (or it will just crash on one of the EW versions) on any attempt to change the active build configuration in MSP430 projects using the emulator.
From my testing, it appears to be directly related to something the IDE is doing with the emulator, as when the build configuration is changed, I can see the emulator menu in the menu bar disappear, then the hang happens. Under normal circumstances, the menu will disappear, but then reappear once the other debug configuration is completely loaded.
I have tried the default project "flashing the LED" to see if it was only my project - but if I select the msp430x4xx (C) - Debug, right click it and select "Set as Active" from the context menu, to make this the active project, the IDE also hung. I then reopened the EW IDE, and opened the LED flashing project again. The original 1xx asm project was the active project.
I then changed the settings of the 4xx (C) Debug project (without making it the active project) from the emulator to the simulator, and clicked OK. The program did NOT crash.
I then set the 4xx (C) Debug project as the active project and it did NOT crash. The simulator even runs without problems.
The version of the FET firmware didn't change from when the IDE worked correctly to when it didn't, and the FET is not even used at this point. It can be completely disconnected and the same results will occur.
I have tried the following, without success:
erasing the files in my project folder's settings subfolder
erasing the *.dep files in the project folder.
deleting the IarIdePm.ini file from AppData\Roaming\IAR Embedded Workbench
making sure none of the project files are read-only
reinstalling the program to the same location
removing and reinstalling the program to the same location.
What does solve the problem (until it reoccurs) is to reinstall the program, but to a different directory (for e.g., the default directory will be in program files (x86)\IAR Systems\Embedded Workbench x.x. Installing again into program files (x86)\IAR Systems\EWx (just so it is different) allowed that installation to work, but the old installation continued to fail.
Best advice so far (from our support person) has been to do the above, install to another directory and live with it, as it doesn't happen often.
Since it has happened to me on 3 occasions with 3 different versions of the program, I would like to know how to fix or prevent it! If anyone could offer anything to try (or even better, a straight solution :)) that would be greatly appreciated!
Cheers!
Since newer versions and updates on W10, it seems that old compatibilities are being removed from this OS. I have no direct solution for this problem since Microsoft does not promise support for old software and hardware. Even I tried to find a solution for that problem, and I found on the IAR website a list of IDE's and their compatible versions. (remember, old versions are not compatible)
( https://www.iar.com/knowledge/support/technical-notes/ide/windows-10-and-iar-embedded-workbench/ )
You will need to update your IDE and program version to a newer version if you plan to continue to use this IDE natively on Windows 10 or you may use Virtual machines with an old operational system (like Windows 7) to compile your program on old IDE.
P.S.1 I manually uninstalled KB4592449 recently updated and the program return to work natively. Probably it will continue working until this update (or other similar) being installed again on the computer, but probably there is any vulnerability that the computer will be exposed to, and in this case, I'm paying the price.
P.S.2 KB4580325 promotes the same behavior in IAR 5.11 on windows 10. Both KB's implement securities about the flash player - that I Don't use - then, I can securely uninstall it.
P.S.3 Since I updated my windows up to Windows 10 version 21H1 (compilation 19043.1165) AND I configured Windows defender to not be monitoring IAR IDE (IarIdePM.exe) disabling all protections available, everything works fine. But Remember: my program is original, not cracked or altered by anything, then I am secure to do what I did.
It is a 'natural' that software problem. Not found way of fixing it. The solution temporary is modify manually the file .eww for change of project active. The ultimate solution is to use another development environment.

Eclipse plugin working on windows, but not on mac

My plugin is stored as an archived update site (.zip), and works perfectly fine in Indigo (3.7.1) and Juno (4.2) on Windows. However, when trying to run it on Mac OSX (tried on two different machines) and a fresh Juno, the installation works as usual and the plugin seems to be installed with no errors, but none of the plugin features are available (1 view, 2 buttons on main toolbar).
Starting eclipse from terminal just gives the warning No binding table for org.eclipse.ui.contexts.dialog, but after a bit of research, this seems to be a known and harmless issue of eclipse 4.2.
When looking at installation details, my plugin is listed as usual, just the features are missing...
What is going on here?
To figure it out, I did some debugging on a Mac, and it turned out, that it was a problem with the JRE-versions: My plugin requested 1.7, whereas the macs only had 1.6 installed. But still it's strange that eclipse doesn't say a word to the user at any time, even though it's declared in the MANIFEST.MF...