{"action":"created","issue":{"url":"https://api.github.com/repos/stripe/stripe-java/issues/495","repository_url":"https://api.github.com/repos/stripe/stripe-java","labels_url":"https://api.github.com/repos/stripe/stripe-java/issues/495/labels{/name}","comments_url":"https://api.github.com/repos/stripe/stripe-java/issues/495/comments","events_url":"https://api.github.com/repos/stripe/stripe-java/issues/495/events","html_url":"https://github.com/stripe/stripe-java/issues/495","id":311841545,"number":495,"title":"java.lang.NoSuchFieldError: isEC Inside Charge.Create(chargeMap)","user":{"login":"colangelo-david","id":8934787,"avatar_url":"https://avatars0.githubusercontent.com/u/8934787?v=4","gravatar_id":"","url":"https://api.github.com/users/colangelo-david","html_url":"https://github.com/colangelo-david","followers_url":"https://api.github.com/users/colangelo-david/followers","following_url":"https://api.github.com/users/colangelo-david/following{/other_user}","gists_url":"https://api.github.com/users/colangelo-david/gists{/gist_id}","starred_url":"https://api.github.com/users/colangelo-david/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colangelo-david/subscriptions","organizations_url":"https://api.github.com/users/colangelo-david/orgs","repos_url":"https://api.github.com/users/colangelo-david/repos","events_url":"https://api.github.com/users/colangelo-david/events{/privacy}","received_events_url":"https://api.github.com/users/colangelo-david/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-04-06T04:02:24Z","updated_at":"2018-04-10T14:51:32Z","closed_at":"2018-04-10T14:51:32Z","author_association":"NONE","body":"Im working on a new stripe integration on a java project and have hit what im pretty sure is a bug. Essentially when I call Charge.Create(chargeMap) I get the following exception, stack dump as follows: \r\n\r\n```\r\njava.lang.NoSuchFieldError: isEC\r\n\tat sun.security.ssl.Handshaker.getActiveProtocols(Handshaker.java:790)\r\n\tat sun.security.ssl.Handshaker.activate(Handshaker.java:549)\r\n\tat sun.security.ssl.SSLSocketImpl.kickstartHandshake(SSLSocketImpl.java:1482)\r\n\tat sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1351)\r\n\tat sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)\r\n\tat sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)\r\n\tat sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)\r\n\tat sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)\r\n\tat sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1283)\r\n\tat sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1258)\r\n\tat sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)\r\n\tat com.stripe.net.LiveStripeResponseGetter.createPostConnection(LiveStripeResponseGetter.java:232)\r\n\tat com.stripe.net.LiveStripeResponseGetter.makeURLConnectionRequest(LiveStripeResponseGetter.java:392)\r\n\tat com.stripe.net.LiveStripeResponseGetter.getStripeResponse(LiveStripeResponseGetter.java:557)\r\n\tat com.stripe.net.LiveStripeResponseGetter._rawRequest(LiveStripeResponseGetter.java:475)\r\n\tat com.stripe.net.LiveStripeResponseGetter._request(LiveStripeResponseGetter.java:501)\r\n\tat com.stripe.net.LiveStripeResponseGetter.request(LiveStripeResponseGetter.java:72)\r\n\tat com.stripe.net.APIResource.request(APIResource.java:169)\r\n\tat com.stripe.model.Charge.create(Charge.java:622)\r\n\tat com.stripe.model.Charge.create(Charge.java:559)\r\n\tat Connectors.StripeConnector.chargeCustomer(StripeConnector.java:47)\r\n```\r\n\r\nI have implemented stripe elsewhere so i know im passing in all the proper tokens etc. Im running this on Payara 5.181 with a Jersey application on java 1.8.0_102 build and running the stripe-java 5.34.1 version but it appears to be also there on 5.35.0\r\n\r\nI can provide more if needed. \r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/stripe/stripe-java/issues/comments/380129767","html_url":"https://github.com/stripe/stripe-java/issues/495#issuecomment-380129767","issue_url":"https://api.github.com/repos/stripe/stripe-java/issues/495","id":380129767,"user":{"login":"ob-stripe","id":23086931,"avatar_url":"https://avatars0.githubusercontent.com/u/23086931?v=4","gravatar_id":"","url":"https://api.github.com/users/ob-stripe","html_url":"https://github.com/ob-stripe","followers_url":"https://api.github.com/users/ob-stripe/followers","following_url":"https://api.github.com/users/ob-stripe/following{/other_user}","gists_url":"https://api.github.com/users/ob-stripe/gists{/gist_id}","starred_url":"https://api.github.com/users/ob-stripe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ob-stripe/subscriptions","organizations_url":"https://api.github.com/users/ob-stripe/orgs","repos_url":"https://api.github.com/users/ob-stripe/repos","events_url":"https://api.github.com/users/ob-stripe/events{/privacy}","received_events_url":"https://api.github.com/users/ob-stripe/received_events","type":"User","site_admin":false},"created_at":"2018-04-10T14:51:31Z","updated_at":"2018-04-10T14:51:31Z","author_association":"CONTRIBUTOR","body":"@colangelo-david Cool, glad you were able to fix the problem even if you're not 100% sure about the resolution.\r\n\r\nAFAIK, the `-Djavax.net.debug=ssl` option only enables some debug output, it doesn't actually change how SSL/TLS connections are handled, so you should safely be able to remove it if things are working now.\r\n\r\nI'm closing the issue, but feel free to reply if you have any more questions or want to provide additional information!\r\n"}}
{"actor":{"display_login":"ob-stripe"}}