Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via tomcat-dev by Rainer Jung, 1 year ago
expected:<class java.io.IOException> but was:<class java.nio.channels.ClosedChannelException>
junit.framework.AssertionFailedError: expected:<class 
java.io.IOException> but was:<class 
java.nio.channels.ClosedChannelException>	at org.apache.tomcat.websocket.server.TestClose.awaitOnError(TestClose.java:110)	at org.apache.tomcat.websocket.server.TestClose.testTcpResetInOnMessage(TestClose.java:217)	at org.apache.tomcat.websocket.server.TestClose.testTcpResetWhenOnMessageSends(TestClose.java:232)