{"action":"created","issue":{"url":"https://api.github.com/repos/PavlikPolivka/GitLabProjects/issues/44","repository_url":"https://api.github.com/repos/PavlikPolivka/GitLabProjects","labels_url":"https://api.github.com/repos/PavlikPolivka/GitLabProjects/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/PavlikPolivka/GitLabProjects/issues/44/comments","events_url":"https://api.github.com/repos/PavlikPolivka/GitLabProjects/issues/44/events","html_url":"https://github.com/PavlikPolivka/GitLabProjects/issues/44","id":179422977,"number":44,"title":"Plugin crashes everytime when trying to connect to gitlab server","user":{"login":"nomysz","id":3172684,"avatar_url":"https://avatars.githubusercontent.com/u/3172684?v=3","gravatar_id":"","url":"https://api.github.com/users/nomysz","html_url":"https://github.com/nomysz","followers_url":"https://api.github.com/users/nomysz/followers","following_url":"https://api.github.com/users/nomysz/following{/other_user}","gists_url":"https://api.github.com/users/nomysz/gists{/gist_id}","starred_url":"https://api.github.com/users/nomysz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nomysz/subscriptions","organizations_url":"https://api.github.com/users/nomysz/orgs","repos_url":"https://api.github.com/users/nomysz/repos","events_url":"https://api.github.com/users/nomysz/events{/privacy}","received_events_url":"https://api.github.com/users/nomysz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-09-27T08:04:10Z","updated_at":"2016-12-30T10:28:52Z","closed_at":null,"body":"```\nIllegalArgumentException: Argument for @NotNull parameter 'mergeRequestListWorker' of com/ppolivka/gitlabprojects/merge/list/GitLabMergeRequestListDialog. must not be null\n```\n"},"comment":{"url":"https://api.github.com/repos/PavlikPolivka/GitLabProjects/issues/comments/269755841","html_url":"https://github.com/PavlikPolivka/GitLabProjects/issues/44#issuecomment-269755841","issue_url":"https://api.github.com/repos/PavlikPolivka/GitLabProjects/issues/44","id":269755841,"user":{"login":"PavlikPolivka","id":7499182,"avatar_url":"https://avatars.githubusercontent.com/u/7499182?v=3","gravatar_id":"","url":"https://api.github.com/users/PavlikPolivka","html_url":"https://github.com/PavlikPolivka","followers_url":"https://api.github.com/users/PavlikPolivka/followers","following_url":"https://api.github.com/users/PavlikPolivka/following{/other_user}","gists_url":"https://api.github.com/users/PavlikPolivka/gists{/gist_id}","starred_url":"https://api.github.com/users/PavlikPolivka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PavlikPolivka/subscriptions","organizations_url":"https://api.github.com/users/PavlikPolivka/orgs","repos_url":"https://api.github.com/users/PavlikPolivka/repos","events_url":"https://api.github.com/users/PavlikPolivka/events{/privacy}","received_events_url":"https://api.github.com/users/PavlikPolivka/received_events","type":"User","site_admin":false},"created_at":"2016-12-30T10:28:52Z","updated_at":"2016-12-30T10:28:52Z","body":"Hi sorry for very late response I had very busy last few months. \r\nThe xml setting in workspace.xml does not have be present for this to work. When there are GitLab API actions that require project ID (list and creation of merge requests) it will check if the xml snippet is present (from previous run) and if not it will resolve the project id from api and saves it to workspace.xml.\r\n\r\nResolving works like this:\r\n- Via API call it downloads all projects that user has access to. \r\n- it iterates over them until it finds one project with same name or remote url\r\n```\r\n          for (GitlabProject gitlabProject : projects) {\r\n            if (gitlabProject.getName().equals(remoteProjectName) || gitlabProject.getSshUrl().equals(remoteUrl) || gitlabProject.getHttpUrl().equals(remoteUrl)) {\r\n              projectId = gitlabProject.getId();\r\n              projectState.setProjectId(projectId);\r\n              break;\r\n            }\r\n          }\r\n```\r\nWhen project is not found right now it returns null and the whole action goes to error. It should display user friendly error dialog (not happening right now).\r\n\r\nMy guess here is that either gitlab api is not returning all the possible projects (can be tested).\r\n\r\nOr there is something strange with the checkout url."}}
{"actor":{"display_login":"PavlikPolivka"}}