{"action":"created","issue":{"url":"https://api.github.com/repos/Vektah/CodeGlance/issues/193","repository_url":"https://api.github.com/repos/Vektah/CodeGlance","labels_url":"https://api.github.com/repos/Vektah/CodeGlance/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/Vektah/CodeGlance/issues/193/comments","events_url":"https://api.github.com/repos/Vektah/CodeGlance/issues/193/events","html_url":"https://github.com/Vektah/CodeGlance/issues/193","id":250899213,"number":193,"title":"IllegalStateException: Queue full","user":{"login":"TobseF","id":1190109,"avatar_url":"https://avatars3.githubusercontent.com/u/1190109?v=4","gravatar_id":"","url":"https://api.github.com/users/TobseF","html_url":"https://github.com/TobseF","followers_url":"https://api.github.com/users/TobseF/followers","following_url":"https://api.github.com/users/TobseF/following{/other_user}","gists_url":"https://api.github.com/users/TobseF/gists{/gist_id}","starred_url":"https://api.github.com/users/TobseF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TobseF/subscriptions","organizations_url":"https://api.github.com/users/TobseF/orgs","repos_url":"https://api.github.com/users/TobseF/repos","events_url":"https://api.github.com/users/TobseF/events{/privacy}","received_events_url":"https://api.github.com/users/TobseF/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-17T10:33:04Z","updated_at":"2017-10-19T12:02:30Z","closed_at":null,"author_association":"NONE","body":"Don't know how to reproduce it. Hope the stacktrace helps you to stabilize the plugin.\r\n\r\n`Queue full\r\njava.lang.IllegalStateException: Queue full\r\n\tat java.util.AbstractQueue.add(AbstractQueue.java:98)\r\n\tat java.util.concurrent.ArrayBlockingQueue.add(ArrayBlockingQueue.java:312)\r\n\tat net.vektah.codeglance.render.TaskRunner.run(TaskRunner.kt:37)\r\n\tat net.vektah.codeglance.GlancePanel.updateImage(GlancePanel.kt:151)\r\n\tat net.vektah.codeglance.GlancePanel.<init>(GlancePanel.kt:101)\r\n\tat net.vektah.codeglance.EditorPanelInjector.inject(EditorPanelInjector.kt:85)\r\n\tat net.vektah.codeglance.EditorPanelInjector.fileOpened(EditorPanelInjector.kt:30)\r\n\tat sun.reflect.GeneratedMethodAccessor97.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:117)\r\n\tat com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:443)\r\n\tat com.intellij.util.messages.impl.MessageBusImpl.pumpWaitingBuses(MessageBusImpl.java:404)\r\n\tat com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:393)\r\n\tat com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:381)\r\n\tat com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:374)\r\n\tat com.intellij.util.messages.impl.MessageBusImpl.access$200(MessageBusImpl.java:45)\r\n\tat com.intellij.util.messages.impl.MessageBusImpl$2.invoke(MessageBusImpl.java:231)\r\n\tat com.sun.proxy.$Proxy110.fileOpened(Unknown Source)\r\n\tat com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.e(FileEditorManagerImpl.java:938)\r\n\tat com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$5$1.run(FileEditorManagerImpl.java:1031)\r\n\tat com.intellij.openapi.wm.impl.FocusManagerImpl.a(FocusManagerImpl.java:640)\r\n\tat com.intellij.openapi.wm.impl.FocusManagerImpl.b(FocusManagerImpl.java:624)\r\n\tat com.intellij.openapi.wm.impl.FocusManagerImpl.f(FocusManagerImpl.java:594)\r\n\tat com.intellij.openapi.wm.impl.FocusManagerImpl.access$200(FocusManagerImpl.java:61)\r\n\tat com.intellij.openapi.wm.impl.FocusManagerImpl$IdleRunnable.runEdt(FocusManagerImpl.java:107)\r\n\tat com.intellij.openapi.util.EdtRunnable.lambda$run$0(EdtRunnable.java:27)\r\n\tat com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2760)\r\n\tat com.intellij.openapi.util.EdtRunnable.run(EdtRunnable.java:25)\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 com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:237)\r\n\tat java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)\r\n\tat java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)\r\n\tat java.awt.EventQueue.access$500(EventQueue.java:97)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:709)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:703)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)\r\n\tat java.awt.EventQueue.dispatchEvent(EventQueue.java:726)\r\n\tat com.intellij.ide.IdeEventQueue.f(IdeEventQueue.java:821)\r\n\tat com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:649)\r\n\tat com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:365)\r\n\tat java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)\r\n\tat java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)\r\n\tat java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)\r\n\tat java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)\r\n\tat java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)\r\n\tat java.awt.EventDispatchThread.run(EventDispatchThread.java:82)`"},"comment":{"url":"https://api.github.com/repos/Vektah/CodeGlance/issues/comments/337886528","html_url":"https://github.com/Vektah/CodeGlance/issues/193#issuecomment-337886528","issue_url":"https://api.github.com/repos/Vektah/CodeGlance/issues/193","id":337886528,"user":{"login":"Vektah","id":2247982,"avatar_url":"https://avatars0.githubusercontent.com/u/2247982?v=4","gravatar_id":"","url":"https://api.github.com/users/Vektah","html_url":"https://github.com/Vektah","followers_url":"https://api.github.com/users/Vektah/followers","following_url":"https://api.github.com/users/Vektah/following{/other_user}","gists_url":"https://api.github.com/users/Vektah/gists{/gist_id}","starred_url":"https://api.github.com/users/Vektah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vektah/subscriptions","organizations_url":"https://api.github.com/users/Vektah/orgs","repos_url":"https://api.github.com/users/Vektah/repos","events_url":"https://api.github.com/users/Vektah/events{/privacy}","received_events_url":"https://api.github.com/users/Vektah/received_events","type":"User","site_admin":false},"created_at":"2017-10-19T12:02:30Z","updated_at":"2017-10-19T12:02:30Z","author_association":"OWNER","body":"It means your computer isn't keeping up with the number of map renders required and the queue has overflowed.\r\n\r\nDo you have a huge number of tabs open? Or maybe files with many many lines? Or any other errors that might have caused the worker thread to die?\r\n\r\nThe queue is set to [1000](https://github.com/Vektah/CodeGlance/blob/master/src/main/java/net/vektah/codeglance/render/TaskRunner.kt#L35) at the moment so I doubt increasing it would help...  :(\r\n\r\nI wonder if [this](https://github.com/Vektah/CodeGlance/blob/master/src/main/java/net/vektah/codeglance/render/TaskRunner.kt#L47) is causing it?\r\n\r\n```kotlin\r\n    override fun run() {\r\n        while (!stop) {\r\n            try {\r\n                taskQueue.take()()\r\n            } catch (e: InterruptedException) {   // Can interrupted happen other than when stopping? :-/\r\n                return\r\n            }\r\n        }\r\n    }\r\n```\r\n"}}
{"actor":{"display_login":"Vektah"}}