{"action":"closed","number":146,"pull_request":{"url":"https://api.github.com/repos/JetBrains/intellij-scala/pulls/146","id":34740604,"html_url":"https://github.com/JetBrains/intellij-scala/pull/146","diff_url":"https://github.com/JetBrains/intellij-scala/pull/146.diff","patch_url":"https://github.com/JetBrains/intellij-scala/pull/146.patch","issue_url":"https://api.github.com/repos/JetBrains/intellij-scala/issues/146","number":146,"state":"closed","locked":false,"title":"fix NPE in ModuleExt","user":{"login":"xhumanoid","id":646993,"avatar_url":"https://avatars.githubusercontent.com/u/646993?v=3","gravatar_id":"","url":"https://api.github.com/users/xhumanoid","html_url":"https://github.com/xhumanoid","followers_url":"https://api.github.com/users/xhumanoid/followers","following_url":"https://api.github.com/users/xhumanoid/following{/other_user}","gists_url":"https://api.github.com/users/xhumanoid/gists{/gist_id}","starred_url":"https://api.github.com/users/xhumanoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xhumanoid/subscriptions","organizations_url":"https://api.github.com/users/xhumanoid/orgs","repos_url":"https://api.github.com/users/xhumanoid/repos","events_url":"https://api.github.com/users/xhumanoid/events{/privacy}","received_events_url":"https://api.github.com/users/xhumanoid/received_events","type":"User","site_admin":false},"body":"helper.findIdeModule can return null and late in implicit class happens NPE\r\n\r\nBehavior:\r\n\r\nwhen I am trying import intellij-scala in IntelliJ Idea EAP and get error:\r\n\r\n```text\r\n[  26557]  ERROR - llij.ide.plugins.PluginManager - null\r\njava.lang.NullPointerException\r\n\tat org.jetbrains.plugins.scala.project.package$ModuleExt.compilerConfiguration(package.scala:116)\r\n\tat org.jetbrains.plugins.scala.project.package$ModuleExt.configureScalaCompilerSettingsFrom(package.scala:113)\r\n\tat org.jetbrains.sbt.project.data.ScalaSdkDataService.org$jetbrains$sbt$project$data$ScalaSdkDataService$$doImport(ScalaSdkDataService.scala:30)\r\n\tat org.jetbrains.sbt.project.data.ScalaSdkDataService$$anonfun$doImportData$1.apply(ScalaSdkDataService.scala:19)\r\n\tat org.jetbrains.sbt.project.data.ScalaSdkDataService$$anonfun$doImportData$1.apply(ScalaSdkDataService.scala:19)\r\n```\r\n\r\nthis happens because helper.findIdeModule can return null, same early I have a lot warn message like:\r\n```text\r\nModuleDependencyDataService - Can't import module dependencies [ModuleDependencyData: dependency=module ':compiler_settings:'|scope=Compile|exported=true|owner=module ':scala-jps-plugin:']. Reason: target module (ModuleData: module ':scala-jps-plugin:') is not found at the ide and can't be imported\r\n```\r\n\r\n\r\n","created_at":"2015-05-05T16:13:14Z","updated_at":"2015-05-07T12:33:01Z","closed_at":"2015-05-07T12:33:01Z","merged_at":"2015-05-07T12:33:01Z","merge_commit_sha":"8197823be747877f70e5c63f38eafb4de4553c83","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JetBrains/intellij-scala/pulls/146/commits","review_comments_url":"https://api.github.com/repos/JetBrains/intellij-scala/pulls/146/comments","review_comment_url":"https://api.github.com/repos/JetBrains/intellij-scala/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JetBrains/intellij-scala/issues/146/comments","statuses_url":"https://api.github.com/repos/JetBrains/intellij-scala/statuses/21b81092f3ab494ccfaa1a31e03b26c210107fc8","head":{"label":"xhumanoid:master","ref":"master","sha":"21b81092f3ab494ccfaa1a31e03b26c210107fc8","user":{"login":"xhumanoid","id":646993,"avatar_url":"https://avatars.githubusercontent.com/u/646993?v=3","gravatar_id":"","url":"https://api.github.com/users/xhumanoid","html_url":"https://github.com/xhumanoid","followers_url":"https://api.github.com/users/xhumanoid/followers","following_url":"https://api.github.com/users/xhumanoid/following{/other_user}","gists_url":"https://api.github.com/users/xhumanoid/gists{/gist_id}","starred_url":"https://api.github.com/users/xhumanoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xhumanoid/subscriptions","organizations_url":"https://api.github.com/users/xhumanoid/orgs","repos_url":"https://api.github.com/users/xhumanoid/repos","events_url":"https://api.github.com/users/xhumanoid/events{/privacy}","received_events_url":"https://api.github.com/users/xhumanoid/received_events","type":"User","site_admin":false},"repo":{"id":35109282,"name":"intellij-scala","full_name":"xhumanoid/intellij-scala","owner":{"login":"xhumanoid","id":646993,"avatar_url":"https://avatars.githubusercontent.com/u/646993?v=3","gravatar_id":"","url":"https://api.github.com/users/xhumanoid","html_url":"https://github.com/xhumanoid","followers_url":"https://api.github.com/users/xhumanoid/followers","following_url":"https://api.github.com/users/xhumanoid/following{/other_user}","gists_url":"https://api.github.com/users/xhumanoid/gists{/gist_id}","starred_url":"https://api.github.com/users/xhumanoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xhumanoid/subscriptions","organizations_url":"https://api.github.com/users/xhumanoid/orgs","repos_url":"https://api.github.com/users/xhumanoid/repos","events_url":"https://api.github.com/users/xhumanoid/events{/privacy}","received_events_url":"https://api.github.com/users/xhumanoid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xhumanoid/intellij-scala","description":"Scala plugin for IntelliJ IDEA","fork":true,"url":"https://api.github.com/repos/xhumanoid/intellij-scala","forks_url":"https://api.github.com/repos/xhumanoid/intellij-scala/forks","keys_url":"https://api.github.com/repos/xhumanoid/intellij-scala/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xhumanoid/intellij-scala/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xhumanoid/intellij-scala/teams","hooks_url":"https://api.github.com/repos/xhumanoid/intellij-scala/hooks","issue_events_url":"https://api.github.com/repos/xhumanoid/intellij-scala/issues/events{/number}","events_url":"https://api.github.com/repos/xhumanoid/intellij-scala/events","assignees_url":"https://api.github.com/repos/xhumanoid/intellij-scala/assignees{/user}","branches_url":"https://api.github.com/repos/xhumanoid/intellij-scala/branches{/branch}","tags_url":"https://api.github.com/repos/xhumanoid/intellij-scala/tags","blobs_url":"https://api.github.com/repos/xhumanoid/intellij-scala/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xhumanoid/intellij-scala/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xhumanoid/intellij-scala/git/refs{/sha}","trees_url":"https://api.github.com/repos/xhumanoid/intellij-scala/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xhumanoid/intellij-scala/statuses/{sha}","languages_url":"https://api.github.com/repos/xhumanoid/intellij-scala/languages","stargazers_url":"https://api.github.com/repos/xhumanoid/intellij-scala/stargazers","contributors_url":"https://api.github.com/repos/xhumanoid/intellij-scala/contributors","subscribers_url":"https://api.github.com/repos/xhumanoid/intellij-scala/subscribers","subscription_url":"https://api.github.com/repos/xhumanoid/intellij-scala/subscription","commits_url":"https://api.github.com/repos/xhumanoid/intellij-scala/commits{/sha}","git_commits_url":"https://api.github.com/repos/xhumanoid/intellij-scala/git/commits{/sha}","comments_url":"https://api.github.com/repos/xhumanoid/intellij-scala/comments{/number}","issue_comment_url":"https://api.github.com/repos/xhumanoid/intellij-scala/issues/comments{/number}","contents_url":"https://api.github.com/repos/xhumanoid/intellij-scala/contents/{+path}","compare_url":"https://api.github.com/repos/xhumanoid/intellij-scala/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xhumanoid/intellij-scala/merges","archive_url":"https://api.github.com/repos/xhumanoid/intellij-scala/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xhumanoid/intellij-scala/downloads","issues_url":"https://api.github.com/repos/xhumanoid/intellij-scala/issues{/number}","pulls_url":"https://api.github.com/repos/xhumanoid/intellij-scala/pulls{/number}","milestones_url":"https://api.github.com/repos/xhumanoid/intellij-scala/milestones{/number}","notifications_url":"https://api.github.com/repos/xhumanoid/intellij-scala/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xhumanoid/intellij-scala/labels{/name}","releases_url":"https://api.github.com/repos/xhumanoid/intellij-scala/releases{/id}","created_at":"2015-05-05T15:53:44Z","updated_at":"2015-05-05T16:03:01Z","pushed_at":"2015-05-05T16:03:01Z","git_url":"git://github.com/xhumanoid/intellij-scala.git","ssh_url":"git@github.com:xhumanoid/intellij-scala.git","clone_url":"https://github.com/xhumanoid/intellij-scala.git","svn_url":"https://github.com/xhumanoid/intellij-scala","homepage":"http://blog.jetbrains.com/scala/","size":733469,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"JetBrains:master","ref":"master","sha":"086f9d15ea1f0684cd77a31bcb003f4130ea9278","user":{"login":"JetBrains","id":878437,"avatar_url":"https://avatars.githubusercontent.com/u/878437?v=3","gravatar_id":"","url":"https://api.github.com/users/JetBrains","html_url":"https://github.com/JetBrains","followers_url":"https://api.github.com/users/JetBrains/followers","following_url":"https://api.github.com/users/JetBrains/following{/other_user}","gists_url":"https://api.github.com/users/JetBrains/gists{/gist_id}","starred_url":"https://api.github.com/users/JetBrains/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JetBrains/subscriptions","organizations_url":"https://api.github.com/users/JetBrains/orgs","repos_url":"https://api.github.com/users/JetBrains/repos","events_url":"https://api.github.com/users/JetBrains/events{/privacy}","received_events_url":"https://api.github.com/users/JetBrains/received_events","type":"Organization","site_admin":false},"repo":{"id":2756223,"name":"intellij-scala","full_name":"JetBrains/intellij-scala","owner":{"login":"JetBrains","id":878437,"avatar_url":"https://avatars.githubusercontent.com/u/878437?v=3","gravatar_id":"","url":"https://api.github.com/users/JetBrains","html_url":"https://github.com/JetBrains","followers_url":"https://api.github.com/users/JetBrains/followers","following_url":"https://api.github.com/users/JetBrains/following{/other_user}","gists_url":"https://api.github.com/users/JetBrains/gists{/gist_id}","starred_url":"https://api.github.com/users/JetBrains/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JetBrains/subscriptions","organizations_url":"https://api.github.com/users/JetBrains/orgs","repos_url":"https://api.github.com/users/JetBrains/repos","events_url":"https://api.github.com/users/JetBrains/events{/privacy}","received_events_url":"https://api.github.com/users/JetBrains/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JetBrains/intellij-scala","description":"Scala plugin for IntelliJ IDEA","fork":false,"url":"https://api.github.com/repos/JetBrains/intellij-scala","forks_url":"https://api.github.com/repos/JetBrains/intellij-scala/forks","keys_url":"https://api.github.com/repos/JetBrains/intellij-scala/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JetBrains/intellij-scala/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JetBrains/intellij-scala/teams","hooks_url":"https://api.github.com/repos/JetBrains/intellij-scala/hooks","issue_events_url":"https://api.github.com/repos/JetBrains/intellij-scala/issues/events{/number}","events_url":"https://api.github.com/repos/JetBrains/intellij-scala/events","assignees_url":"https://api.github.com/repos/JetBrains/intellij-scala/assignees{/user}","branches_url":"https://api.github.com/repos/JetBrains/intellij-scala/branches{/branch}","tags_url":"https://api.github.com/repos/JetBrains/intellij-scala/tags","blobs_url":"https://api.github.com/repos/JetBrains/intellij-scala/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JetBrains/intellij-scala/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JetBrains/intellij-scala/git/refs{/sha}","trees_url":"https://api.github.com/repos/JetBrains/intellij-scala/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JetBrains/intellij-scala/statuses/{sha}","languages_url":"https://api.github.com/repos/JetBrains/intellij-scala/languages","stargazers_url":"https://api.github.com/repos/JetBrains/intellij-scala/stargazers","contributors_url":"https://api.github.com/repos/JetBrains/intellij-scala/contributors","subscribers_url":"https://api.github.com/repos/JetBrains/intellij-scala/subscribers","subscription_url":"https://api.github.com/repos/JetBrains/intellij-scala/subscription","commits_url":"https://api.github.com/repos/JetBrains/intellij-scala/commits{/sha}","git_commits_url":"https://api.github.com/repos/JetBrains/intellij-scala/git/commits{/sha}","comments_url":"https://api.github.com/repos/JetBrains/intellij-scala/comments{/number}","issue_comment_url":"https://api.github.com/repos/JetBrains/intellij-scala/issues/comments{/number}","contents_url":"https://api.github.com/repos/JetBrains/intellij-scala/contents/{+path}","compare_url":"https://api.github.com/repos/JetBrains/intellij-scala/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JetBrains/intellij-scala/merges","archive_url":"https://api.github.com/repos/JetBrains/intellij-scala/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JetBrains/intellij-scala/downloads","issues_url":"https://api.github.com/repos/JetBrains/intellij-scala/issues{/number}","pulls_url":"https://api.github.com/repos/JetBrains/intellij-scala/pulls{/number}","milestones_url":"https://api.github.com/repos/JetBrains/intellij-scala/milestones{/number}","notifications_url":"https://api.github.com/repos/JetBrains/intellij-scala/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JetBrains/intellij-scala/labels{/name}","releases_url":"https://api.github.com/repos/JetBrains/intellij-scala/releases{/id}","created_at":"2011-11-11T14:34:07Z","updated_at":"2015-05-07T11:51:17Z","pushed_at":"2015-05-07T12:33:01Z","git_url":"git://github.com/JetBrains/intellij-scala.git","ssh_url":"git@github.com:JetBrains/intellij-scala.git","clone_url":"https://github.com/JetBrains/intellij-scala.git","svn_url":"https://github.com/JetBrains/intellij-scala","homepage":"http://blog.jetbrains.com/scala/","size":759424,"stargazers_count":360,"watchers_count":360,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":94,"mirror_url":null,"open_issues_count":11,"forks":94,"open_issues":11,"watchers":360,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JetBrains/intellij-scala/pulls/146"},"html":{"href":"https://github.com/JetBrains/intellij-scala/pull/146"},"issue":{"href":"https://api.github.com/repos/JetBrains/intellij-scala/issues/146"},"comments":{"href":"https://api.github.com/repos/JetBrains/intellij-scala/issues/146/comments"},"review_comments":{"href":"https://api.github.com/repos/JetBrains/intellij-scala/pulls/146/comments"},"review_comment":{"href":"https://api.github.com/repos/JetBrains/intellij-scala/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JetBrains/intellij-scala/pulls/146/commits"},"statuses":{"href":"https://api.github.com/repos/JetBrains/intellij-scala/statuses/21b81092f3ab494ccfaa1a31e03b26c210107fc8"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"dancingrobot84","id":153210,"avatar_url":"https://avatars.githubusercontent.com/u/153210?v=3","gravatar_id":"","url":"https://api.github.com/users/dancingrobot84","html_url":"https://github.com/dancingrobot84","followers_url":"https://api.github.com/users/dancingrobot84/followers","following_url":"https://api.github.com/users/dancingrobot84/following{/other_user}","gists_url":"https://api.github.com/users/dancingrobot84/gists{/gist_id}","starred_url":"https://api.github.com/users/dancingrobot84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dancingrobot84/subscriptions","organizations_url":"https://api.github.com/users/dancingrobot84/orgs","repos_url":"https://api.github.com/users/dancingrobot84/repos","events_url":"https://api.github.com/users/dancingrobot84/events{/privacy}","received_events_url":"https://api.github.com/users/dancingrobot84/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":3,"deletions":0,"changed_files":1}}