'IntelliJ idea stucked on "loading project" screen

This is a Monday morning nightmare on top of existing bugs I have!!

I have couple of projects which i open simultaneously using intellj. One of the project was not showing all directory structures inside it so i took some advice and deleted the .idea folder. Now all hell broke loose on me.

I am stucked here from the dawn of mankind now

Intellij logs

2017-12-04 09:46:59,444 [   9036]   INFO -                git4idea.GitVcs - Git version: 2.14.3.0 
2017-12-04 09:46:59,533 [   9125]   INFO - pl.projectlevelman.NewMappings - VCS Root: [Git] - [/codebase/plutus] 
2017-12-04 09:47:01,309 [  10901]   INFO - tor.impl.FileEditorManagerImpl - Project opening took 6353 ms 
2017-12-04 09:47:02,913 [  12505]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 4772ms; general responsiveness: ok; EDT responsiveness: 2/5 sluggish, 1/5 very slow 
2017-12-04 09:47:05,252 [  14844]   INFO - ellij.project.impl.ProjectImpl - 18 project components initialized in 52 ms 

# ----- ^^ all good till here, below is when i start open new project


2017-12-04 09:47:26,455 [  36047]   INFO - og4jmonitor.Log4JWindowManager - creating new LoggingReceiver on port:=4454 
2017-12-04 09:47:26,496 [  36088]   INFO - ellij.project.impl.ProjectImpl - 153 project components initialized in 165 ms 
2017-12-04 09:47:26,497 [  36089]   INFO - le.impl.ModuleManagerComponent - 0 module(s) loaded in 0 ms 
2017-12-04 09:47:26,645 [  36237]   INFO - CompilerBackwardReferenceIndex - backward reference index version differ due to: class java.io.FileNotFoundException 

Two errors i see on my screen are :

enter image description here

Intellij version

enter image description here

Any help would draw your chances of not having monday morning blues and nightmare like me! :)
Thank you!



Solution 1:[1]

Delete the .idea folder from project worked for me.

Solution 2:[2]

I think it's because of Log4JPlugin see - problem here also
in my case : delete this(Log4JPlugin) plugin and restart it -> it's worked for me

Solution 3:[3]

I had red icon in the corner. Clicking it showed information of some problem with Makefile support. I disable the plugin and all opened as usual.

==> Glady I didn't delete the .idea folder as suggested (I just renamed it, and renamted back after solving the problem). Delete it will also cause losing deployment server info and probably more other important date.

Solution 4:[4]

For me it was a partly-completed Resolve Conflicts.

Complete the conflict resolution using a different tool before opening the project again.

Solution 5:[5]

I had set the runtime version to java 8 instead of java 11 using the choose runtime plugin (for version 2020.2). Reverted it back to 11, invalidated caches and restarted, and the problem went away. (When I had this problem, wasn't able to open action pop up, so assigned a shortcut to choose runtime from preferences.)

Solution 6:[6]

IntelliJ keeps its data in the .idea folder. Deleting .idea folder from the project repo and re-opening the project should fix this issue (worked for me).

Solution 7:[7]

I resolved the issue by deleting only the file workspace.xml located under .idea folder.
This is useful whenever you need to keep configs of your plugins for that project.

Solution 8:[8]

  • Close all opened projects to startup PhpStorm window
  • Open folder/project that you need
  • Profit

Solution 9:[9]

When the "loading..." appears. Try to save a file. That seems to trigger a event to the file-system, and the directory is loaded.

Solution 10:[10]

Mine had the biggest stack trace I have ever seen in the logs: 1025 lines.

The skinny was I had just done some Maven Archetype work and enabled the plugin. When I found this stack trace, I disabled it and it worked fine.

   Conflicting component name 'Archetypes.Configuration': class org.google.code.archetypes.ArchetypesConfiguration and class org.google.code.archetypes.ArchetypesConfiguration 

Solution 11:[11]

For me, I used guidance from JetBrains.

Remove the configuration folder.
macOS:
Configuration (idea.config.path): ~/Library/Application Support/JetBrains/IntelliJIdea2020.3
Plugins (idea.plugins.path): ~/Library/Application Support/JetBrains/IntelliJIdea2020.3/plugins