java.lang.IllegalStateException: state=EOF

JIRA | Daryl Herzmann | 2 years ago
  1. 0

    For tracking and posterity, after merging Guus's change for OF-885, BOSH clients like Pidgin are not able to cleanly connect. Relevant server logs are likely {code} 2015.03.06 08:11:30 org.eclipse.jetty.server.HttpChannel - /http-bind/ java.lang.IllegalStateException: state=EOF at org.eclipse.jetty.server.HttpInput.setReadListener(HttpInput.java:375) at org.jivesoftware.openfire.http.HttpBindServlet.doPost(HttpBindServlet.java:150) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at org.jivesoftware.openfire.http.HttpBindServlet.service(HttpBindServlet.java:114) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:189) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) at org.eclipse.jetty.server.Server.handleAsync(Server.java:553) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:347) at org.eclipse.jetty.server.HttpChannel.run(HttpChannel.java:261) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) at java.lang.Thread.run(Thread.java:745) 2015.03.06 08:11:30 org.eclipse.jetty.util.thread.QueuedThreadPool - java.lang.IllegalStateException: committed at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:772) at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:781) at org.eclipse.jetty.server.HttpChannel.handleException(HttpChannel.java:472) at org.eclipse.jetty.server.HttpConnection$HttpChannelOverHttp.handleException(HttpConnection.java:576) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:398) at org.eclipse.jetty.server.HttpChannel.run(HttpChannel.java:261) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) at java.lang.Thread.run(Thread.java:745) 2015.03.06 08:11:30 org.eclipse.jetty.util.thread.QueuedThreadPool - Unexpected thread death: org.eclipse.jetty.util.thread.QueuedThreadPool$3@21a7333c in Jetty-QTP-BOSH{STARTED,8<=22<=200,i=1,q=0} {code}

    Jive Software Open Source | 2 years ago | Daryl Herzmann
    java.lang.IllegalStateException: state=EOF
  2. 0

    For tracking and posterity, after merging Guus's change for OF-885, BOSH clients like Pidgin are not able to cleanly connect. Relevant server logs are likely {code} 2015.03.06 08:11:30 org.eclipse.jetty.server.HttpChannel - /http-bind/ java.lang.IllegalStateException: state=EOF at org.eclipse.jetty.server.HttpInput.setReadListener(HttpInput.java:375) at org.jivesoftware.openfire.http.HttpBindServlet.doPost(HttpBindServlet.java:150) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at org.jivesoftware.openfire.http.HttpBindServlet.service(HttpBindServlet.java:114) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:189) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) at org.eclipse.jetty.server.Server.handleAsync(Server.java:553) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:347) at org.eclipse.jetty.server.HttpChannel.run(HttpChannel.java:261) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) at java.lang.Thread.run(Thread.java:745) 2015.03.06 08:11:30 org.eclipse.jetty.util.thread.QueuedThreadPool - java.lang.IllegalStateException: committed at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:772) at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:781) at org.eclipse.jetty.server.HttpChannel.handleException(HttpChannel.java:472) at org.eclipse.jetty.server.HttpConnection$HttpChannelOverHttp.handleException(HttpConnection.java:576) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:398) at org.eclipse.jetty.server.HttpChannel.run(HttpChannel.java:261) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) at java.lang.Thread.run(Thread.java:745) 2015.03.06 08:11:30 org.eclipse.jetty.util.thread.QueuedThreadPool - Unexpected thread death: org.eclipse.jetty.util.thread.QueuedThreadPool$3@21a7333c in Jetty-QTP-BOSH{STARTED,8<=22<=200,i=1,q=0} {code}

    JIRA | 2 years ago | Daryl Herzmann
    java.lang.IllegalStateException: state=EOF
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    For tracking and posterity, after merging Guus's change for OF-885, BOSH clients like Pidgin are not able to cleanly connect. Relevant server logs are likely {code} 2015.03.06 08:11:30 org.eclipse.jetty.server.HttpChannel - /http-bind/ java.lang.IllegalStateException: state=EOF at org.eclipse.jetty.server.HttpInput.setReadListener(HttpInput.java:375) at org.jivesoftware.openfire.http.HttpBindServlet.doPost(HttpBindServlet.java:150) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at org.jivesoftware.openfire.http.HttpBindServlet.service(HttpBindServlet.java:114) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:189) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) at org.eclipse.jetty.server.Server.handleAsync(Server.java:553) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:347) at org.eclipse.jetty.server.HttpChannel.run(HttpChannel.java:261) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) at java.lang.Thread.run(Thread.java:745) 2015.03.06 08:11:30 org.eclipse.jetty.util.thread.QueuedThreadPool - java.lang.IllegalStateException: committed at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:772) at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:781) at org.eclipse.jetty.server.HttpChannel.handleException(HttpChannel.java:472) at org.eclipse.jetty.server.HttpConnection$HttpChannelOverHttp.handleException(HttpConnection.java:576) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:398) at org.eclipse.jetty.server.HttpChannel.run(HttpChannel.java:261) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) at java.lang.Thread.run(Thread.java:745) 2015.03.06 08:11:30 org.eclipse.jetty.util.thread.QueuedThreadPool - Unexpected thread death: org.eclipse.jetty.util.thread.QueuedThreadPool$3@21a7333c in Jetty-QTP-BOSH{STARTED,8<=22<=200,i=1,q=0} {code}

    Jive Software Open Source | 2 years ago | Daryl Herzmann
    java.lang.IllegalStateException: state=EOF
  5. 0

    GitHub comment 52#263271542

    GitHub | 1 week ago | mathiasbn
    java.lang.IllegalStateException: ReadListener already set

    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

      state=EOF

      at org.eclipse.jetty.server.HttpInput.setReadListener()
    2. Jetty
      HttpInput.setReadListener
      1. org.eclipse.jetty.server.HttpInput.setReadListener(HttpInput.java:375)
      1 frame
    3. org.jivesoftware.openfire
      HttpBindServlet.doPost
      1. org.jivesoftware.openfire.http.HttpBindServlet.doPost(HttpBindServlet.java:150)
      1 frame
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      1 frame
    5. org.jivesoftware.openfire
      HttpBindServlet.service
      1. org.jivesoftware.openfire.http.HttpBindServlet.service(HttpBindServlet.java:114)
      1 frame
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      1 frame
    7. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
      3. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
      4. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
      5. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
      6. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
      7. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
      8. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      9. org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:189)
      10. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
      11. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
      12. org.eclipse.jetty.server.Server.handleAsync(Server.java:553)
      13. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:347)
      14. org.eclipse.jetty.server.HttpChannel.run(HttpChannel.java:261)
      15. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
      16. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
      16 frames
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame