{"action":"created","issue":{"url":"https://api.github.com/repos/cursiveclojure/cursive/issues/1160","labels_url":"https://api.github.com/repos/cursiveclojure/cursive/issues/1160/labels{/name}","comments_url":"https://api.github.com/repos/cursiveclojure/cursive/issues/1160/comments","events_url":"https://api.github.com/repos/cursiveclojure/cursive/issues/1160/events","html_url":"https://github.com/cursiveclojure/cursive/issues/1160","id":117178224,"number":1160,"title":"IntelliJ15 Indexes Indefinitely with Cursive Enabled","user":{"login":"chetmancini","id":170039,"avatar_url":"https://avatars.githubusercontent.com/u/170039?v=3","gravatar_id":"","url":"https://api.github.com/users/chetmancini","html_url":"https://github.com/chetmancini","followers_url":"https://api.github.com/users/chetmancini/followers","following_url":"https://api.github.com/users/chetmancini/following{/other_user}","gists_url":"https://api.github.com/users/chetmancini/gists{/gist_id}","starred_url":"https://api.github.com/users/chetmancini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chetmancini/subscriptions","organizations_url":"https://api.github.com/users/chetmancini/orgs","repos_url":"https://api.github.com/users/chetmancini/repos","events_url":"https://api.github.com/users/chetmancini/events{/privacy}","received_events_url":"https://api.github.com/users/chetmancini/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-16T17:35:43Z","updated_at":"2015-11-16T17:38:21Z","closed_at":null,"body":"On launch of IntelliJ 15 or 15 EAP I get an infinite progress bar \"Scanning files to index\" / \"Indexing...\"\r\n\r\nI assumed it was a bug with IntellJ so I contacted JetBrains support and they had me investigate the `idea.log` file. It contains the following (which repeats over and over). Disabling Cursive results in IntelliJ15 working normally. IntelliJ14 with Cursive works fine, so this issue is just with 15 I believe.\r\n\r\nI'm using version 0.1.70 from the https://cursiveclojure.com/plugins-15.xml repository.\r\n\r\n```\r\n\r\n2015-11-16 12:21:34,650 [ 154004]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 4191ms; general responsiveness: ok; EDT responsiveness: ok \r\n2015-11-16 12:21:34,650 [ 154004]   INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 2439 files to update \r\n2015-11-16 12:21:35,931 [ 155285]   INFO - j.util.indexing.MapReduceIndex - Exception during updateWithMap:com.intellij.util.indexing.StorageException: java.lang.NullPointerException: null keys not supported \r\n2015-11-16 12:21:35,973 [ 155327]   INFO - il.indexing.FileBasedIndexImpl - Rebuild requested for index ClojureJavascript \r\ncom.intellij.util.indexing.StorageException: java.lang.NullPointerException: null keys not supported\r\n\tat com.intellij.util.indexing.MapReduceIndex.updateWithMap(MapReduceIndex.java:756)\r\n\tat com.intellij.util.indexing.MapReduceIndex$8$1.run(MapReduceIndex.java:531)\r\n\tat com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:446)\r\n\tat com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)\r\n\tat com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)\r\n\tat com.intellij.openapi.progress.impl.CoreProgressManager.executeNonCancelableSection(CoreProgressManager.java:170)\r\n\tat com.intellij.util.indexing.MapReduceIndex$8.compute(MapReduceIndex.java:527)\r\n\tat com.intellij.util.indexing.MapReduceIndex$8.compute(MapReduceIndex.java:523)\r\n\tat com.intellij.util.indexing.FileBasedIndexImpl.updateWithBufferingEnabled(FileBasedIndexImpl.java:1799)\r\n\tat com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:1775)\r\n\tat com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:1747)\r\n\tat com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:1671)\r\n\tat com.intellij.util.indexing.FileBasedIndexImpl.indexFileContent(FileBasedIndexImpl.java:1616)\r\n\tat com.intellij.util.indexing.UnindexedFilesUpdater$2.consume(UnindexedFilesUpdater.java:109)\r\n\tat com.intellij.util.indexing.UnindexedFilesUpdater$2.consume(UnindexedFilesUpdater.java:105)\r\n\tat com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$1.run(CacheUpdateRunner.java:225)\r\n\tat com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1169)\r\n\tat com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$2.run(CacheUpdateRunner.java:245)\r\n\tat com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142)\r\n\tat com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:446)\r\n\tat com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:443)\r\n\tat com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)\r\n\tat com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)\r\n\tat com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127)\r\n\tat com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.run(CacheUpdateRunner.java:239)\r\n\tat com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:365)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n\tat org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:55)\r\nCaused by: java.lang.NullPointerException: null keys not supported\r\n\tat gnu.trove.THashMap.put(THashMap.java:161)\r\n\tat com.intellij.util.indexing.ValueContainerImpl.a(ValueContainerImpl.java:71)\r\n\tat com.intellij.util.indexing.ValueContainerImpl.addValue(ValueContainerImpl.java:62)\r\n\tat com.intellij.util.indexing.ChangeTrackingValueContainer.addValue(ChangeTrackingValueContainer.java:58)\r\n\tat com.intellij.util.indexing.MapIndexStorage.addValue(MapIndexStorage.java:401)\r\n\tat com.intellij.util.indexing.MemoryIndexStorage.addValue(MemoryIndexStorage.java:149)\r\n\tat com.intellij.util.indexing.MapReduceIndex$10.process(MapReduceIndex.java:738)\r\n\tat com.intellij.util.indexing.MapDiffUpdateData.iterateAddedKeyAndValues(MapDiffUpdateData.java:65)\r\n\tat com.intellij.util.indexing.MapReduceIndex$SimpleUpdateData.iterateAddedKeys(MapReduceIndex.java:704)\r\n\tat com.intellij.util.indexing.MapReduceIndex.updateWithMap(MapReduceIndex.java:749)\r\n\t... 31 more\r\n2015-11-16 12:21:36,019 [ 155373]   INFO - .diagnostic.PerformanceWatcher - Unindexed files update took 1369ms; general responsiveness: ok; EDT responsiveness: ok \r\n2015-11-16 12:21:36,032 [ 155386]   INFO - il.indexing.FileBasedIndexImpl - scheduleIndexRebuild, reason: checkRebuild \r\n2015-11-16 12:21:36,292 [ 155646]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 260ms; general responsiveness: ok; EDT responsiveness: ok \r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/cursiveclojure/cursive/issues/comments/157112712","html_url":"https://github.com/cursiveclojure/cursive/issues/1160#issuecomment-157112712","issue_url":"https://api.github.com/repos/cursiveclojure/cursive/issues/1160","id":157112712,"user":{"login":"chetmancini","id":170039,"avatar_url":"https://avatars.githubusercontent.com/u/170039?v=3","gravatar_id":"","url":"https://api.github.com/users/chetmancini","html_url":"https://github.com/chetmancini","followers_url":"https://api.github.com/users/chetmancini/followers","following_url":"https://api.github.com/users/chetmancini/following{/other_user}","gists_url":"https://api.github.com/users/chetmancini/gists{/gist_id}","starred_url":"https://api.github.com/users/chetmancini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chetmancini/subscriptions","organizations_url":"https://api.github.com/users/chetmancini/orgs","repos_url":"https://api.github.com/users/chetmancini/repos","events_url":"https://api.github.com/users/chetmancini/events{/privacy}","received_events_url":"https://api.github.com/users/chetmancini/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T17:38:21Z","updated_at":"2015-11-16T17:38:21Z","body":"Possible dupe of https://github.com/cursiveclojure/cursive/issues/1154? Stacktrace looked a little different and versions different. Happy to close this and combine with the other if you'd prefer though."}}