cursive-ide / cursive

Cursive: The IDE for beautiful Clojure code
579 stars 7 forks source link

Hang loading project in Intellij 15 #1161

Closed conan closed 8 years ago

conan commented 8 years ago

I've upgraded to the latest Cursive and Intellij, and I can no longer load my project. It hangs on the "Loading project" progress bar, munching 33% of my CPU indefinitely. Here's my log:

2015-11-16 17:38:35,513 [    497]   INFO -        #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------ 
2015-11-16 17:38:35,554 [    538]   INFO -        #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IU-143.382.35, 10 Nov 2015 00:00) 
2015-11-16 17:38:35,554 [    538]   INFO -        #com.intellij.idea.Main - OS: Windows 8 (6.2, x86) 
2015-11-16 17:38:35,554 [    538]   INFO -        #com.intellij.idea.Main - JRE: 1.8.0_51-b16 (Oracle Corporation) 
2015-11-16 17:38:35,554 [    538]   INFO -        #com.intellij.idea.Main - JVM: 25.51-b03 (Java HotSpot(TM) Server VM) 
2015-11-16 17:38:35,555 [    539]   INFO -        #com.intellij.idea.Main - JVM Args: -Xms128m -Xmx512m -XX:MaxPermSize=250m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Djb.vmOptions=C:\Program Files (x86)\JetBrains\IntelliJ IDEA 15.0\bin\idea.exe.vmoptions -Xbootclasspath/a:C:\Program Files (x86)\JetBrains\IntelliJ IDEA 15.0\lib\boot.jar -Didea.paths.selector=IntelliJIdea15 
2015-11-16 17:38:35,699 [    683]   INFO -        #com.intellij.idea.Main - JNA library loaded (32-bit) in 143 ms 
2015-11-16 17:38:35,702 [    686]   INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational 
2015-11-16 17:38:35,703 [    687]   INFO -        #com.intellij.idea.Main - Using "FocusKiller" library to prevent focus stealing. 
2015-11-16 17:38:37,956 [   2940]   INFO - llij.ide.plugins.PluginManager - 129 plugins initialized in 1524 ms 
2015-11-16 17:38:37,976 [   2960]   INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: ASP (0.1), Android Support (10.1.3.0), Ant Support (1.0), Application Servers View (0.2.0), AspectJ Support (1.2), Bytecode Viewer (0.1), CFML Support (3.53), CSS Support (143.SNAPSHOT), CVS Integration (11), ClearCase Integration (2.0), Cloud Foundry integration (1.0), CloudBees integration (1.0), CoffeeScript (2.0), Copyright (8.1), Coverage (143.SNAPSHOT), Cucumber for Groovy (999.999), Cucumber for Java (999.999), DSM Analysis (1.0.0), Database Tools and SQL (1.0), Eclipse Integration (3.0), EditorConfig (1.0), Emma (143.SNAPSHOT), Flash/Flex Support (1.0), FreeMarker support (1.0), GWT Support (1.0), Geronimo Integration (1.0), Gherkin (999.999), Git Integration (8.1), GitHub (143.382.35), GlassFish Integration (1.0), Google App Engine Integration (1.1.4), Gradle (143.382.35), Grails (9.0), Groovy (9.0), Guice (8.0), HAML (143.SNAPSHOT), HTML Tools (2.0), Heroku integration (1.0), Hibernate Support (1.0), I18n for Java (143.382.35), IDEA CORE (143.SNAPSHOT), IntelliLang (8.0), J2ME (1.0), JBoss Arquillian Support (1.0), JBoss Drools Support (1.0), JBoss Integration (1.0), JBoss Seam Pageflow Support (1.0), JBoss Seam Pages Support (1.0), JBoss Seam Support (1.0), JBoss Support (1.0), JBoss jBPM (2.0.0), JSR45 Integration (1.0), JUnit (1.0), Java Bytecode Decompiler (0.1), Java EE: Batch Applications (1.0), Java EE: Bean Validation Support (1.1), Java EE: Contexts and Dependency Injection (1.1), Java EE: EJB, JPA, Servlets (1.0), Java EE: JMS, JSON Processing, Concurrency, Transaction  (1.0), Java EE: Java Server Faces (2.2.X.), Java EE: RESTful Web Services (JAX-RS) (1.0), Java EE: Web Services (JAX-WS) (1.9), Java EE: WebSockets (1.0), Java Server Pages Integration (1.0), JavaFX (1.0), JavaScript Debugger (1.0), JavaScript Intention Power Pack (0.9.4), JavaScript Support (1.0), Jetty Integration (1.0), Kotlin (1.0.0-beta-1103-IJ143-27), LESS support (143.SNAPSHOT), Maven Integration (143.382.35), Maven Integration Extension (143.SNAPSHOT), OpenShift integration (1.0), Osmorc (1.4.7), Perforce Integration (2.0), Persistence Frameworks Support (1.0), Playframework Support (1.0), Plugin DevKit (1.0), Properties Support (143.SNAPSHOT), QuirksMode (143.SNAPSHOT), REST Client (143.SNAPSHOT), Refactor-X (2.01), Remote Hosts Access (0.1), Resin Integration (8.1), SASS support (143.SNAPSHOT), SSH Remote Run (0.1), Settings Repository (143.382.35), Spring AOP/@AspectJ (1.0), Spring Batch (1.0), Spring Boot (1.0), Spring Data (1.0), Spring Integration Patterns (1.0), Spring MVC (1.0), Spring OSGi (1.0), Spring Security (1.0), Spring Support (1.0), Spring Web Flow (1.0), Spring Web Services (1.0), Spring WebSocket (1.0), Spy-js (999.999), Struts 1.x (2.0), Struts 2 (1.0), Stylus support (999.999), Subversion Integration (1.1), TFS Integration (999.999), Tapestry support (1.0), Task Management (1.0), Terminal (0.1), TestNG-J (8.0), Thymeleaf (1.0), Time Tracking (1.0), Tomcat and TomEE Integration (1.0), UI Designer (143.382.35), UML Support (1.0), Vaadin Support (1.0), Velocity support (1.0), W3C Validators (2.0), WebLogic Integration (1.0), WebSphere Integration (1.0), XPathView + XSLT Support (4), XSLT-Debugger (1.4), YAML (143.SNAPSHOT), ZKM-Unscramble (1.0), dmServer Support (0.9.5), hg4idea (10.0) 
2015-11-16 17:38:37,976 [   2960]   INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: Cursive (0.1.70), Lines Sorter (1.0.1), Markdown (0.9.7) 
2015-11-16 17:38:39,373 [   4357]   INFO - ellij.util.io.PagedFileStorage - lower=100; upper=200; buffer=10; max=498008064 
2015-11-16 17:38:39,411 [   4395]   INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: C:\Program Files (x86)\JetBrains\IntelliJ IDEA 15.0\bin\fsnotifier.exe 
2015-11-16 17:38:39,423 [   4407]   INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational. 
2015-11-16 17:38:40,451 [   5435]   INFO - .history.utils.LocalHistoryLog - local history version mismatch (was: 0, expected: 6), rebuilding... 
2015-11-16 17:38:40,452 [   5436]   INFO - .history.utils.LocalHistoryLog - FS has been rebuild, rebuilding local history... 
2015-11-16 17:38:40,656 [   5640]   INFO - lij.diagnostic.DebugLogManager - Set DEBUG for the following categories: [] 
2015-11-16 17:38:41,001 [   5985]   INFO -   #com.intellij.AbstractBundle - Cannot load resource bundle from *.properties file, falling back to slow class loading: com.intellij.javaee.heroku.cloud.HerokuBundle 
2015-11-16 17:38:41,080 [   6064]   INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342 
2015-11-16 17:38:46,457 [  11441]   INFO -            cursive.repl.server - Started local REPL on port 61128 
2015-11-16 17:38:46,936 [  11920]   INFO - plication.impl.ApplicationImpl - 97 application components initialized in 10506 ms 
2015-11-16 17:38:46,948 [  11932]   INFO - .intellij.idea.IdeaApplication - App initialization took 13453 ms 
2015-11-16 17:39:20,119 [  45103]   INFO - CompilerWorkspaceConfiguration - Available processors: 4 
2015-11-16 17:39:20,939 [  45923]   INFO - ellij.project.impl.ProjectImpl - 24 project components initialized in 90 ms 
2015-11-16 17:39:20,940 [  45924]   INFO - le.impl.ModuleManagerComponent - 0 module(s) loaded in 0 ms 
2015-11-16 17:39:21,743 [  46727]   INFO - ellij.project.impl.ProjectImpl - 184 project components initialized in 2720 ms 
2015-11-16 17:39:22,694 [  47678]   INFO - le.impl.ModuleManagerComponent - 6 module(s) loaded in 951 ms 
2015-11-16 17:39:22,694 [  47678]   INFO -    #cursive.config.InitProject - Project components initialised at 1447695562694 

I've tried cleaning the Intellij caches. Any ideas to avoid uninstalling everything and starting again?

Windows 10, Intellij 15.0.1, Cursive 0.1.70

danielcompton commented 8 years ago

I had this issue too I think, but it worked fine after restarting IntelliJ, and possibly my computer. Does that help?

conan commented 8 years ago

Sadly I've tried both things many times!

conan commented 8 years ago

Actually forget it, I'll just reinstall everything again

pmoriarty commented 8 years ago

I'm seeing this too and have seen it on a number of machines. Could only solve it by deleting the whole project and opening a new checkout. Clearing caches did not work. I'll capture a thread dump next time it happens but I thought it was previously hung on a Cursive call.