You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PassthroughCommunicatorService.closeClientConnection should not throw IllegalStateException - it should throw nothing.
PassthroughInvocationBuilder.invoke should not throw IllegalStateException - it should throw ConnectionClosedException.
Exception in thread "LeaseMonitorThread" java.lang.IllegalStateException: Connection already closed
at org.terracotta.passthrough.PassthroughConnection.close(PassthroughConnection.java:379)
at org.terracotta.passthrough.PassthroughCommunicatorService.closeClientConnection(PassthroughCommunicatorService.java:50)
at org.terracotta.lease.service.closer.ClientConnectionCloserImpl.closeClientConnection(ClientConnectionCloserImpl.java:35)
at org.terracotta.lease.service.closer.ProxyClientConnectionCloser.closeClientConnection(ProxyClientConnectionCloser.java:43)
at org.terracotta.lease.service.monitor.LeaseState.checkLease(LeaseState.java:113)
at org.terracotta.lease.service.monitor.LeaseState.checkLeases(LeaseState.java:87)
at org.terracotta.lease.service.monitor.LeaseMonitorThread.run(LeaseMonitorThread.java:40)
Exception in thread "LeaseMaintenanceThread" java.lang.IllegalStateException: Connection already closed
at org.terracotta.passthrough.PassthroughServerProcess.sendMessageToServer(PassthroughServerProcess.java:397)
at org.terracotta.passthrough.PassthroughConnectionState.createAndSend(PassthroughConnectionState.java:77)
at org.terracotta.passthrough.PassthroughConnectionState.sendNormal(PassthroughConnectionState.java:63)
at org.terracotta.passthrough.PassthroughConnection.invokeAndWait(PassthroughConnection.java:160)
at org.terracotta.passthrough.PassthroughConnection.invokeActionAndWaitForAcks(PassthroughConnection.java:152)
at org.terracotta.passthrough.PassthroughInvocationBuilder.invoke(PassthroughInvocationBuilder.java:113)
at org.terracotta.lease.LeaseAcquirerImpl.acquireLease(LeaseAcquirerImpl.java:33)
at org.terracotta.lease.LeaseMaintainerImpl.refreshLease(LeaseMaintainerImpl.java:57)
at org.terracotta.lease.LeaseMaintenanceThread.run(LeaseMaintenanceThread.java:38)
The text was updated successfully, but these errors were encountered:
ChrisGreenaway
changed the title
IllegalStateException throwns incorrectly
IllegalStateException thrown incorrectly
Jul 14, 2017
PassthroughCommunicatorService.closeClientConnection should not throw IllegalStateException - it should throw nothing.
PassthroughInvocationBuilder.invoke should not throw IllegalStateException - it should throw ConnectionClosedException.
The text was updated successfully, but these errors were encountered: