java.lang.UnsupportedOperationException: This should never be called

Spring JIRA | Steve Singer | 2 years 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.

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      This should never be called

      at org.springframework.integration.ip.tcp.connection.CachingClientConnectionFactory$2.onMessage()
    2. Spring Integration IP Support
      TcpNioConnection.run
      1. org.springframework.integration.ip.tcp.connection.CachingClientConnectionFactory$2.onMessage(CachingClientConnectionFactory.java:322)
      2. org.springframework.integration.ip.tcp.connection.TcpNioConnection.sendToChannel(TcpNioConnection.java:357)
      3. org.springframework.integration.ip.tcp.connection.TcpNioConnection.run(TcpNioConnection.java:230)
      3 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:744)
      3 frames