{"action":"created","issue":{"url":"https://api.github.com/repos/Ruben-Sten/TeXiFy-IDEA/issues/415","repository_url":"https://api.github.com/repos/Ruben-Sten/TeXiFy-IDEA","labels_url":"https://api.github.com/repos/Ruben-Sten/TeXiFy-IDEA/issues/415/labels{/name}","comments_url":"https://api.github.com/repos/Ruben-Sten/TeXiFy-IDEA/issues/415/comments","events_url":"https://api.github.com/repos/Ruben-Sten/TeXiFy-IDEA/issues/415/events","html_url":"https://github.com/Ruben-Sten/TeXiFy-IDEA/issues/415","id":300162068,"number":415,"title":"Crash Report: KtNPE","user":{"login":"PHPirates","id":15669080,"avatar_url":"https://avatars2.githubusercontent.com/u/15669080?v=4","gravatar_id":"","url":"https://api.github.com/users/PHPirates","html_url":"https://github.com/PHPirates","followers_url":"https://api.github.com/users/PHPirates/followers","following_url":"https://api.github.com/users/PHPirates/following{/other_user}","gists_url":"https://api.github.com/users/PHPirates/gists{/gist_id}","starred_url":"https://api.github.com/users/PHPirates/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PHPirates/subscriptions","organizations_url":"https://api.github.com/users/PHPirates/orgs","repos_url":"https://api.github.com/users/PHPirates/repos","events_url":"https://api.github.com/users/PHPirates/events{/privacy}","received_events_url":"https://api.github.com/users/PHPirates/received_events","type":"User","site_admin":false},"labels":[{"id":644506445,"url":"https://api.github.com/repos/Ruben-Sten/TeXiFy-IDEA/labels/crash-report","name":"crash-report","color":"902626","default":false},{"id":401555169,"url":"https://api.github.com/repos/Ruben-Sten/TeXiFy-IDEA/labels/duplicate","name":"duplicate","color":"cccccc","default":true}],"state":"open","locked":false,"assignee":{"login":"RubenSchellekens","id":17410729,"avatar_url":"https://avatars1.githubusercontent.com/u/17410729?v=4","gravatar_id":"","url":"https://api.github.com/users/RubenSchellekens","html_url":"https://github.com/RubenSchellekens","followers_url":"https://api.github.com/users/RubenSchellekens/followers","following_url":"https://api.github.com/users/RubenSchellekens/following{/other_user}","gists_url":"https://api.github.com/users/RubenSchellekens/gists{/gist_id}","starred_url":"https://api.github.com/users/RubenSchellekens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RubenSchellekens/subscriptions","organizations_url":"https://api.github.com/users/RubenSchellekens/orgs","repos_url":"https://api.github.com/users/RubenSchellekens/repos","events_url":"https://api.github.com/users/RubenSchellekens/events{/privacy}","received_events_url":"https://api.github.com/users/RubenSchellekens/received_events","type":"User","site_admin":false},"assignees":[{"login":"RubenSchellekens","id":17410729,"avatar_url":"https://avatars1.githubusercontent.com/u/17410729?v=4","gravatar_id":"","url":"https://api.github.com/users/RubenSchellekens","html_url":"https://github.com/RubenSchellekens","followers_url":"https://api.github.com/users/RubenSchellekens/followers","following_url":"https://api.github.com/users/RubenSchellekens/following{/other_user}","gists_url":"https://api.github.com/users/RubenSchellekens/gists{/gist_id}","starred_url":"https://api.github.com/users/RubenSchellekens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RubenSchellekens/subscriptions","organizations_url":"https://api.github.com/users/RubenSchellekens/orgs","repos_url":"https://api.github.com/users/RubenSchellekens/repos","events_url":"https://api.github.com/users/RubenSchellekens/events{/privacy}","received_events_url":"https://api.github.com/users/RubenSchellekens/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Ruben-Sten/TeXiFy-IDEA/milestones/7","html_url":"https://github.com/Ruben-Sten/TeXiFy-IDEA/milestone/7","labels_url":"https://api.github.com/repos/Ruben-Sten/TeXiFy-IDEA/milestones/7/labels","id":2915315,"number":7,"title":"b0.6","description":"","creator":{"login":"RubenSchellekens","id":17410729,"avatar_url":"https://avatars1.githubusercontent.com/u/17410729?v=4","gravatar_id":"","url":"https://api.github.com/users/RubenSchellekens","html_url":"https://github.com/RubenSchellekens","followers_url":"https://api.github.com/users/RubenSchellekens/followers","following_url":"https://api.github.com/users/RubenSchellekens/following{/other_user}","gists_url":"https://api.github.com/users/RubenSchellekens/gists{/gist_id}","starred_url":"https://api.github.com/users/RubenSchellekens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RubenSchellekens/subscriptions","organizations_url":"https://api.github.com/users/RubenSchellekens/orgs","repos_url":"https://api.github.com/users/RubenSchellekens/repos","events_url":"https://api.github.com/users/RubenSchellekens/events{/privacy}","received_events_url":"https://api.github.com/users/RubenSchellekens/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":17,"state":"open","created_at":"2017-11-15T19:56:23Z","updated_at":"2018-03-21T10:21:13Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-02-26T09:24:30Z","updated_at":"2018-03-21T10:21:26Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"### Description\r\n\r\nOpened project in which the `graphicx`  package is loaded by a personal package on same level, then I get `document doesn't contain a \\documentclass environment`  and error on `\\includegraphics` that graphicx is not included. When I hit import this NPE results.\r\n\r\nAfter changing something, for example removing and adding documentclass the error goes away.\r\n\r\nVersion 0.5.1\r\n\r\n### Stacktrace\r\n```\r\nnull\r\nkotlin.KotlinNullPointerException\r\n\tat nl.rubensten.texifyidea.inspections.latex.LatexMissingImportInspection$ImportCommandFix.applyFix(LatexMissingImportInspection.kt:109)\r\n\tat nl.rubensten.texifyidea.inspections.latex.LatexMissingImportInspection$ImportCommandFix.applyFix(LatexMissingImportInspection.kt:103)\r\n\tat com.intellij.codeInspection.ex.QuickFixWrapper.invoke(QuickFixWrapper.java:88)\r\n\tat com.intellij.codeInsight.intention.impl.IntentionActionWithTextCaching$MyIntentionAction.invoke(IntentionActionWithTextCaching.java:181)\r\n\tat com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.b(ShowIntentionActionsHandler.java:209)\r\n\tat com.intellij.openapi.application.WriteAction.run(WriteAction.java:91)\r\n\tat com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.a(ShowIntentionActionsHandler.java:211)\r\n\tat com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.a(ShowIntentionActionsHandler.java:186)\r\n\tat com.intellij.openapi.application.TransactionGuardImpl.a(TransactionGuardImpl.java:88)\r\n\tat com.intellij.openapi.application.TransactionGuardImpl.submitTransactionAndWait(TransactionGuardImpl.java:153)\r\n\tat com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.b(ShowIntentionActionsHandler.java:185)\r\n\tat com.intellij.openapi.command.impl.CoreCommandProcessor.a(CoreCommandProcessor.java:149)\r\n\tat com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:109)\r\n\tat com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:99)\r\n\tat com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:85)\r\n\tat com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.chooseActionAndInvoke(ShowIntentionActionsHandler.java:184)\r\n\tat com.intellij.codeInsight.intention.impl.IntentionListStep.b(IntentionListStep.java:293)\r\n\tat com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:195)\r\n\tat com.intellij.ui.popup.AbstractPopup.a(AbstractPopup.java:1431)\r\n\tat java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)\r\n\tat java.awt.EventQueue.dispatchEventImpl(EventQueue.java:762)\r\n\tat java.awt.EventQueue.access$500(EventQueue.java:98)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:715)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:709)\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:732)\r\n\tat com.intellij.ide.IdeEventQueue.j(IdeEventQueue.java:822)\r\n\tat com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:650)\r\n\tat com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:366)\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```"},"comment":{"url":"https://api.github.com/repos/Ruben-Sten/TeXiFy-IDEA/issues/comments/374890508","html_url":"https://github.com/Ruben-Sten/TeXiFy-IDEA/issues/415#issuecomment-374890508","issue_url":"https://api.github.com/repos/Ruben-Sten/TeXiFy-IDEA/issues/415","id":374890508,"user":{"login":"RubenSchellekens","id":17410729,"avatar_url":"https://avatars1.githubusercontent.com/u/17410729?v=4","gravatar_id":"","url":"https://api.github.com/users/RubenSchellekens","html_url":"https://github.com/RubenSchellekens","followers_url":"https://api.github.com/users/RubenSchellekens/followers","following_url":"https://api.github.com/users/RubenSchellekens/following{/other_user}","gists_url":"https://api.github.com/users/RubenSchellekens/gists{/gist_id}","starred_url":"https://api.github.com/users/RubenSchellekens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RubenSchellekens/subscriptions","organizations_url":"https://api.github.com/users/RubenSchellekens/orgs","repos_url":"https://api.github.com/users/RubenSchellekens/repos","events_url":"https://api.github.com/users/RubenSchellekens/events{/privacy}","received_events_url":"https://api.github.com/users/RubenSchellekens/received_events","type":"User","site_admin":false},"created_at":"2018-03-21T10:21:26Z","updated_at":"2018-03-21T10:21:26Z","author_association":"OWNER","body":"Oops, other way around."}}
{"actor":{"display_login":"RubenSchellekens"}}