{"action":"closed","number":26,"pull_request":{"url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/pulls/26","id":35563928,"html_url":"https://github.com/wildfly-swarm/wildfly-swarm/pull/26","diff_url":"https://github.com/wildfly-swarm/wildfly-swarm/pull/26.diff","patch_url":"https://github.com/wildfly-swarm/wildfly-swarm/pull/26.patch","issue_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/issues/26","number":26,"state":"closed","locked":false,"title":"Fix for NullPointerException when no username/password specified","user":{"login":"amannm","id":3229134,"avatar_url":"https://avatars.githubusercontent.com/u/3229134?v=3","gravatar_id":"","url":"https://api.github.com/users/amannm","html_url":"https://github.com/amannm","followers_url":"https://api.github.com/users/amannm/followers","following_url":"https://api.github.com/users/amannm/following{/other_user}","gists_url":"https://api.github.com/users/amannm/gists{/gist_id}","starred_url":"https://api.github.com/users/amannm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amannm/subscriptions","organizations_url":"https://api.github.com/users/amannm/orgs","repos_url":"https://api.github.com/users/amannm/repos","events_url":"https://api.github.com/users/amannm/events{/privacy}","received_events_url":"https://api.github.com/users/amannm/received_events","type":"User","site_admin":false},"body":"In my main method, I use the following line to construct my datasource:\r\n`Datasource ds = new Datasource(\"MyDatabase\").connectionURL(\"jdbc:sqlserver://hostname;databaseName=MyDatabase;integratedSecurity=true;\").driver(\"sqlserver\");`\r\n * I don't need a username and password because `integratedSecurity=true`, so I don't specify it. \r\n * Not specifying it throws a NullPointerException when that XML is generated\r\n * Things work fine if I let it write blank tags like `<username></username><password></password>`","created_at":"2015-05-16T02:25:56Z","updated_at":"2015-05-22T23:44:23Z","closed_at":"2015-05-22T23:44:23Z","merged_at":null,"merge_commit_sha":"335f60c53be847142e2b817750583f1927ee3d21","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/pulls/26/commits","review_comments_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/pulls/26/comments","review_comment_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/issues/26/comments","statuses_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/statuses/92ee2ca68bd3abac0d0b5b142cf3721f0a8097fe","head":{"label":"amannm:master","ref":"master","sha":"92ee2ca68bd3abac0d0b5b142cf3721f0a8097fe","user":{"login":"amannm","id":3229134,"avatar_url":"https://avatars.githubusercontent.com/u/3229134?v=3","gravatar_id":"","url":"https://api.github.com/users/amannm","html_url":"https://github.com/amannm","followers_url":"https://api.github.com/users/amannm/followers","following_url":"https://api.github.com/users/amannm/following{/other_user}","gists_url":"https://api.github.com/users/amannm/gists{/gist_id}","starred_url":"https://api.github.com/users/amannm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amannm/subscriptions","organizations_url":"https://api.github.com/users/amannm/orgs","repos_url":"https://api.github.com/users/amannm/repos","events_url":"https://api.github.com/users/amannm/events{/privacy}","received_events_url":"https://api.github.com/users/amannm/received_events","type":"User","site_admin":false},"repo":{"id":35704314,"name":"wildfly-swarm","full_name":"amannm/wildfly-swarm","owner":{"login":"amannm","id":3229134,"avatar_url":"https://avatars.githubusercontent.com/u/3229134?v=3","gravatar_id":"","url":"https://api.github.com/users/amannm","html_url":"https://github.com/amannm","followers_url":"https://api.github.com/users/amannm/followers","following_url":"https://api.github.com/users/amannm/following{/other_user}","gists_url":"https://api.github.com/users/amannm/gists{/gist_id}","starred_url":"https://api.github.com/users/amannm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amannm/subscriptions","organizations_url":"https://api.github.com/users/amannm/orgs","repos_url":"https://api.github.com/users/amannm/repos","events_url":"https://api.github.com/users/amannm/events{/privacy}","received_events_url":"https://api.github.com/users/amannm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/amannm/wildfly-swarm","description":"","fork":true,"url":"https://api.github.com/repos/amannm/wildfly-swarm","forks_url":"https://api.github.com/repos/amannm/wildfly-swarm/forks","keys_url":"https://api.github.com/repos/amannm/wildfly-swarm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amannm/wildfly-swarm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amannm/wildfly-swarm/teams","hooks_url":"https://api.github.com/repos/amannm/wildfly-swarm/hooks","issue_events_url":"https://api.github.com/repos/amannm/wildfly-swarm/issues/events{/number}","events_url":"https://api.github.com/repos/amannm/wildfly-swarm/events","assignees_url":"https://api.github.com/repos/amannm/wildfly-swarm/assignees{/user}","branches_url":"https://api.github.com/repos/amannm/wildfly-swarm/branches{/branch}","tags_url":"https://api.github.com/repos/amannm/wildfly-swarm/tags","blobs_url":"https://api.github.com/repos/amannm/wildfly-swarm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amannm/wildfly-swarm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amannm/wildfly-swarm/git/refs{/sha}","trees_url":"https://api.github.com/repos/amannm/wildfly-swarm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amannm/wildfly-swarm/statuses/{sha}","languages_url":"https://api.github.com/repos/amannm/wildfly-swarm/languages","stargazers_url":"https://api.github.com/repos/amannm/wildfly-swarm/stargazers","contributors_url":"https://api.github.com/repos/amannm/wildfly-swarm/contributors","subscribers_url":"https://api.github.com/repos/amannm/wildfly-swarm/subscribers","subscription_url":"https://api.github.com/repos/amannm/wildfly-swarm/subscription","commits_url":"https://api.github.com/repos/amannm/wildfly-swarm/commits{/sha}","git_commits_url":"https://api.github.com/repos/amannm/wildfly-swarm/git/commits{/sha}","comments_url":"https://api.github.com/repos/amannm/wildfly-swarm/comments{/number}","issue_comment_url":"https://api.github.com/repos/amannm/wildfly-swarm/issues/comments{/number}","contents_url":"https://api.github.com/repos/amannm/wildfly-swarm/contents/{+path}","compare_url":"https://api.github.com/repos/amannm/wildfly-swarm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amannm/wildfly-swarm/merges","archive_url":"https://api.github.com/repos/amannm/wildfly-swarm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amannm/wildfly-swarm/downloads","issues_url":"https://api.github.com/repos/amannm/wildfly-swarm/issues{/number}","pulls_url":"https://api.github.com/repos/amannm/wildfly-swarm/pulls{/number}","milestones_url":"https://api.github.com/repos/amannm/wildfly-swarm/milestones{/number}","notifications_url":"https://api.github.com/repos/amannm/wildfly-swarm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amannm/wildfly-swarm/labels{/name}","releases_url":"https://api.github.com/repos/amannm/wildfly-swarm/releases{/id}","created_at":"2015-05-16T01:08:37Z","updated_at":"2015-05-16T01:08:38Z","pushed_at":"2015-05-21T20:37:03Z","git_url":"git://github.com/amannm/wildfly-swarm.git","ssh_url":"git@github.com:amannm/wildfly-swarm.git","clone_url":"https://github.com/amannm/wildfly-swarm.git","svn_url":"https://github.com/amannm/wildfly-swarm","homepage":null,"size":532,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"wildfly-swarm:master","ref":"master","sha":"761cdf1848a8720614b20a2272983bcd4e5f3c60","user":{"login":"wildfly-swarm","id":11523816,"avatar_url":"https://avatars.githubusercontent.com/u/11523816?v=3","gravatar_id":"","url":"https://api.github.com/users/wildfly-swarm","html_url":"https://github.com/wildfly-swarm","followers_url":"https://api.github.com/users/wildfly-swarm/followers","following_url":"https://api.github.com/users/wildfly-swarm/following{/other_user}","gists_url":"https://api.github.com/users/wildfly-swarm/gists{/gist_id}","starred_url":"https://api.github.com/users/wildfly-swarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wildfly-swarm/subscriptions","organizations_url":"https://api.github.com/users/wildfly-swarm/orgs","repos_url":"https://api.github.com/users/wildfly-swarm/repos","events_url":"https://api.github.com/users/wildfly-swarm/events{/privacy}","received_events_url":"https://api.github.com/users/wildfly-swarm/received_events","type":"Organization","site_admin":false},"repo":{"id":32403249,"name":"wildfly-swarm","full_name":"wildfly-swarm/wildfly-swarm","owner":{"login":"wildfly-swarm","id":11523816,"avatar_url":"https://avatars.githubusercontent.com/u/11523816?v=3","gravatar_id":"","url":"https://api.github.com/users/wildfly-swarm","html_url":"https://github.com/wildfly-swarm","followers_url":"https://api.github.com/users/wildfly-swarm/followers","following_url":"https://api.github.com/users/wildfly-swarm/following{/other_user}","gists_url":"https://api.github.com/users/wildfly-swarm/gists{/gist_id}","starred_url":"https://api.github.com/users/wildfly-swarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wildfly-swarm/subscriptions","organizations_url":"https://api.github.com/users/wildfly-swarm/orgs","repos_url":"https://api.github.com/users/wildfly-swarm/repos","events_url":"https://api.github.com/users/wildfly-swarm/events{/privacy}","received_events_url":"https://api.github.com/users/wildfly-swarm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wildfly-swarm/wildfly-swarm","description":"","fork":false,"url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm","forks_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/forks","keys_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/teams","hooks_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/hooks","issue_events_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/issues/events{/number}","events_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/events","assignees_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/assignees{/user}","branches_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/branches{/branch}","tags_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/tags","blobs_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/git/refs{/sha}","trees_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/statuses/{sha}","languages_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/languages","stargazers_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/stargazers","contributors_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/contributors","subscribers_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/subscribers","subscription_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/subscription","commits_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/commits{/sha}","git_commits_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/git/commits{/sha}","comments_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/comments{/number}","issue_comment_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/issues/comments{/number}","contents_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/contents/{+path}","compare_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/merges","archive_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/downloads","issues_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/issues{/number}","pulls_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/pulls{/number}","milestones_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/milestones{/number}","notifications_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/labels{/name}","releases_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/releases{/id}","created_at":"2015-03-17T15:47:09Z","updated_at":"2015-05-22T19:11:51Z","pushed_at":"2015-05-22T17:46:37Z","git_url":"git://github.com/wildfly-swarm/wildfly-swarm.git","ssh_url":"git@github.com:wildfly-swarm/wildfly-swarm.git","clone_url":"https://github.com/wildfly-swarm/wildfly-swarm.git","svn_url":"https://github.com/wildfly-swarm/wildfly-swarm","homepage":null,"size":867,"stargazers_count":62,"watchers_count":62,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":12,"forks":13,"open_issues":12,"watchers":62,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/pulls/26"},"html":{"href":"https://github.com/wildfly-swarm/wildfly-swarm/pull/26"},"issue":{"href":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/issues/26"},"comments":{"href":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/statuses/92ee2ca68bd3abac0d0b5b142cf3721f0a8097fe"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":2,"review_comments":0,"commits":3,"additions":16,"deletions":21,"changed_files":2}}