{"action":"created","issue":{"url":"https://api.github.com/repos/nicoulaj/idea-markdown/issues/252","repository_url":"https://api.github.com/repos/nicoulaj/idea-markdown","labels_url":"https://api.github.com/repos/nicoulaj/idea-markdown/issues/252/labels{/name}","comments_url":"https://api.github.com/repos/nicoulaj/idea-markdown/issues/252/comments","events_url":"https://api.github.com/repos/nicoulaj/idea-markdown/issues/252/events","html_url":"https://github.com/nicoulaj/idea-markdown/issues/252","id":122873608,"number":252,"title":"Exception thrown when trying to follow invalid link","user":{"login":"petrkotek","id":5679032,"avatar_url":"https://avatars.githubusercontent.com/u/5679032?v=3","gravatar_id":"","url":"https://api.github.com/users/petrkotek","html_url":"https://github.com/petrkotek","followers_url":"https://api.github.com/users/petrkotek/followers","following_url":"https://api.github.com/users/petrkotek/following{/other_user}","gists_url":"https://api.github.com/users/petrkotek/gists{/gist_id}","starred_url":"https://api.github.com/users/petrkotek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petrkotek/subscriptions","organizations_url":"https://api.github.com/users/petrkotek/orgs","repos_url":"https://api.github.com/users/petrkotek/repos","events_url":"https://api.github.com/users/petrkotek/events{/privacy}","received_events_url":"https://api.github.com/users/petrkotek/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nicoulaj/idea-markdown/labels/Bug","name":"Bug","color":"b50000"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-18T03:48:41Z","updated_at":"2016-05-22T11:11:18Z","closed_at":null,"body":"Stacktrace\r\n```\r\nPlease change caller according to com.intellij.openapi.project.IndexNotReadyException documentation\r\ncom.intellij.openapi.project.IndexNotReadyException: Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation\r\n\tat com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:871)\r\n\tat com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:818)\r\n\tat com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:801)\r\n\tat com.intellij.psi.stubs.StubIndexImpl.a(StubIndexImpl.java:242)\r\n\tat com.intellij.psi.stubs.StubIndexImpl.processElements(StubIndexImpl.java:223)\r\n\tat com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:145)\r\n\tat com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:135)\r\n\tat com.intellij.psi.impl.java.stubs.index.JavaFullClassNameIndex.get(JavaFullClassNameIndex.java:48)\r\n\tat com.intellij.psi.impl.file.impl.JavaFileManagerImpl.a(JavaFileManagerImpl.java:122)\r\n\tat com.intellij.psi.impl.file.impl.JavaFileManagerImpl.findClass(JavaFileManagerImpl.java:115)\r\n\tat com.intellij.psi.impl.PsiElementFinderImpl.findClass(PsiElementFinderImpl.java:54)\r\n\tat com.intellij.psi.impl.JavaPsiFacadeImpl.a(JavaPsiFacadeImpl.java:124)\r\n\tat com.intellij.psi.impl.JavaPsiFacadeImpl.findClass(JavaPsiFacadeImpl.java:101)\r\n\tat net.nicoulaj.idea.markdown.editor.MarkdownPathResolver.resolveClassReference(MarkdownPathResolver.java:78)\r\n\tat net.nicoulaj.idea.markdown.editor.MarkdownLinkListener.hyperlinkUpdate(MarkdownLinkListener.java:114)\r\n\tat javax.swing.JEditorPane.fireHyperlinkUpdate(JEditorPane.java:345)\r\n\tat javax.swing.text.html.HTMLEditorKit$LinkController.activateLink(HTMLEditorKit.java:875)\r\n\tat javax.swing.text.html.HTMLEditorKit$LinkController.mouseClicked(HTMLEditorKit.java:674)\r\n\tat java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:270)\r\n\tat java.awt.Component.processMouseEvent(Component.java:6538)\r\n\tat javax.swing.JComponent.processMouseEvent(JComponent.java:3324)\r\n\tat java.awt.Component.processEvent(Component.java:6300)\r\n\tat java.awt.Container.processEvent(Container.java:2236)\r\n\tat java.awt.Component.dispatchEventImpl(Component.java:4891)\r\n\tat java.awt.Container.dispatchEventImpl(Container.java:2294)\r\n\tat java.awt.Component.dispatchEvent(Component.java:4713)\r\n\tat java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)\r\n\tat java.awt.LightweightDispatcher.processMouseEvent(Container.java:4534)\r\n\tat java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)\r\n\tat java.awt.Container.dispatchEventImpl(Container.java:2280)\r\n\tat java.awt.Window.dispatchEventImpl(Window.java:2750)\r\n\tat java.awt.Component.dispatchEvent(Component.java:4713)\r\n\tat java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)\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:76)\r\n\tat java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)\r\n\tat java.awt.EventQueue$4.run(EventQueue.java:731)\r\n\tat java.awt.EventQueue$4.run(EventQueue.java:729)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)\r\n\tat java.awt.EventQueue.dispatchEvent(EventQueue.java:728)\r\n\tat com.intellij.ide.IdeEventQueue.f(IdeEventQueue.java:866)\r\n\tat com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:650)\r\n\tat com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:381)\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)\r\n\r\n-----------\r\nIndexing started at:\r\njava.lang.Throwable\r\n\tat com.intellij.openapi.project.DumbServiceImpl.a(DumbServiceImpl.java:160)\r\n\tat com.intellij.openapi.project.DumbServiceImpl.queueTask(DumbServiceImpl.java:85)\r\n\tat com.intellij.openapi.project.impl.ProjectManagerImpl$4.run(ProjectManagerImpl.java:356)\r\n\tat com.intellij.openapi.project.DumbPermissionServiceImpl.allowStartingDumbModeInside(DumbPermissionServiceImpl.java:35)\r\n\tat com.intellij.openapi.project.DumbService.allowStartingDumbModeInside(DumbService.java:281)\r\n\tat com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectManagerImpl.java:353)\r\n\tat com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProject(ProjectManagerImpl.java:467)\r\n\tat com.intellij.ide.impl.ProjectUtil.openProject(ProjectUtil.java:182)\r\n\tat com.intellij.ide.RecentProjectsManagerImpl.doOpenProject(RecentProjectsManagerImpl.java:46)\r\n\tat com.intellij.ide.RecentProjectsManagerBase.doReopenLastProject(RecentProjectsManagerBase.java:554)\r\n\tat com.intellij.ide.RecentProjectsManagerBase$MyAppLifecycleListener.appStarting(RecentProjectsManagerBase.java:588)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:116)\r\n\tat com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:368)\r\n\tat com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:355)\r\n\tat com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:334)\r\n\tat com.intellij.util.messages.impl.MessageBusImpl.access$200(MessageBusImpl.java:42)\r\n\tat com.intellij.util.messages.impl.MessageBusImpl$2.invoke(MessageBusImpl.java:223)\r\n\tat com.sun.proxy.$Proxy43.appStarting(Unknown Source)\r\n\tat com.intellij.idea.IdeaApplication$IdeStarter$2.run(IdeaApplication.java:354)\r\n\tat com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.a(LaterInvocator.java:337)\r\n\tat com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:321)\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:76)\r\n\tat java.awt.EventQueue.dispatchEvent(EventQueue.java:726)\r\n\tat com.intellij.ide.IdeEventQueue.f(IdeEventQueue.java:866)\r\n\tat com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:654)\r\n\tat com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:381)\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)\r\n```\r\n\r\nSteps to reproduce:\r\n1. create `test.md`\r\n2. put link to non-existing md file in it: `[Foo](foo.md)`\r\n3. go to preview mode\r\n4. click on the link\r\n\r\n**Result:** an exception is thrown\r\n**Expected Result:** user-friendly error message is displayed"},"comment":{"url":"https://api.github.com/repos/nicoulaj/idea-markdown/issues/comments/220826739","html_url":"https://github.com/nicoulaj/idea-markdown/issues/252#issuecomment-220826739","issue_url":"https://api.github.com/repos/nicoulaj/idea-markdown/issues/252","id":220826739,"user":{"login":"nicoulaj","id":3162,"avatar_url":"https://avatars.githubusercontent.com/u/3162?v=3","gravatar_id":"","url":"https://api.github.com/users/nicoulaj","html_url":"https://github.com/nicoulaj","followers_url":"https://api.github.com/users/nicoulaj/followers","following_url":"https://api.github.com/users/nicoulaj/following{/other_user}","gists_url":"https://api.github.com/users/nicoulaj/gists{/gist_id}","starred_url":"https://api.github.com/users/nicoulaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicoulaj/subscriptions","organizations_url":"https://api.github.com/users/nicoulaj/orgs","repos_url":"https://api.github.com/users/nicoulaj/repos","events_url":"https://api.github.com/users/nicoulaj/events{/privacy}","received_events_url":"https://api.github.com/users/nicoulaj/received_events","type":"User","site_admin":false},"created_at":"2016-05-22T11:11:18Z","updated_at":"2016-05-22T11:11:18Z","body":"**Notice**: This plugin is no more maintained and it has been removed from Jetbrains plugins repository. [There is a Markdown plugin officially supported by Jetbrains](https://plugins.jetbrains.com/plugin/7793)."}}
{"actor":{"display_login":"nicoulaj"}}