{"action":"closed","number":25062,"pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/25062","id":73384624,"html_url":"https://github.com/owncloud/core/pull/25062","diff_url":"https://github.com/owncloud/core/pull/25062.diff","patch_url":"https://github.com/owncloud/core/pull/25062.patch","issue_url":"https://api.github.com/repos/owncloud/core/issues/25062","number":25062,"state":"closed","locked":false,"title":"Fix null pointer exception in user_ldap","user":{"login":"butonic","id":956847,"avatar_url":"https://avatars.githubusercontent.com/u/956847?v=3","gravatar_id":"","url":"https://api.github.com/users/butonic","html_url":"https://github.com/butonic","followers_url":"https://api.github.com/users/butonic/followers","following_url":"https://api.github.com/users/butonic/following{/other_user}","gists_url":"https://api.github.com/users/butonic/gists{/gist_id}","starred_url":"https://api.github.com/users/butonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/butonic/subscriptions","organizations_url":"https://api.github.com/users/butonic/orgs","repos_url":"https://api.github.com/users/butonic/repos","events_url":"https://api.github.com/users/butonic/events{/privacy}","received_events_url":"https://api.github.com/users/butonic/received_events","type":"User","site_admin":false},"body":"This will prevent upgrade experiences like this:\r\n```\r\nI tried to prepare our next upgrade from 8.2.5 to 9.0.2. The occ-script \r\nis throwing an error: \r\n\r\n[root@owncloud owncloud_9.0.2]# php55 occ -vvv upgrade \r\n--skip-migration-test \r\nownCloud or one of the apps require upgrade - only a limited number of \r\ncommands are available \r\nYou may use your browser or the occ upgrade command to do the upgrade \r\n2016-06-06T11:20:43+02:00 Set log level to debug \r\n2016-06-06T11:20:43+02:00 Turned on maintenance mode \r\n2016-06-06T11:20:43+02:00 Repair step: Repair MySQL database engine \r\n2016-06-06T11:20:43+02:00 Repair step: Repair MySQL collation \r\n2016-06-06T11:20:43+02:00 Repair step: Repair SQLite autoincrement \r\n2016-06-06T11:20:43+02:00 Repair step: Repair duplicate entries in \r\noc_lucene_status \r\n2016-06-06T11:20:43+02:00 Repair info: lucene_status table does not \r\nexist -> nothing to do \r\n2016-06-06T11:20:43+02:00 Updating database schema \r\n2016-06-06T11:20:44+02:00 Updated database \r\n2016-06-06T11:20:44+02:00 Disabled 3rd-party app: files_videoviewer \r\n2016-06-06T11:20:44+02:00 Disabled 3rd-party app: updater \r\n2016-06-06T11:20:44+02:00 Updating <files_pdfviewer> ... \r\n2016-06-06T11:20:44+02:00 Updated <files_pdfviewer> to 0.8.1 \r\n2016-06-06T11:20:44+02:00 Updating <files_texteditor> ... \r\n2016-06-06T11:20:44+02:00 Updated <files_texteditor> to 2.1 \r\n2016-06-06T11:20:44+02:00 Updating <gallery> ... \r\n2016-06-06T11:20:44+02:00 Updated <gallery> to 14.5.0 \r\n2016-06-06T11:20:44+02:00 Updating <user_ldap> ... \r\n2016-06-06T11:20:44+02:00 Updated <user_ldap> to 0.8.0 \r\n2016-06-06T11:20:44+02:00 Updating <files> ... \r\n2016-06-06T11:20:44+02:00 Updated <files> to 1.4.4 \r\n2016-06-06T11:20:44+02:00 Updating <activity> ... \r\n2016-06-06T11:20:44+02:00 Updated <activity> to 2.2.1 \r\n2016-06-06T11:20:44+02:00 Updating <files_sharing> ... \r\n2016-06-06T11:20:44+02:00 Updated <files_sharing> to 0.9.1 \r\n2016-06-06T11:20:44+02:00 Updating <files_trashbin> ... \r\n2016-06-06T11:20:44+02:00 Updated <files_trashbin> to 0.8.0 \r\n2016-06-06T11:20:44+02:00 Updating <files_versions> ... \r\n2016-06-06T11:20:44+02:00 Updated <files_versions> to 1.2.0 \r\n2016-06-06T11:20:44+02:00 Updating <firewall> ... \r\n2016-06-06T11:20:44+02:00 Updated <firewall> to 2.3.0 \r\n2016-06-06T11:20:44+02:00 Updating <notifications> ... \r\n2016-06-06T11:20:44+02:00 Updated <notifications> to 0.2.3 \r\n2016-06-06T11:20:44+02:00 Updating <provisioning_api> ... \r\n2016-06-06T11:20:44+02:00 Updated <provisioning_api> to 0.4.1 \r\n2016-06-06T11:20:44+02:00 Updating <admin_audit> ... \r\n2016-06-06T11:20:44+02:00 Updated <admin_audit> to 0.7 \r\nPHP Fatal error: Call to a member function processAttributes() on a \r\nnon-object in \r\n/var/www/html/owncloud_9.0.2/apps/user_ldap/lib/access.php \r\non line 733 \r\n[root@owncloud owncloud_9.0.2]# \r\n```\r\n\r\nLeaves the qestion why do we get null from the ldap user manager ...\r\n\r\n00005599","created_at":"2016-06-10T14:43:27Z","updated_at":"2016-06-21T14:30:48Z","closed_at":"2016-06-21T14:30:48Z","merged_at":"2016-06-21T14:30:48Z","merge_commit_sha":"704a993e37fc02b4dda0f0e683af4c9572ed51c7","assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/62","html_url":"https://github.com/owncloud/core/milestones/9.1-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/62/labels","id":1322460,"number":62,"title":"9.1-current","description":"","creator":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"open_issues":304,"closed_issues":1147,"state":"open","created_at":"2015-09-24T16:30:14Z","updated_at":"2016-06-21T14:30:48Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/owncloud/core/pulls/25062/commits","review_comments_url":"https://api.github.com/repos/owncloud/core/pulls/25062/comments","review_comment_url":"https://api.github.com/repos/owncloud/core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/owncloud/core/issues/25062/comments","statuses_url":"https://api.github.com/repos/owncloud/core/statuses/c0bbbd6d11f3485d6197523bd74ce1226712b591","head":{"label":"owncloud:fix-npe-in-user-ldap","ref":"fix-npe-in-user-ldap","sha":"c0bbbd6d11f3485d6197523bd74ce1226712b591","user":{"login":"owncloud","id":1645051,"avatar_url":"https://avatars.githubusercontent.com/u/1645051?v=3","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"repo":{"id":5550552,"name":"core","full_name":"owncloud/core","owner":{"login":"owncloud","id":1645051,"avatar_url":"https://avatars.githubusercontent.com/u/1645051?v=3","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/owncloud/core","description":":cloud: ownCloud web server core (Files, DAV, etc.)","fork":false,"url":"https://api.github.com/repos/owncloud/core","forks_url":"https://api.github.com/repos/owncloud/core/forks","keys_url":"https://api.github.com/repos/owncloud/core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/owncloud/core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/owncloud/core/teams","hooks_url":"https://api.github.com/repos/owncloud/core/hooks","issue_events_url":"https://api.github.com/repos/owncloud/core/issues/events{/number}","events_url":"https://api.github.com/repos/owncloud/core/events","assignees_url":"https://api.github.com/repos/owncloud/core/assignees{/user}","branches_url":"https://api.github.com/repos/owncloud/core/branches{/branch}","tags_url":"https://api.github.com/repos/owncloud/core/tags","blobs_url":"https://api.github.com/repos/owncloud/core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/owncloud/core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/owncloud/core/git/refs{/sha}","trees_url":"https://api.github.com/repos/owncloud/core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/owncloud/core/statuses/{sha}","languages_url":"https://api.github.com/repos/owncloud/core/languages","stargazers_url":"https://api.github.com/repos/owncloud/core/stargazers","contributors_url":"https://api.github.com/repos/owncloud/core/contributors","subscribers_url":"https://api.github.com/repos/owncloud/core/subscribers","subscription_url":"https://api.github.com/repos/owncloud/core/subscription","commits_url":"https://api.github.com/repos/owncloud/core/commits{/sha}","git_commits_url":"https://api.github.com/repos/owncloud/core/git/commits{/sha}","comments_url":"https://api.github.com/repos/owncloud/core/comments{/number}","issue_comment_url":"https://api.github.com/repos/owncloud/core/issues/comments{/number}","contents_url":"https://api.github.com/repos/owncloud/core/contents/{+path}","compare_url":"https://api.github.com/repos/owncloud/core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/owncloud/core/merges","archive_url":"https://api.github.com/repos/owncloud/core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/owncloud/core/downloads","issues_url":"https://api.github.com/repos/owncloud/core/issues{/number}","pulls_url":"https://api.github.com/repos/owncloud/core/pulls{/number}","milestones_url":"https://api.github.com/repos/owncloud/core/milestones{/number}","notifications_url":"https://api.github.com/repos/owncloud/core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/owncloud/core/labels{/name}","releases_url":"https://api.github.com/repos/owncloud/core/releases{/id}","deployments_url":"https://api.github.com/repos/owncloud/core/deployments","created_at":"2012-08-25T10:32:48Z","updated_at":"2016-06-21T07:32:48Z","pushed_at":"2016-06-21T14:30:48Z","git_url":"git://github.com/owncloud/core.git","ssh_url":"git@github.com:owncloud/core.git","clone_url":"https://github.com/owncloud/core.git","svn_url":"https://github.com/owncloud/core","homepage":"https://owncloud.org/","size":317765,"stargazers_count":4643,"watchers_count":4643,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1519,"mirror_url":null,"open_issues_count":1787,"forks":1519,"open_issues":1787,"watchers":4643,"default_branch":"master"}},"base":{"label":"owncloud:master","ref":"master","sha":"ca168265ef04c3ea1b5be468697fa4b55d1e6b38","user":{"login":"owncloud","id":1645051,"avatar_url":"https://avatars.githubusercontent.com/u/1645051?v=3","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"repo":{"id":5550552,"name":"core","full_name":"owncloud/core","owner":{"login":"owncloud","id":1645051,"avatar_url":"https://avatars.githubusercontent.com/u/1645051?v=3","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/owncloud/core","description":":cloud: ownCloud web server core (Files, DAV, etc.)","fork":false,"url":"https://api.github.com/repos/owncloud/core","forks_url":"https://api.github.com/repos/owncloud/core/forks","keys_url":"https://api.github.com/repos/owncloud/core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/owncloud/core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/owncloud/core/teams","hooks_url":"https://api.github.com/repos/owncloud/core/hooks","issue_events_url":"https://api.github.com/repos/owncloud/core/issues/events{/number}","events_url":"https://api.github.com/repos/owncloud/core/events","assignees_url":"https://api.github.com/repos/owncloud/core/assignees{/user}","branches_url":"https://api.github.com/repos/owncloud/core/branches{/branch}","tags_url":"https://api.github.com/repos/owncloud/core/tags","blobs_url":"https://api.github.com/repos/owncloud/core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/owncloud/core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/owncloud/core/git/refs{/sha}","trees_url":"https://api.github.com/repos/owncloud/core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/owncloud/core/statuses/{sha}","languages_url":"https://api.github.com/repos/owncloud/core/languages","stargazers_url":"https://api.github.com/repos/owncloud/core/stargazers","contributors_url":"https://api.github.com/repos/owncloud/core/contributors","subscribers_url":"https://api.github.com/repos/owncloud/core/subscribers","subscription_url":"https://api.github.com/repos/owncloud/core/subscription","commits_url":"https://api.github.com/repos/owncloud/core/commits{/sha}","git_commits_url":"https://api.github.com/repos/owncloud/core/git/commits{/sha}","comments_url":"https://api.github.com/repos/owncloud/core/comments{/number}","issue_comment_url":"https://api.github.com/repos/owncloud/core/issues/comments{/number}","contents_url":"https://api.github.com/repos/owncloud/core/contents/{+path}","compare_url":"https://api.github.com/repos/owncloud/core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/owncloud/core/merges","archive_url":"https://api.github.com/repos/owncloud/core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/owncloud/core/downloads","issues_url":"https://api.github.com/repos/owncloud/core/issues{/number}","pulls_url":"https://api.github.com/repos/owncloud/core/pulls{/number}","milestones_url":"https://api.github.com/repos/owncloud/core/milestones{/number}","notifications_url":"https://api.github.com/repos/owncloud/core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/owncloud/core/labels{/name}","releases_url":"https://api.github.com/repos/owncloud/core/releases{/id}","deployments_url":"https://api.github.com/repos/owncloud/core/deployments","created_at":"2012-08-25T10:32:48Z","updated_at":"2016-06-21T07:32:48Z","pushed_at":"2016-06-21T14:30:48Z","git_url":"git://github.com/owncloud/core.git","ssh_url":"git@github.com:owncloud/core.git","clone_url":"https://github.com/owncloud/core.git","svn_url":"https://github.com/owncloud/core","homepage":"https://owncloud.org/","size":317765,"stargazers_count":4643,"watchers_count":4643,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1519,"mirror_url":null,"open_issues_count":1787,"forks":1519,"open_issues":1787,"watchers":4643,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/owncloud/core/pulls/25062"},"html":{"href":"https://github.com/owncloud/core/pull/25062"},"issue":{"href":"https://api.github.com/repos/owncloud/core/issues/25062"},"comments":{"href":"https://api.github.com/repos/owncloud/core/issues/25062/comments"},"review_comments":{"href":"https://api.github.com/repos/owncloud/core/pulls/25062/comments"},"review_comment":{"href":"https://api.github.com/repos/owncloud/core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/owncloud/core/pulls/25062/commits"},"statuses":{"href":"https://api.github.com/repos/owncloud/core/statuses/c0bbbd6d11f3485d6197523bd74ce1226712b591"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"DeepDiver1975","id":1005065,"avatar_url":"https://avatars.githubusercontent.com/u/1005065?v=3","gravatar_id":"","url":"https://api.github.com/users/DeepDiver1975","html_url":"https://github.com/DeepDiver1975","followers_url":"https://api.github.com/users/DeepDiver1975/followers","following_url":"https://api.github.com/users/DeepDiver1975/following{/other_user}","gists_url":"https://api.github.com/users/DeepDiver1975/gists{/gist_id}","starred_url":"https://api.github.com/users/DeepDiver1975/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeepDiver1975/subscriptions","organizations_url":"https://api.github.com/users/DeepDiver1975/orgs","repos_url":"https://api.github.com/users/DeepDiver1975/repos","events_url":"https://api.github.com/users/DeepDiver1975/events{/privacy}","received_events_url":"https://api.github.com/users/DeepDiver1975/received_events","type":"User","site_admin":false},"comments":13,"review_comments":1,"commits":1,"additions":8,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"DeepDiver1975"}}