{"action":"closed","issue":{"url":"https://api.github.com/repos/hsz/idea-gitignore/issues/129","labels_url":"https://api.github.com/repos/hsz/idea-gitignore/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/hsz/idea-gitignore/issues/129/comments","events_url":"https://api.github.com/repos/hsz/idea-gitignore/issues/129/events","html_url":"https://github.com/hsz/idea-gitignore/issues/129","id":78068769,"number":129,"title":"NullPointerException when switching projects in IDEA","user":{"login":"hho","id":478228,"avatar_url":"https://avatars.githubusercontent.com/u/478228?v=3","gravatar_id":"","url":"https://api.github.com/users/hho","html_url":"https://github.com/hho","followers_url":"https://api.github.com/users/hho/followers","following_url":"https://api.github.com/users/hho/following{/other_user}","gists_url":"https://api.github.com/users/hho/gists{/gist_id}","starred_url":"https://api.github.com/users/hho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hho/subscriptions","organizations_url":"https://api.github.com/users/hho/orgs","repos_url":"https://api.github.com/users/hho/repos","events_url":"https://api.github.com/users/hho/events{/privacy}","received_events_url":"https://api.github.com/users/hho/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hsz/idea-gitignore/labels/duplicate","name":"duplicate","color":"cccccc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-19T12:32:12Z","updated_at":"2015-05-19T12:38:14Z","closed_at":"2015-05-19T12:38:14Z","body":"I've updated to IDEA 14.1.3 (Build #IU-141.1010) and .ignore-Support 1.1.2\r\n\r\nWhen I switched to a different project, this happened:\r\n\r\n```\r\nnull\r\njava.lang.NullPointerException\r\n\tat mobi.hsz.idea.gitignore.IgnoreManager.disable(IgnoreManager.java:321)\r\n\tat mobi.hsz.idea.gitignore.IgnoreManager.projectClosed(IgnoreManager.java:310)\r\n\tat com.intellij.openapi.project.impl.ProjectImpl.d(ProjectImpl.java:398)\r\n\tat com.intellij.openapi.project.impl.ProjectImpl.access$300(ProjectImpl.java:73)\r\n\tat com.intellij.openapi.project.impl.ProjectImpl$MyProjectManagerListener.projectClosed(ProjectImpl.java:426)\r\n\tat com.intellij.openapi.project.impl.ProjectManagerImpl$3.projectClosed(ProjectManagerImpl.java:162)\r\n\tat com.intellij.openapi.project.impl.ProjectManagerImpl.f(ProjectManagerImpl.java:953)\r\n\tat com.intellij.openapi.project.impl.ProjectManagerImpl.access$1400(ProjectManagerImpl.java:82)\r\n\tat com.intellij.openapi.project.impl.ProjectManagerImpl$14.run(ProjectManagerImpl.java:852)\r\n\tat com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:931)\r\n\tat com.intellij.openapi.project.impl.ProjectManagerImpl.closeProject(ProjectManagerImpl.java:841)\r\n\tat com.intellij.openapi.project.impl.ProjectManagerImpl.closeAndDispose(ProjectManagerImpl.java:873)\r\n\tat com.intellij.ide.impl.ProjectUtil.closeAndDispose(ProjectUtil.java:86)\r\n\tat com.intellij.ide.impl.ProjectUtil.openProject(ProjectUtil.java:172)\r\n\tat com.intellij.ide.RecentProjectsManagerImpl.doOpenProject(RecentProjectsManagerImpl.java:46)\r\n\tat com.intellij.ide.ReopenProjectAction.actionPerformed(ReopenProjectAction.java:61)\r\n\tat com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:182)\r\n\tat com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter$1.run(ActionMenuItem.java:312)\r\n\tat com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:958)\r\n\tat com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:124)\r\n\tat com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:282)\r\n\tat javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)\r\n\tat com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:109)\r\n\tat com.intellij.ui.plaf.beg.BegMenuItemUI.a(BegMenuItemUI.java:512)\r\n\tat com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:44)\r\n\tat com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:532)\r\n\tat java.awt.Component.processMouseEvent(Component.java:6525)\r\n\tat javax.swing.JComponent.processMouseEvent(JComponent.java:3324)\r\n\tat java.awt.Component.processEvent(Component.java:6290)\r\n\tat java.awt.Container.processEvent(Container.java:2234)\r\n\tat java.awt.Component.dispatchEventImpl(Component.java:4881)\r\n\tat java.awt.Container.dispatchEventImpl(Container.java:2292)\r\n\tat java.awt.Component.dispatchEvent(Component.java:4703)\r\n\tat java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)\r\n\tat java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)\r\n\tat java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)\r\n\tat java.awt.Container.dispatchEventImpl(Container.java:2278)\r\n\tat java.awt.Window.dispatchEventImpl(Window.java:2750)\r\n\tat java.awt.Component.dispatchEvent(Component.java:4703)\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$1.doIntersectionPrivilege(ProtectionDomain.java:75)\r\n\tat java.security.ProtectionDomain$1.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$1.doIntersectionPrivilege(ProtectionDomain.java:75)\r\n\tat java.awt.EventQueue.dispatchEvent(EventQueue.java:728)\r\n\tat com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:734)\r\n\tat com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:565)\r\n\tat com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)\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```"}}