Intellij Idea 2021.3 gives false warnings
Answered
intellij started acting weirdly after update to 2021.3
It is giving false warnings, and even for the right warnings, after fixing them, they still appear (see screenshots below).
I tried the 5 steps of repair ide in the file menu, but none of them worked.
screenshots:
1. Here is a line with unnecessary semicolon, even after removing it, the warning still appears. (first image is the code and second is the warning)


2. Here is a weird warning about something that does not even exist in my code


3. There are also warnings about using raw types (java) although I am 100% sure I am not doing that
Please sign in to leave a comment.
Hi there,
Is the issue reproducible with all custom plugins disabled (File | Settings | Plugins | Installed | ⚙ | 'Disable all downloaded plugins') and IDE restarted?
Hello, I don't know if you can reproduce it, but I just tried with what you required (they are only 2 plugins: tabnine and jpa buddy) and the bug still happens. What should I do to fix it?
Hello, please create an issue at the YouTrack: https://youtrack.jetbrains.com/issues/IDEA and attach the log files to it (Help | Show Log in Finder). Thank you
I have the same problem on my Mac. I have the problem since at least 2 or 3 IntelliJ major releases. So it started some time last year (or even longer, can't remember).
My workaround is currently to cut/paste the places which have the outdated code warnings. Then the warnings disappear. But this is definitely very annoying.
Did you create a ticket? What is the ticket number?
Hello, please disable all custom plugins. In case the issue persists, please create an issue at YouTrack: https://youtrack.jetbrains.com/issues/IDEA
and attach the sample project and the idea.log file to it (Help | Show Log in Finder) if possible. Thank you