{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-event-hubs-java/issues/7","repository_url":"https://api.github.com/repos/Azure/azure-event-hubs-java","labels_url":"https://api.github.com/repos/Azure/azure-event-hubs-java/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-event-hubs-java/issues/7/comments","events_url":"https://api.github.com/repos/Azure/azure-event-hubs-java/issues/7/events","html_url":"https://github.com/Azure/azure-event-hubs-java/issues/7","id":186557294,"number":7,"title":"ServiceBusException while creating client","user":{"login":"jtaubensee","id":8162917,"avatar_url":"https://avatars.githubusercontent.com/u/8162917?v=3","gravatar_id":"","url":"https://api.github.com/users/jtaubensee","html_url":"https://github.com/jtaubensee","followers_url":"https://api.github.com/users/jtaubensee/followers","following_url":"https://api.github.com/users/jtaubensee/following{/other_user}","gists_url":"https://api.github.com/users/jtaubensee/gists{/gist_id}","starred_url":"https://api.github.com/users/jtaubensee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtaubensee/subscriptions","organizations_url":"https://api.github.com/users/jtaubensee/orgs","repos_url":"https://api.github.com/users/jtaubensee/repos","events_url":"https://api.github.com/users/jtaubensee/events{/privacy}","received_events_url":"https://api.github.com/users/jtaubensee/received_events","type":"User","site_admin":false},"labels":[{"id":467865552,"url":"https://api.github.com/repos/Azure/azure-event-hubs-java/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"open","locked":false,"assignee":{"login":"SreeramGarlapati","id":11813428,"avatar_url":"https://avatars.githubusercontent.com/u/11813428?v=3","gravatar_id":"","url":"https://api.github.com/users/SreeramGarlapati","html_url":"https://github.com/SreeramGarlapati","followers_url":"https://api.github.com/users/SreeramGarlapati/followers","following_url":"https://api.github.com/users/SreeramGarlapati/following{/other_user}","gists_url":"https://api.github.com/users/SreeramGarlapati/gists{/gist_id}","starred_url":"https://api.github.com/users/SreeramGarlapati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SreeramGarlapati/subscriptions","organizations_url":"https://api.github.com/users/SreeramGarlapati/orgs","repos_url":"https://api.github.com/users/SreeramGarlapati/repos","events_url":"https://api.github.com/users/SreeramGarlapati/events{/privacy}","received_events_url":"https://api.github.com/users/SreeramGarlapati/received_events","type":"User","site_admin":false},"assignees":[{"login":"SreeramGarlapati","id":11813428,"avatar_url":"https://avatars.githubusercontent.com/u/11813428?v=3","gravatar_id":"","url":"https://api.github.com/users/SreeramGarlapati","html_url":"https://github.com/SreeramGarlapati","followers_url":"https://api.github.com/users/SreeramGarlapati/followers","following_url":"https://api.github.com/users/SreeramGarlapati/following{/other_user}","gists_url":"https://api.github.com/users/SreeramGarlapati/gists{/gist_id}","starred_url":"https://api.github.com/users/SreeramGarlapati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SreeramGarlapati/subscriptions","organizations_url":"https://api.github.com/users/SreeramGarlapati/orgs","repos_url":"https://api.github.com/users/SreeramGarlapati/repos","events_url":"https://api.github.com/users/SreeramGarlapati/events{/privacy}","received_events_url":"https://api.github.com/users/SreeramGarlapati/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2016-11-01T15:04:46Z","updated_at":"2016-11-03T18:05:15Z","closed_at":null,"body":"_From @Sshubb on September 15, 2016 12:28_\n\n> Hi all,\n> I am using javaeventhublibrary version 0.8.2 latest version and i have written the following code for sending data:\n\n```\nConnectionStringBuilder connStr = new ConnectionStringBuilder(\"connectionstring\"); \nbyte[] payloadBytes = valueChangeMessage.data.get().toString().getBytes(\"UTF-8\");\nEventData sendEvent = new EventData(payloadBytes);\nEventHubClient ehClient = EventHubClient.createFromConnectionStringSync(connStr.toString());\nehClient.sendSync(sendEvent);\n```\n\n> And after executing this code i am getting following error:\n\n```\nSep 15, 2016 5:32:44 PM com.microsoft.azure.servicebus.MessagingFactory$RunReactor run\nWARNING: UnHandled exception while processing events in reactor:\njava.lang.NullPointerException\norg.apache.qpid.proton.engine.impl.EventImpl.dispatch(EventImpl.java:112)\norg.apache.qpid.proton.reactor.impl.ReactorImpl.dispatch(ReactorImpl.java:309)\norg.apache.qpid.proton.reactor.impl.ReactorImpl.process(ReactorImpl.java:276)\ncom.microsoft.azure.servicebus.MessagingFactory$RunReactor.run(MessagingFactory.java:332)\njava.lang.Thread.run(Thread.java:745)Cause: null\norg.apache.qpid.proton.engine.impl.SaslImpl.plain(SaslImpl.java:446)\ncom.microsoft.azure.servicebus.amqp.ConnectionHandler.onConnectionBound(ConnectionHandler.java:74)\norg.apache.qpid.proton.engine.BaseHandler.handle(BaseHandler.java:131)\norg.apache.qpid.proton.engine.impl.EventImpl.dispatch(EventImpl.java:108)\norg.apache.qpid.proton.reactor.impl.ReactorImpl.dispatch(ReactorImpl.java:309)\norg.apache.qpid.proton.reactor.impl.ReactorImpl.process(ReactorImpl.java:276)\ncom.microsoft.azure.servicebus.MessagingFactory$RunReactor.run(MessagingFactory.java:332)\njava.lang.Thread.run(Thread.java:745)\nSep 15, 2016 5:32:44 PM com.cognizant.iotworkbench.Channel.CatChannel sendPOST\nSEVERE: null\ncom.microsoft.azure.servicebus.ServiceBusException: java.lang.NullPointerException, TrackingId: fcf793be-47b9-48a1-ac05-fb036fe6f69e, at: 2016-09-15T17:32:44.917+05:30[Asia/Calcutta]\n    at com.microsoft.azure.servicebus.MessagingFactory$RunReactor.run(MessagingFactory.java:357)\n    at java.lang.Thread.run(Thread.java:745)\nCaused by: java.lang.NullPointerException\n    at org.apache.qpid.proton.engine.impl.SaslImpl.plain(SaslImpl.java:446)\n    at com.microsoft.azure.servicebus.amqp.ConnectionHandler.onConnectionBound(ConnectionHandler.java:74)\n    at org.apache.qpid.proton.engine.BaseHandler.handle(BaseHandler.java:131)\n    at org.apache.qpid.proton.engine.impl.EventImpl.dispatch(EventImpl.java:108)\n    at org.apache.qpid.proton.reactor.impl.ReactorImpl.dispatch(ReactorImpl.java:309)\n    at org.apache.qpid.proton.reactor.impl.ReactorImpl.process(ReactorImpl.java:276)\n    at com.microsoft.azure.servicebus.MessagingFactory$RunReactor.run(MessagingFactory.java:332)\n    ... 1 more\n```\n\n> Please let me know what can be the possible issue???\n\n\n_Copied from original issue: Azure/azure-event-hubs#263_"},"comment":{"url":"https://api.github.com/repos/Azure/azure-event-hubs-java/issues/comments/258225651","html_url":"https://github.com/Azure/azure-event-hubs-java/issues/7#issuecomment-258225651","issue_url":"https://api.github.com/repos/Azure/azure-event-hubs-java/issues/7","id":258225651,"user":{"login":"JamesBirdsall","id":10199699,"avatar_url":"https://avatars.githubusercontent.com/u/10199699?v=3","gravatar_id":"","url":"https://api.github.com/users/JamesBirdsall","html_url":"https://github.com/JamesBirdsall","followers_url":"https://api.github.com/users/JamesBirdsall/followers","following_url":"https://api.github.com/users/JamesBirdsall/following{/other_user}","gists_url":"https://api.github.com/users/JamesBirdsall/gists{/gist_id}","starred_url":"https://api.github.com/users/JamesBirdsall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JamesBirdsall/subscriptions","organizations_url":"https://api.github.com/users/JamesBirdsall/orgs","repos_url":"https://api.github.com/users/JamesBirdsall/repos","events_url":"https://api.github.com/users/JamesBirdsall/events{/privacy}","received_events_url":"https://api.github.com/users/JamesBirdsall/received_events","type":"User","site_admin":false},"created_at":"2016-11-03T18:05:15Z","updated_at":"2016-11-03T18:05:15Z","body":"This looks like a known Proton-J issue https://issues.apache.org/jira/browse/PROTON-1275 which is fixed in Proton-J 0.15.0. We have released our client version 0.9.0 which among other things updates the Proton-J dependency."}}
{"actor":{"display_login":"JamesBirdsall"}}