5 Replies Latest reply on Nov 10, 2005 9:44 PM by Adrian Brock

    org.jboss.mq.il.uil2.SocketManager: loadFromStorage NullPoin

    Winston Ng Newbie

      Hi,

      We're deploying 4.01 with hibernate and postgresql driver (pg74.215.jdbc3.jar).

      After running the application for few hours, we'd get a nullpointer exception as shown in the trace below. Restarting the app server solved the problem but only very temporarily... we've searched a few forums but couldn't find anything similar. Any clues on how we might resolve this? Thanks!

      Winston

      ==

      ERROR [org.jboss.mq.il.uil2.SocketManager] Failed to handle: org.jboss.mq.il.uil2.msgs.ReceiveMsg3091527[msgType: m_receive, msgID: -2147459066, error: null]
      java.lang.NullPointerException
      at org.jboss.mq.pm.jdbc3.PersistenceManager.loadFromStorage(PersistenceManager.java:850)
      at org.jboss.mq.server.MessageCache.loadFromStorage(MessageCache.java:411)
      at org.jboss.mq.server.MessageReference.makeHard(MessageReference.java:351)
      at org.jboss.mq.server.MessageReference.getMessage(MessageReference.java:156)
      at org.jboss.mq.server.BasicQueue.setupMessageAcknowledgement(BasicQueue.java:881)
      at org.jboss.mq.server.BasicQueue.receive(BasicQueue.java:488)
      at org.jboss.mq.server.JMSQueue.receive(JMSQueue.java:136)
      at org.jboss.mq.server.ClientConsumer.receive(ClientConsumer.java:222)
      at org.jboss.mq.server.JMSDestinationManager.receive(JMSDestinationManager.java:673)
      at org.jboss.mq.server.JMSServerInterceptorSupport.receive(JMSServerInterceptorSupport.java:226)
      at org.jboss.mq.security.ServerSecurityInterceptor.receive(ServerSecurityInterceptor.java:100)
      at org.jboss.mq.server.TracingInterceptor.receive(TracingInterceptor.java:570)
      at org.jboss.mq.server.JMSServerInvoker.receive(JMSServerInvoker.java:226)
      at org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:149)
      at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:361)
      at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:377)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
      at java.lang.Thread.run(Thread.java:534)
      ==========