java.lang.RuntimeException: could not send message

GitHub | m0ru | 7 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

    Faulty Owner Configuration

    GitHub | 9 months ago | quasarchimaere
    java.lang.RuntimeException: could not send message

    Root Cause Analysis

    1. java.lang.NullPointerException

      null

      at won.owner.messaging.OwnerProtocolCamelConfiguratorImpl.adjustSchemeToRemoteEndpoint()
    2. won.owner.messaging
      OwnerWonMessageSenderJMSBased.sendWonMessage
      1. won.owner.messaging.OwnerProtocolCamelConfiguratorImpl.adjustSchemeToRemoteEndpoint(OwnerProtocolCamelConfiguratorImpl.java:134)[won-owner-0.2-SNAPSHOT.jar:na]
      2. won.owner.messaging.OwnerProtocolCamelConfiguratorImpl.addRemoteQueueListeners(OwnerProtocolCamelConfiguratorImpl.java:101)[won-owner-0.2-SNAPSHOT.jar:na]
      3. won.owner.messaging.OwnerProtocolCommunicationServiceImpl.configureRemoteEndpointsForOwnerApplication(OwnerProtocolCommunicationServiceImpl.java:118)[won-owner-0.2-SNAPSHOT.jar:na]
      4. won.owner.messaging.OwnerProtocolCommunicationServiceImpl.register(OwnerProtocolCommunicationServiceImpl.java:90)[won-owner-0.2-SNAPSHOT.jar:na]
      5. won.owner.messaging.OwnerWonMessageSenderJMSBased.getOwnerApplicationIdAndRegisterIfNecessary(OwnerWonMessageSenderJMSBased.java:115)[won-owner-0.2-SNAPSHOT.jar:na]
      6. won.owner.messaging.OwnerWonMessageSenderJMSBased.sendWonMessage(OwnerWonMessageSenderJMSBased.java:96)[won-owner-0.2-SNAPSHOT.jar:na]
      6 frames
    3. won.owner.service
      OwnerApplicationService.sendWonMessage
      1. won.owner.service.impl.OwnerApplicationService.sendWonMessage(OwnerApplicationService.java:36)[won-owner-0.2-SNAPSHOT.jar:na]
      1 frame
    4. won.owner.web
      WonWebSocketHandler.handleTextMessage
      1. won.owner.web.websocket.WonWebSocketHandler.handleTextMessage(WonWebSocketHandler.java:176)[WonWebSocketHandler.class:na]
      1 frame
    5. Spring WebSocket
      StandardWebSocketHandlerAdapter$3.onMessage
      1. org.springframework.web.socket.handler.AbstractWebSocketHandler.handleMessage(AbstractWebSocketHandler.java:43)[spring-websocket-4.1.1.RELEASE.jar:na]
      2. org.springframework.web.socket.handler.WebSocketHandlerDecorator.handleMessage(WebSocketHandlerDecorator.java:75)[spring-websocket-4.1.1.RELEASE.jar:na]
      3. org.springframework.web.socket.handler.LoggingWebSocketHandlerDecorator.handleMessage(LoggingWebSocketHandlerDecorator.java:55)[spring-websocket-4.1.1.RELEASE.jar:na]
      4. org.springframework.web.socket.handler.ExceptionWebSocketHandlerDecorator.handleMessage(ExceptionWebSocketHandlerDecorator.java:71)[spring-websocket-4.1.1.RELEASE.jar:na]
      5. org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession.delegateMessages(AbstractSockJsSession.java:218)[spring-websocket-4.1.1.RELEASE.jar:4.1.1.RELEASE]
      6. org.springframework.web.socket.sockjs.transport.session.WebSocketServerSockJsSession.handleMessage(WebSocketServerSockJsSession.java:194)[spring-websocket-4.1.1.RELEASE.jar:4.1.1.RELEASE]
      7. org.springframework.web.socket.sockjs.transport.handler.SockJsWebSocketHandler.handleTextMessage(SockJsWebSocketHandler.java:92)[spring-websocket-4.1.1.RELEASE.jar:4.1.1.RELEASE]
      8. org.springframework.web.socket.handler.AbstractWebSocketHandler.handleMessage(AbstractWebSocketHandler.java:43)[spring-websocket-4.1.1.RELEASE.jar:na]
      9. org.springframework.web.socket.adapter.standard.StandardWebSocketHandlerAdapter.handleTextMessage(StandardWebSocketHandlerAdapter.java:112)[spring-websocket-4.1.1.RELEASE.jar:4.1.1.RELEASE]
      10. org.springframework.web.socket.adapter.standard.StandardWebSocketHandlerAdapter.access$000(StandardWebSocketHandlerAdapter.java:42)[spring-websocket-4.1.1.RELEASE.jar:4.1.1.RELEASE]
      11. org.springframework.web.socket.adapter.standard.StandardWebSocketHandlerAdapter$3.onMessage(StandardWebSocketHandlerAdapter.java:82)[spring-websocket-4.1.1.RELEASE.jar:4.1.1.RELEASE]
      12. org.springframework.web.socket.adapter.standard.StandardWebSocketHandlerAdapter$3.onMessage(StandardWebSocketHandlerAdapter.java:79)[spring-websocket-4.1.1.RELEASE.jar:4.1.1.RELEASE]
      12 frames
    6. Tomcat WS
      WsHttpUpgradeHandler$WsReadListener.onDataAvailable
      1. org.apache.tomcat.websocket.WsFrameBase.sendMessageText(WsFrameBase.java:393)[tomcat-websocket.jar:8.0.24]
      2. org.apache.tomcat.websocket.WsFrameBase.processDataText(WsFrameBase.java:494)[tomcat-websocket.jar:8.0.24]
      3. org.apache.tomcat.websocket.WsFrameBase.processData(WsFrameBase.java:289)[tomcat-websocket.jar:8.0.24]
      4. org.apache.tomcat.websocket.WsFrameBase.processInputBuffer(WsFrameBase.java:130)[tomcat-websocket.jar:8.0.24]
      5. org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:60)[tomcat-websocket.jar:8.0.24]
      6. org.apache.tomcat.websocket.server.WsHttpUpgradeHandler$WsReadListener.onDataAvailable(WsHttpUpgradeHandler.java:203)[tomcat-websocket.jar:8.0.24]
      6 frames
    7. org.apache.coyote
      AbstractProcessor.upgradeDispatch
      1. org.apache.coyote.http11.upgrade.AbstractServletInputStream.onDataAvailable(AbstractServletInputStream.java:198)[tomcat-coyote.jar:8.0.24]
      2. org.apache.coyote.http11.upgrade.AbstractProcessor.upgradeDispatch(AbstractProcessor.java:96)[tomcat-coyote.jar:8.0.24]
      2 frames
    8. Grizzly HTTP
      AprEndpoint$SocketProcessor.run
      1. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:663)[tomcat-coyote.jar:8.0.24]
      2. org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2503)[tomcat-coyote.jar:8.0.24]
      3. org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2492)[tomcat-coyote.jar:8.0.24]
      3 frames
    9. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_45]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_45]
      2 frames
    10. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-util.jar:8.0.24]
      1 frame
    11. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_45]
      1 frame