javax.ws.rs.ProcessingException: Already connected

hatenablog.com | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    already connected

    GitHub | 3 months ago | jonathanwl
    javax.ws.rs.ProcessingException: Already connected
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    HttpsURLConnection Already connected while trying to add cookies

    Stack Overflow | 3 years ago | Sherif Ashraf
    java.lang.IllegalStateException: Already connected

    9 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Already connected

      at sun.net.www.protocol.http.HttpURLConnection.setRequestProperty()
    2. Java RT
      HttpsURLConnectionImpl.setRequestProperty
      1. sun.net.www.protocol.http.HttpURLConnection.setRequestProperty(HttpURLConnection.java:3014)
      2. sun.net.www.protocol.https.HttpsURLConnectionImpl.setRequestProperty(HttpsURLConnectionImpl.java:316)
      2 frames
    3. jersey-core-client
      HttpUrlConnector$4.getOutputStream
      1. org.glassfish.jersey.client.internal.HttpUrlConnector.setOutboundHeaders(HttpUrlConnector.java:421)
      2. org.glassfish.jersey.client.internal.HttpUrlConnector.access$100(HttpUrlConnector.java:96)
      3. org.glassfish.jersey.client.internal.HttpUrlConnector$4.getOutputStream(HttpUrlConnector.java:384)
      3 frames
    4. Jersey Core
      OutboundMessageContext.commitStream
      1. org.glassfish.jersey.message.internal.CommittingOutputStream.commitStream(CommittingOutputStream.java:200)
      2. org.glassfish.jersey.message.internal.CommittingOutputStream.commitStream(CommittingOutputStream.java:194)
      3. org.glassfish.jersey.message.internal.CommittingOutputStream.commit(CommittingOutputStream.java:262)
      4. org.glassfish.jersey.message.internal.OutboundMessageContext.commitStream(OutboundMessageContext.java:816)
      4 frames
    5. jersey-core-client
      JerseyInvocation$1.call
      1. org.glassfish.jersey.client.ClientRequest.writeEntity(ClientRequest.java:545)
      2. org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:388)
      3. org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:285)
      4. org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:255)
      5. org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:684)
      6. org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:681)
      6 frames
    6. Jersey Core
      RequestScope.runInScope
      1. org.glassfish.jersey.internal.Errors.process(Errors.java:315)
      2. org.glassfish.jersey.internal.Errors.process(Errors.java:297)
      3. org.glassfish.jersey.internal.Errors.process(Errors.java:228)
      4. org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444)
      4 frames
    7. jersey-core-client
      JerseyInvocation$Builder.post
      1. org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:681)
      2. org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:437)
      3. org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:343)
      3 frames
    8. api.zabbix
      Main.main
      1. api.zabbix.ZabbixAPIAccess.getResponse(ZabbixAPIAccess.java:76)
      2. api.zabbix.ZabbixAPIAccess.getToken(ZabbixAPIAccess.java:82)
      3. api.zabbix.ZabbixAPIAccess.request(ZabbixAPIAccess.java:41)
      4. api.zabbix.ZabbixAPIAccess.request(ZabbixAPIAccess.java:51)
      5. api.zabbix.Main.main(Main.java:24)
      5 frames