cursive-ide / cursive

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

"Indent detection is too long" after Windows 10 Anniversary Update #1485

Closed conan closed 8 years ago

conan commented 8 years ago

I installed the Windows 10 Anniversary update and now Intellij hangs on startup when syncing my projects. Invalidating caches didn't help. With Cursive disabled it starts. Here is the idea.log (sorry for the length):

2016-08-05 11:34:03,949 [      0]   INFO -        #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------ 
2016-08-05 11:34:03,992 [     43]   INFO -        #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IU-162.1447.26, 02 Aug 2016 00:00) 
2016-08-05 11:34:03,992 [     43]   INFO -        #com.intellij.idea.Main - OS: Windows 10 (10.0, x86) 
2016-08-05 11:34:03,992 [     43]   INFO -        #com.intellij.idea.Main - JRE: 1.8.0_76-release-b216 (JetBrains s.r.o) 
2016-08-05 11:34:03,992 [     43]   INFO -        #com.intellij.idea.Main - JVM: 25.76-b216 (OpenJDK Server VM) 
2016-08-05 11:34:03,994 [     45]   INFO -        #com.intellij.idea.Main - JVM Args: -Xms128m -Xmx512m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Djb.vmOptionsFile=C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.2\bin\idea.exe.vmoptions -Xbootclasspath/a:C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.2\lib\boot.jar -Didea.paths.selector=IntelliJIdea2016.2 -Didea.jre.check=true -XX:ErrorFile=C:\Users\Conan\java_error_in_idea_%p.log -XX:HeapDumpPath=C:\Users\Conan\java_error_in_idea.hprof 
2016-08-05 11:34:03,994 [     45]   INFO -        #com.intellij.idea.Main - ext: C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.2\jre\jre\lib\ext: [access-bridge-32.jar, access-bridge.jar, cldrdata.jar, dnsns.jar, jaccess.jar, jfxrt.jar, localedata.jar, meta-index, nashorn.jar, sunec.jar, sunjce_provider.jar, sunmscapi.jar, sunpkcs11.jar, zipfs.jar] 
2016-08-05 11:34:03,995 [     46]   INFO -        #com.intellij.idea.Main - JNU charset: Cp1252 
2016-08-05 11:34:04,038 [     89]   INFO -        #com.intellij.idea.Main - JNA library loaded (32-bit) in 43 ms 
2016-08-05 11:34:04,041 [     92]   INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational 
2016-08-05 11:34:04,042 [     93]   INFO -        #com.intellij.idea.Main - Using "FocusKiller" library to prevent focus stealing. 
2016-08-05 11:34:06,476 [   2527]   INFO - llij.ide.plugins.PluginManager - 129 plugins initialized in 1554 ms 
2016-08-05 11:34:06,504 [   2555]   INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: ASP (0.1), Android Support (10.2.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 (162.1447.26), CVS Integration (11), ClearCase Integration (2.0), Cloud Foundry integration (1.0), CloudBees integration (1.0), CoffeeScript (2.0), Copyright (8.1), Coverage (162.1447.26), 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 (162.1447.26), Emma (162.1447.26), Flash/Flex Support (162.1447.26), FreeMarker support (1.0), GWT Support (1.0), Geronimo Integration (1.0), Gherkin (999.999), Git Integration (8.1), GitHub (162.1447.26), GlassFish Integration (1.0), Google App Engine Integration (1.1.4), Gradle (162.1447.26), Grails (9.0), Groovy (9.0), Guice (8.0), HAML (162.1447.26), HTML Tools (2.0), Heroku integration (1.0), Hibernate Support (1.0), I18n for Java (162.1447.26), IDEA CORE (162.1447.26), 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 (162.1447.26), 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 (JSP) 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.3-release-IJ2016.1-120), LESS support (162.1447.26), Maven Integration (162.1447.26), Maven Integration Extension (162.1447.26), OpenShift integration (1.0), Osmorc (1.4.8), Perforce Integration (2.0), Persistence Frameworks Support (1.0), Playframework Support (1.0), Plugin DevKit (1.0), Properties Support (162.1447.26), QuirksMode (162.1447.26), REST Client (162.1447.26), Refactor-X (2.01), Remote Hosts Access (0.1), Resin Integration (8.1), SASS support (162.1447.26), SSH Remote Run (0.1), Settings Repository (162.1447.26), 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 (162.1447.26), 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 (162.1447.26), 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 (162.1447.26), ZKM-Unscramble (1.0), dmServer Support (0.9.5), hg4idea (10.0) 
2016-08-05 11:34:06,504 [   2555]   INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: BashSupport (1.5.8.162), Cursive (1.3.1-eap2-2016.2), Lines Sorter (1.0.1) 
2016-08-05 11:34:08,088 [   4139]   INFO - ellij.vfs.persistent.FSRecords - Marking VFS as corrupted: corruption marker found 
2016-08-05 11:34:08,089 [   4140]   INFO - ellij.vfs.persistent.FSRecords - Filesystem storage is corrupted or does not exist. [Re]Building. Reason: Corruption marker file found 
2016-08-05 11:34:08,103 [   4154]   INFO - ellij.vfs.persistent.FSRecords - Marking VFS as corrupted: 'C:\Users\Conan\.IntelliJIdea2016.2\system\caches\names.dat' does not exist 
2016-08-05 11:34:08,105 [   4156]   INFO - ellij.util.io.PagedFileStorage - lower=100; upper=200; buffer=10; max=474 
2016-08-05 11:34:08,151 [   4202]   INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.2\bin\fsnotifier.exe 
2016-08-05 11:34:08,165 [   4216]   INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational. 
2016-08-05 11:34:09,599 [   5650]   INFO - .history.utils.LocalHistoryLog - FS has been rebuild, rebuilding local history... 
2016-08-05 11:34:10,114 [   6165]   INFO - lij.diagnostic.DebugLogManager - Set DEBUG for the following categories:  
2016-08-05 11:34:10,531 [   6582]   INFO -   #com.intellij.AbstractBundle - Cannot load resource bundle from *.properties file, falling back to slow class loading: com.intellij.javaee.heroku.cloud.HerokuBundle 
2016-08-05 11:34:10,673 [   6724]   INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342 
2016-08-05 11:34:10,699 [   6750]   INFO - gs.impl.UpdateCheckerComponent - channel: release 
2016-08-05 11:34:10,932 [   6983]   INFO - il.indexing.FileBasedIndexImpl - Index exts enumerated:205 
2016-08-05 11:34:10,944 [   6995]   INFO - il.indexing.FileBasedIndexImpl - Index scheduled:11 
2016-08-05 11:34:10,990 [   7041]   INFO - tellij.psi.stubs.StubIndexImpl - All stub exts enumerated:39 
2016-08-05 11:34:10,990 [   7041]   INFO - tellij.psi.stubs.StubIndexImpl - stub exts update scheduled:0 
2016-08-05 11:34:11,503 [   7554]   INFO - j.ide.script.IdeStartupScripts - 0 startup script(s) found 
2016-08-05 11:34:12,821 [   8872]   INFO - stubs.SerializationManagerImpl - Name storage is repaired 
2016-08-05 11:34:14,233 [  10284]   INFO - ij.psi.stubs.StubUpdatingIndex - Following new file types will be indexed:Literate CoffeeScript,JSX Harmony,Groovy,TypeScript,XML,Properties,kotlin_builtins,ECMAScript 6,TypeScript JSX,FTL,KJSM,Kotlin,HTML,AspectJ,spring.factories,CoffeeScript,SQL,CFML,SWF,Bash,JAVA,Less,CSS,JSP,CLASS,Stylus,JavaScript,SCSS,Sass,ActionScript 
2016-08-05 11:34:16,144 [  12195]   INFO - pl$FileIndexDataInitialization - Initialization done:5199 
2016-08-05 11:34:16,890 [  12941]   INFO -            cursive.repl.server - Started local REPL on port 50852 
2016-08-05 11:34:17,451 [  13502]   INFO - plication.impl.ApplicationImpl - 100 application components initialized in 12530 ms 
2016-08-05 11:34:17,471 [  13522]   INFO - .intellij.idea.IdeaApplication - App initialization took 14509 ms 
2016-08-05 11:34:18,025 [  14076]   INFO - .openapi.application.Preloader - Finished preloading com.intellij.openapi.actionSystem.impl.ActionPreloader@309cb3 
2016-08-05 11:34:21,094 [  17145]   INFO - .openapi.application.Preloader - Finished preloading com.intellij.ide.ui.search.SearchableOptionPreloader@f04a3e 
2016-08-05 11:34:22,464 [  18515]   INFO - exImpl$StubIndexInitialization - Initialization done:6319 
2016-08-05 11:34:32,267 [  28318]   INFO - ellij.project.impl.ProjectImpl - 24 project components initialized in 539 ms 
2016-08-05 11:34:32,267 [  28318]   INFO - le.impl.ModuleManagerComponent - 0 module(s) loaded in 0 ms 
2016-08-05 11:34:32,442 [  28493]   INFO - CompilerWorkspaceConfiguration - Available processors: 4 
2016-08-05 11:34:33,980 [  30031]   INFO - ellij.project.impl.ProjectImpl - 188 project components initialized in 2539 ms 
2016-08-05 11:34:35,296 [  31347]   INFO - le.impl.ModuleManagerComponent - 14 module(s) loaded in 1315 ms 
2016-08-05 11:34:35,296 [  31347]   INFO -    #cursive.config.InitProject - Project components initialised at 1470393275296 
2016-08-05 11:34:40,191 [  36242]   WARN - tectAndAdjustIndentOptionsTask - Indent detection is too long for: mirakl_parser.clj 
2016-08-05 11:34:40,191 [  36242]   WARN - tectAndAdjustIndentOptionsTask - Indent detection is too long for: new_migrations.clj 
2016-08-05 11:34:40,191 [  36242]   WARN - tectAndAdjustIndentOptionsTask - Indent detection is too long for: global_prices.clj

Cursive 1.3.1-eap2-2016.2, Intellij 2016.2.1

conan commented 8 years ago

Reinstalled Cursive, no joy

conan commented 8 years ago

Closing the open files (which included the three "Indent detection" errors) has allowed it to start. I had to disable Cursive to close them, and then re-enable.