{"action":"created","issue":{"url":"https://api.github.com/repos/cursiveclojure/cursive/issues/376","labels_url":"https://api.github.com/repos/cursiveclojure/cursive/issues/376/labels{/name}","comments_url":"https://api.github.com/repos/cursiveclojure/cursive/issues/376/comments","events_url":"https://api.github.com/repos/cursiveclojure/cursive/issues/376/events","html_url":"https://github.com/cursiveclojure/cursive/issues/376","id":34573782,"number":376,"title":"Got an exception","user":{"login":"rogergl","id":98088,"avatar_url":"https://avatars.githubusercontent.com/u/98088?v=3","gravatar_id":"","url":"https://api.github.com/users/rogergl","html_url":"https://github.com/rogergl","followers_url":"https://api.github.com/users/rogergl/followers","following_url":"https://api.github.com/users/rogergl/following{/other_user}","gists_url":"https://api.github.com/users/rogergl/gists{/gist_id}","starred_url":"https://api.github.com/users/rogergl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogergl/subscriptions","organizations_url":"https://api.github.com/users/rogergl/orgs","repos_url":"https://api.github.com/users/rogergl/repos","events_url":"https://api.github.com/users/rogergl/events{/privacy}","received_events_url":"https://api.github.com/users/rogergl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cursiveclojure/cursive/milestones/40","labels_url":"https://api.github.com/repos/cursiveclojure/cursive/milestones/40/labels","id":939768,"number":40,"title":"0.1.45","description":"","creator":{"login":"cursiveclojure","id":5589171,"avatar_url":"https://avatars.githubusercontent.com/u/5589171?v=3","gravatar_id":"","url":"https://api.github.com/users/cursiveclojure","html_url":"https://github.com/cursiveclojure","followers_url":"https://api.github.com/users/cursiveclojure/followers","following_url":"https://api.github.com/users/cursiveclojure/following{/other_user}","gists_url":"https://api.github.com/users/cursiveclojure/gists{/gist_id}","starred_url":"https://api.github.com/users/cursiveclojure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cursiveclojure/subscriptions","organizations_url":"https://api.github.com/users/cursiveclojure/orgs","repos_url":"https://api.github.com/users/cursiveclojure/repos","events_url":"https://api.github.com/users/cursiveclojure/events{/privacy}","received_events_url":"https://api.github.com/users/cursiveclojure/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":10,"state":"open","created_at":"2015-01-17T13:06:55Z","updated_at":"2015-02-04T00:05:07Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2014-05-29T17:18:28Z","updated_at":"2015-02-04T00:05:07Z","closed_at":"2015-02-04T00:05:07Z","body":"Just got a warning from Intellij that this exception happened 3 times:\r\n\r\ncursive.psi.impl.ClLiteralImpl cannot be cast to com.intellij.psi.PsiPolyVariantReference: cursive.psi.impl.ClLiteralImpl cannot be cast to com.intellij.psi.PsiPolyVariantReference\r\njava.lang.ClassCastException: cursive.psi.impl.ClLiteralImpl cannot be cast to com.intellij.psi.PsiPolyVariantReference\r\n\tat plugin.resolve$resolve.invoke(resolve.clj:36)\r\n\tat plugin.extensions.clojure.core.protocols$find_target_methods.invoke(protocols.clj:131)\r\n\tat plugin.extensions.clojure.core.protocols$implementation_locals$fn__3902.invoke(protocols.clj:209)\r\n\tat clojure.core.protocols$fn__6022.invoke(protocols.clj:79)\r\n\tat clojure.core.protocols$fn__5979$G__5974__5992.invoke(protocols.clj:13)\r\n\tat clojure.core$reduce.invoke(core.clj:6177)\r\n\tat plugin.extensions.clojure.core.protocols$implementation_locals.invoke(protocols.clj:208)\r\n\tat plugin.extensions.clojure.core.protocols$reify_locals.invoke(protocols.clj:238)\r\n\tat plugin.resolve.lists$list_resolve_symbols$fn__6310.invoke(lists.clj:36)\r\n\tat clojure.core$map$fn__4207.invoke(core.clj:2487)\r\n\tat clojure.lang.LazySeq.sval(LazySeq.java:42)\r\n\tat clojure.lang.LazySeq.seq(LazySeq.java:60)\r\n\tat clojure.lang.Cons.next(Cons.java:39)\r\n\tat clojure.lang.RT.boundedLength(RT.java:1654)\r\n\tat clojure.lang.RestFn.applyTo(RestFn.java:130)\r\n\tat clojure.core$apply.invoke(core.clj:619)\r\n\tat plugin.resolve.lists$list_resolve_symbols.invoke(lists.clj:34)\r\n\tat plugin.psi$cached_value$reify__5803.compute(psi.clj:344)\r\n\tat com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:49)\r\n\tat com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:199)\r\n\tat com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:38)\r\n\tat com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:81)\r\n\tat plugin.psi$cached_value.doInvoke(psi.clj:348)\r\n\tat clojure.lang.RestFn.invoke(RestFn.java:494)\r\n\tat plugin.resolve.lists$fn__6314.invoke(lists.clj:42)\r\n\tat plugin.resolve$fn__6226$G__6221__6231.invoke(resolve.clj:47)\r\n\tat plugin.resolve$resolve_from_symbols.invoke(resolve.clj:191)\r\n\tat plugin.resolve.lists$process_list_declarations.invoke(lists.clj:59)\r\n\tat clojure.lang.Var.invoke(Var.java:431)\r\n\tat cursive.psi.impl.list.ClListBaseImpl.processDeclarations(ClListBaseImpl.java:107)\r\n\tat plugin.resolve$process_declarations.invoke(resolve.clj:45)\r\n\tat plugin.resolve.symbol.editor$editor_resolver$reify__3015$fn__3059.invoke(editor.clj:267)\r\n\tat plugin.resolve.symbol.common$tree_walk.invoke(common.clj:36)\r\n\tat plugin.resolve.symbol.editor$editor_resolver$reify__3015.resolve_unqualified(editor.clj:266)\r\n\tat plugin.resolve.symbol$resolve_normal_symbol.invoke(symbol.clj:87)\r\n\tat plugin.resolve.symbol$resolve_symbol.invoke(symbol.clj:110)\r\n\tat clojure.lang.Var.invoke(Var.java:419)\r\n\tat cursive.psi.impl.symbols.ClSymbolImpl$MyResolver.resolve(ClSymbolImpl.java:133)\r\n\tat cursive.psi.impl.symbols.ClSymbolImpl$MyResolver.resolve(ClSymbolImpl.java:130)\r\n\tat com.intellij.psi.impl.source.resolve.ResolveCache.a(ResolveCache.java:103)\r\n\tat com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:131)\r\n\tat com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:123)\r\n\tat cursive.psi.impl.symbols.ClSymbolImpl.resolve(ClSymbolImpl.java:193)\r\n\tat com.intellij.codeInsight.TargetElementUtilBase.getReferenceOrReferencedElement(TargetElementUtilBase.java:315)\r\n\tat com.intellij.codeInsight.TargetElementUtil.getReferenceOrReferencedElement(TargetElementUtil.java:95)\r\n\tat com.intellij.codeInsight.TargetElementUtilBase.findTargetElement(TargetElementUtilBase.java:200)\r\n\tat com.intellij.codeInsight.TargetElementUtil.findTargetElement(TargetElementUtil.java:60)\r\n\tat com.intellij.codeInsight.daemon.impl.IdentifierHighlighterPass.doCollectInformation(IdentifierHighlighterPass.java:87)\r\n\tat com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:61)\r\n\tat com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:380)\r\n\tat com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1154)\r\n\tat com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:371)\r\n\tat com.intellij.openapi.progress.ProgressManager.executeProcessUnderProgress(ProgressManager.java:209)\r\n\tat com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:212)\r\n\tat com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:368)\r\n\tat com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:344)\r\n\tat com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask.exec(JobLauncherImpl.java:193)\r\n\tat jsr166e.ForkJoinTask.doExec(ForkJoinTask.java:260)\r\n\tat jsr166e.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:858)\r\n\tat jsr166e.ForkJoinPool.scan(ForkJoinPool.java:1687)\r\n\tat jsr166e.ForkJoinPool.runWorker(ForkJoinPool.java:1642)\r\n\tat jsr166e.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:109)"},"comment":{"url":"https://api.github.com/repos/cursiveclojure/cursive/issues/comments/72764052","html_url":"https://github.com/cursiveclojure/cursive/issues/376#issuecomment-72764052","issue_url":"https://api.github.com/repos/cursiveclojure/cursive/issues/376","id":72764052,"user":{"login":"cursiveclojure","id":5589171,"avatar_url":"https://avatars.githubusercontent.com/u/5589171?v=3","gravatar_id":"","url":"https://api.github.com/users/cursiveclojure","html_url":"https://github.com/cursiveclojure","followers_url":"https://api.github.com/users/cursiveclojure/followers","following_url":"https://api.github.com/users/cursiveclojure/following{/other_user}","gists_url":"https://api.github.com/users/cursiveclojure/gists{/gist_id}","starred_url":"https://api.github.com/users/cursiveclojure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cursiveclojure/subscriptions","organizations_url":"https://api.github.com/users/cursiveclojure/orgs","repos_url":"https://api.github.com/users/cursiveclojure/repos","events_url":"https://api.github.com/users/cursiveclojure/events{/privacy}","received_events_url":"https://api.github.com/users/cursiveclojure/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T00:05:07Z","updated_at":"2015-02-04T00:05:07Z","body":"I just tested this with the latest build, and this seems to have been fixed by the changes I'm making to the form parsing."}}