{"action":"closed","number":34,"pull_request":{"url":"https://api.github.com/repos/cchantep/acolyte/pulls/34","id":59642917,"html_url":"https://github.com/cchantep/acolyte/pull/34","diff_url":"https://github.com/cchantep/acolyte/pull/34.diff","patch_url":"https://github.com/cchantep/acolyte/pull/34.patch","issue_url":"https://api.github.com/repos/cchantep/acolyte/issues/34","number":34,"state":"closed","locked":false,"title":"Fix NullPointerException with ReactiveMongo 0.11.9","user":{"login":"efesler","id":1410070,"avatar_url":"https://avatars.githubusercontent.com/u/1410070?v=3","gravatar_id":"","url":"https://api.github.com/users/efesler","html_url":"https://github.com/efesler","followers_url":"https://api.github.com/users/efesler/followers","following_url":"https://api.github.com/users/efesler/following{/other_user}","gists_url":"https://api.github.com/users/efesler/gists{/gist_id}","starred_url":"https://api.github.com/users/efesler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/efesler/subscriptions","organizations_url":"https://api.github.com/users/efesler/orgs","repos_url":"https://api.github.com/users/efesler/repos","events_url":"https://api.github.com/users/efesler/events{/privacy}","received_events_url":"https://api.github.com/users/efesler/received_events","type":"User","site_admin":false},"body":"When testing the Persistence example with ReactiveMongo 0.11.9, I get the following error:\r\n\r\n`[ERROR] [02/17/2016 14:14:25.672] [reactivemongo-akka.actor.default-dispatcher-3] [akka://reactivemongo/user/$a] null\r\nakka.actor.ActorInitializationException: exception during creation\r\n\tat akka.actor.ActorInitializationException$.apply(Actor.scala:164)\r\n\tat akka.actor.ActorCell.create(ActorCell.scala:596)\r\n\tat akka.actor.ActorCell.invokeAll$1(ActorCell.scala:456)\r\n\tat akka.actor.ActorCell.systemInvoke(ActorCell.scala:478)\r\n\tat akka.dispatch.Mailbox.processAllSystemMessages(Mailbox.scala:279)\r\n\tat akka.dispatch.Mailbox.run(Mailbox.scala:220)\r\n\tat akka.dispatch.Mailbox.exec(Mailbox.scala:231)\r\n\tat scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)\r\n\tat scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)\r\n\tat scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)\r\n\tat scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)\r\nCaused by: java.lang.reflect.InvocationTargetException\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\r\n\tat java.lang.reflect.Constructor.newInstance(Constructor.java:422)\r\n\tat akka.util.Reflect$.instantiate(Reflect.scala:66)\r\n\tat akka.actor.ArgsReflectConstructor.produce(Props.scala:352)\r\n\tat akka.actor.Props.newActor(Props.scala:252)\r\n\tat akka.actor.ActorCell.newActor(ActorCell.scala:552)\r\n\tat akka.actor.ActorCell.create(ActorCell.scala:578)\r\n\t... 9 more\r\nCaused by: java.lang.NullPointerException\r\n\tat reactivemongo.core.actors.MongoDBSystem$class.$init$(actors.scala:606)\r\n\tat acolyte.reactivemongo.Actor.<init>(Akka.scala:48)\r\n\t... 18 more\r\n`\r\n\r\nTo avoid this issue, I've set the overridden var or val to 'lazy'.","created_at":"2016-02-17T13:24:42Z","updated_at":"2016-02-28T00:30:59Z","closed_at":"2016-02-28T00:30:59Z","merged_at":null,"merge_commit_sha":"8d2578822757683e6db6b8aef1b6359c89c728a6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cchantep/acolyte/pulls/34/commits","review_comments_url":"https://api.github.com/repos/cchantep/acolyte/pulls/34/comments","review_comment_url":"https://api.github.com/repos/cchantep/acolyte/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cchantep/acolyte/issues/34/comments","statuses_url":"https://api.github.com/repos/cchantep/acolyte/statuses/ce7f09353cb5624e5420551b22785827b382e6d5","head":{"label":"efesler:fixNPE","ref":"fixNPE","sha":"ce7f09353cb5624e5420551b22785827b382e6d5","user":{"login":"efesler","id":1410070,"avatar_url":"https://avatars.githubusercontent.com/u/1410070?v=3","gravatar_id":"","url":"https://api.github.com/users/efesler","html_url":"https://github.com/efesler","followers_url":"https://api.github.com/users/efesler/followers","following_url":"https://api.github.com/users/efesler/following{/other_user}","gists_url":"https://api.github.com/users/efesler/gists{/gist_id}","starred_url":"https://api.github.com/users/efesler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/efesler/subscriptions","organizations_url":"https://api.github.com/users/efesler/orgs","repos_url":"https://api.github.com/users/efesler/repos","events_url":"https://api.github.com/users/efesler/events{/privacy}","received_events_url":"https://api.github.com/users/efesler/received_events","type":"User","site_admin":false},"repo":{"id":51916939,"name":"acolyte","full_name":"efesler/acolyte","owner":{"login":"efesler","id":1410070,"avatar_url":"https://avatars.githubusercontent.com/u/1410070?v=3","gravatar_id":"","url":"https://api.github.com/users/efesler","html_url":"https://github.com/efesler","followers_url":"https://api.github.com/users/efesler/followers","following_url":"https://api.github.com/users/efesler/following{/other_user}","gists_url":"https://api.github.com/users/efesler/gists{/gist_id}","starred_url":"https://api.github.com/users/efesler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/efesler/subscriptions","organizations_url":"https://api.github.com/users/efesler/orgs","repos_url":"https://api.github.com/users/efesler/repos","events_url":"https://api.github.com/users/efesler/events{/privacy}","received_events_url":"https://api.github.com/users/efesler/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/efesler/acolyte","description":"Mockup/testing JDBC driver (or Chmeee's son on the Ringworld).","fork":true,"url":"https://api.github.com/repos/efesler/acolyte","forks_url":"https://api.github.com/repos/efesler/acolyte/forks","keys_url":"https://api.github.com/repos/efesler/acolyte/keys{/key_id}","collaborators_url":"https://api.github.com/repos/efesler/acolyte/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/efesler/acolyte/teams","hooks_url":"https://api.github.com/repos/efesler/acolyte/hooks","issue_events_url":"https://api.github.com/repos/efesler/acolyte/issues/events{/number}","events_url":"https://api.github.com/repos/efesler/acolyte/events","assignees_url":"https://api.github.com/repos/efesler/acolyte/assignees{/user}","branches_url":"https://api.github.com/repos/efesler/acolyte/branches{/branch}","tags_url":"https://api.github.com/repos/efesler/acolyte/tags","blobs_url":"https://api.github.com/repos/efesler/acolyte/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/efesler/acolyte/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/efesler/acolyte/git/refs{/sha}","trees_url":"https://api.github.com/repos/efesler/acolyte/git/trees{/sha}","statuses_url":"https://api.github.com/repos/efesler/acolyte/statuses/{sha}","languages_url":"https://api.github.com/repos/efesler/acolyte/languages","stargazers_url":"https://api.github.com/repos/efesler/acolyte/stargazers","contributors_url":"https://api.github.com/repos/efesler/acolyte/contributors","subscribers_url":"https://api.github.com/repos/efesler/acolyte/subscribers","subscription_url":"https://api.github.com/repos/efesler/acolyte/subscription","commits_url":"https://api.github.com/repos/efesler/acolyte/commits{/sha}","git_commits_url":"https://api.github.com/repos/efesler/acolyte/git/commits{/sha}","comments_url":"https://api.github.com/repos/efesler/acolyte/comments{/number}","issue_comment_url":"https://api.github.com/repos/efesler/acolyte/issues/comments{/number}","contents_url":"https://api.github.com/repos/efesler/acolyte/contents/{+path}","compare_url":"https://api.github.com/repos/efesler/acolyte/compare/{base}...{head}","merges_url":"https://api.github.com/repos/efesler/acolyte/merges","archive_url":"https://api.github.com/repos/efesler/acolyte/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/efesler/acolyte/downloads","issues_url":"https://api.github.com/repos/efesler/acolyte/issues{/number}","pulls_url":"https://api.github.com/repos/efesler/acolyte/pulls{/number}","milestones_url":"https://api.github.com/repos/efesler/acolyte/milestones{/number}","notifications_url":"https://api.github.com/repos/efesler/acolyte/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/efesler/acolyte/labels{/name}","releases_url":"https://api.github.com/repos/efesler/acolyte/releases{/id}","deployments_url":"https://api.github.com/repos/efesler/acolyte/deployments","created_at":"2016-02-17T11:14:16Z","updated_at":"2016-02-17T11:14:17Z","pushed_at":"2016-02-19T10:22:35Z","git_url":"git://github.com/efesler/acolyte.git","ssh_url":"git@github.com:efesler/acolyte.git","clone_url":"https://github.com/efesler/acolyte.git","svn_url":"https://github.com/efesler/acolyte","homepage":null,"size":13022,"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":"cchantep:master","ref":"master","sha":"de0179bd758b93861fb9405869743005ec31ff09","user":{"login":"cchantep","id":166062,"avatar_url":"https://avatars.githubusercontent.com/u/166062?v=3","gravatar_id":"","url":"https://api.github.com/users/cchantep","html_url":"https://github.com/cchantep","followers_url":"https://api.github.com/users/cchantep/followers","following_url":"https://api.github.com/users/cchantep/following{/other_user}","gists_url":"https://api.github.com/users/cchantep/gists{/gist_id}","starred_url":"https://api.github.com/users/cchantep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cchantep/subscriptions","organizations_url":"https://api.github.com/users/cchantep/orgs","repos_url":"https://api.github.com/users/cchantep/repos","events_url":"https://api.github.com/users/cchantep/events{/privacy}","received_events_url":"https://api.github.com/users/cchantep/received_events","type":"User","site_admin":false},"repo":{"id":9815476,"name":"acolyte","full_name":"cchantep/acolyte","owner":{"login":"cchantep","id":166062,"avatar_url":"https://avatars.githubusercontent.com/u/166062?v=3","gravatar_id":"","url":"https://api.github.com/users/cchantep","html_url":"https://github.com/cchantep","followers_url":"https://api.github.com/users/cchantep/followers","following_url":"https://api.github.com/users/cchantep/following{/other_user}","gists_url":"https://api.github.com/users/cchantep/gists{/gist_id}","starred_url":"https://api.github.com/users/cchantep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cchantep/subscriptions","organizations_url":"https://api.github.com/users/cchantep/orgs","repos_url":"https://api.github.com/users/cchantep/repos","events_url":"https://api.github.com/users/cchantep/events{/privacy}","received_events_url":"https://api.github.com/users/cchantep/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cchantep/acolyte","description":"Mockup/testing JDBC driver (or Chmeee's son on the Ringworld).","fork":false,"url":"https://api.github.com/repos/cchantep/acolyte","forks_url":"https://api.github.com/repos/cchantep/acolyte/forks","keys_url":"https://api.github.com/repos/cchantep/acolyte/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cchantep/acolyte/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cchantep/acolyte/teams","hooks_url":"https://api.github.com/repos/cchantep/acolyte/hooks","issue_events_url":"https://api.github.com/repos/cchantep/acolyte/issues/events{/number}","events_url":"https://api.github.com/repos/cchantep/acolyte/events","assignees_url":"https://api.github.com/repos/cchantep/acolyte/assignees{/user}","branches_url":"https://api.github.com/repos/cchantep/acolyte/branches{/branch}","tags_url":"https://api.github.com/repos/cchantep/acolyte/tags","blobs_url":"https://api.github.com/repos/cchantep/acolyte/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cchantep/acolyte/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cchantep/acolyte/git/refs{/sha}","trees_url":"https://api.github.com/repos/cchantep/acolyte/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cchantep/acolyte/statuses/{sha}","languages_url":"https://api.github.com/repos/cchantep/acolyte/languages","stargazers_url":"https://api.github.com/repos/cchantep/acolyte/stargazers","contributors_url":"https://api.github.com/repos/cchantep/acolyte/contributors","subscribers_url":"https://api.github.com/repos/cchantep/acolyte/subscribers","subscription_url":"https://api.github.com/repos/cchantep/acolyte/subscription","commits_url":"https://api.github.com/repos/cchantep/acolyte/commits{/sha}","git_commits_url":"https://api.github.com/repos/cchantep/acolyte/git/commits{/sha}","comments_url":"https://api.github.com/repos/cchantep/acolyte/comments{/number}","issue_comment_url":"https://api.github.com/repos/cchantep/acolyte/issues/comments{/number}","contents_url":"https://api.github.com/repos/cchantep/acolyte/contents/{+path}","compare_url":"https://api.github.com/repos/cchantep/acolyte/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cchantep/acolyte/merges","archive_url":"https://api.github.com/repos/cchantep/acolyte/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cchantep/acolyte/downloads","issues_url":"https://api.github.com/repos/cchantep/acolyte/issues{/number}","pulls_url":"https://api.github.com/repos/cchantep/acolyte/pulls{/number}","milestones_url":"https://api.github.com/repos/cchantep/acolyte/milestones{/number}","notifications_url":"https://api.github.com/repos/cchantep/acolyte/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cchantep/acolyte/labels{/name}","releases_url":"https://api.github.com/repos/cchantep/acolyte/releases{/id}","deployments_url":"https://api.github.com/repos/cchantep/acolyte/deployments","created_at":"2013-05-02T14:58:45Z","updated_at":"2016-02-16T06:53:35Z","pushed_at":"2016-02-27T17:10:06Z","git_url":"git://github.com/cchantep/acolyte.git","ssh_url":"git@github.com:cchantep/acolyte.git","clone_url":"https://github.com/cchantep/acolyte.git","svn_url":"https://github.com/cchantep/acolyte","homepage":null,"size":13762,"stargazers_count":23,"watchers_count":23,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":7,"forks":4,"open_issues":7,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cchantep/acolyte/pulls/34"},"html":{"href":"https://github.com/cchantep/acolyte/pull/34"},"issue":{"href":"https://api.github.com/repos/cchantep/acolyte/issues/34"},"comments":{"href":"https://api.github.com/repos/cchantep/acolyte/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/cchantep/acolyte/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/cchantep/acolyte/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cchantep/acolyte/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/cchantep/acolyte/statuses/ce7f09353cb5624e5420551b22785827b382e6d5"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":2,"review_comments":0,"commits":5,"additions":147,"deletions":81,"changed_files":16}}