{"action":"created","issue":{"url":"https://api.github.com/repos/OfficeDev/ews-java-api/issues/318","labels_url":"https://api.github.com/repos/OfficeDev/ews-java-api/issues/318/labels{/name}","comments_url":"https://api.github.com/repos/OfficeDev/ews-java-api/issues/318/comments","events_url":"https://api.github.com/repos/OfficeDev/ews-java-api/issues/318/events","html_url":"https://github.com/OfficeDev/ews-java-api/issues/318","id":75892846,"number":318,"title":"Exception when calling \"send()\" method","user":{"login":"themartin78","id":2922698,"avatar_url":"https://avatars.githubusercontent.com/u/2922698?v=3","gravatar_id":"","url":"https://api.github.com/users/themartin78","html_url":"https://github.com/themartin78","followers_url":"https://api.github.com/users/themartin78/followers","following_url":"https://api.github.com/users/themartin78/following{/other_user}","gists_url":"https://api.github.com/users/themartin78/gists{/gist_id}","starred_url":"https://api.github.com/users/themartin78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/themartin78/subscriptions","organizations_url":"https://api.github.com/users/themartin78/orgs","repos_url":"https://api.github.com/users/themartin78/repos","events_url":"https://api.github.com/users/themartin78/events{/privacy}","received_events_url":"https://api.github.com/users/themartin78/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OfficeDev/ews-java-api/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-13T08:08:31Z","updated_at":"2015-05-20T10:26:39Z","closed_at":null,"body":"Dear all,\r\n\r\nI currently encounter problems when calling \"send()\" on a message. Although the message properties (recipients, attachments, etc.) have been properly set, I always get an exception when calling send:\r\n\r\n```exception\r\n microsoft.exchange.webservices.data.exception.ServiceRequestException: The request failed. null\r\nat microsoft.exchange.webservices.data.core.request.SimpleServiceRequestBase.internalExecute(SimpleServiceRequestBase.java:80)\r\nat microsoft.exchange.webservices.data.core.request.MultiResponseServiceRequest.execute(MultiResponseServiceRequest.java:158)\r\nat microsoft.exchange.webservices.data.core.ExchangeService.internalCreateItems(ExchangeService.java:594)\r\nat microsoft.exchange.webservices.data.core.ExchangeService.createItem(ExchangeService.java:653)\r\nat microsoft.exchange.webservices.data.core.service.item.Item.internalCreate(Item.java:247)\r\nat microsoft.exchange.webservices.data.core.service.item.EmailMessage.internalSend(EmailMessage.java:147)\r\nat microsoft.exchange.webservices.data.core.service.item.EmailMessage.send(EmailMessage.java:258)\r\nat Serienmailer$1.run(Serienmailer.java:106)\r\nat java.lang.Thread.run(Unknown Source)\r\n\r\nCaused by: java.lang.NullPointerException\r\nat microsoft.exchange.webservices.data.core.ExchangeServerInfo.parse(ExchangeServerInfo.java:80)\r\nat microsoft.exchange.webservices.data.core.request.ServiceRequestBase.readSoapHeader(ServiceRequestBase.java:530)\r\nat microsoft.exchange.webservices.data.core.request.ServiceRequestBase.readResponse(ServiceRequestBase.java:485)\r\nat microsoft.exchange.webservices.data.core.request.ServiceRequestBase.readResponse(ServiceRequestBase.java:453)\r\nat microsoft.exchange.webservices.data.core.request.SimpleServiceRequestBase.internalExecute(SimpleServiceRequestBase.java:69)\r\n... 8 more\r\n```\r\n\r\nWhat is really strange is that the message does get sent despite the exception. That is, unless I add file attachments to the message. Then the message gets stuck in my drafts folder and nothing else happens.\r\n\r\nAny idea on that I might be doing wrong or how I could tackle the problem?\r\n\r\nBest\r\nMartin"},"comment":{"url":"https://api.github.com/repos/OfficeDev/ews-java-api/issues/comments/103837009","html_url":"https://github.com/OfficeDev/ews-java-api/issues/318#issuecomment-103837009","issue_url":"https://api.github.com/repos/OfficeDev/ews-java-api/issues/318","id":103837009,"user":{"login":"themartin78","id":2922698,"avatar_url":"https://avatars.githubusercontent.com/u/2922698?v=3","gravatar_id":"","url":"https://api.github.com/users/themartin78","html_url":"https://github.com/themartin78","followers_url":"https://api.github.com/users/themartin78/followers","following_url":"https://api.github.com/users/themartin78/following{/other_user}","gists_url":"https://api.github.com/users/themartin78/gists{/gist_id}","starred_url":"https://api.github.com/users/themartin78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/themartin78/subscriptions","organizations_url":"https://api.github.com/users/themartin78/orgs","repos_url":"https://api.github.com/users/themartin78/repos","events_url":"https://api.github.com/users/themartin78/events{/privacy}","received_events_url":"https://api.github.com/users/themartin78/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T10:26:39Z","updated_at":"2015-05-20T10:26:39Z","body":"> Did you do any debugging on it with evaluation of the possible cause?\r\nTried to but posted here since I was unable to identify the cause.\r\n\r\n> Does this exception occur for every E-Mail?\r\nYes.\r\n\r\n> Will it be thrown after some of them where send successfully?\r\nYes."}}