users@glassfish.java.net

JMS NPE

From: <glassfish_at_javadesktop.org>
Date: Mon, 14 May 2007 12:12:55 PDT

Hey,

I get a NPE related to JMS usage,

Any idea?


[#|2007-05-14T21:24:17.588+0300|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=25;_ThreadName=Thread-jms[4];_RequestID=4bb9e257-
1802-437b-93f4-a45195f2ff9e;|
[14/May/2007:21:24:17 IDT] ERROR [B3229]: Transaction acknowledgement [50-172.25.230.50(be:dd:4a:3d:2b:8d)-35169-1179166751414,
[consumer:1748542946975468032, type=NONE]]TUID=1748542947038428928 processing failed: null:
java.lang.NullPointerException
|#]

[#|2007-05-14T21:24:17.603+0300|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=25;_ThreadName=Thread-jms[4];_
RequestID=4bb9e257-1802-437b-93f4-a45195f2ff9e;|[14/May/2007:21:24:17 IDT] ERROR [B3100]: Unexpected Broker Internal Error :
[-------------------------------------------Internal Error: Invalid Acknowledge Packet processing
  notifying client
         Packet: ACKNOWLEDGE(24):134-172.25.230.50(96:9e:95:7d:77:5c)-35152-1179167057585
  Magic/Version: 469754818/301 Size: 128 Type: ACKNOWLEDGE(24)
     Expiration: 0 Timestamp: 1179167057585
      Source IP: 172.25.230.50(96:9e:95:7d:77:5c) Port: 35152 Sequence: 134
Property Offset: 88 Property Size: 0
     Encryption: 0 Priority: 5
          Flags: A consumerID: 10
   TransactionID: 1748542947038428928
       MessageID: 134-172.25.230.50(96:9e:95:7d:77:5c)-35152-1179167057585
      Properties: null
   Message Body: 40 bytes [1748542946975468032:50-172.25.230.50(be:dd:4a:3d:2b:8d)-35169-1179166751414]
Internal Buffers (useDirect=false):
Fixed Header Buffer:java.nio.HeapByteBuffer[pos=0 lim=72 cap=72]
--------------------------------------------]:
com.sun.messaging.jmq.jmsserver.util.BrokerException: Internal Error: Unable to complete processing acknowledgements in a tranaction:
java.lang.NullPointerException
        at com.sun.messaging.jmq.jmsserver.data.handlers.AckHandler.handleTransaction(AckHandler.java:486)
        at com.sun.messaging.jmq.jmsserver.data.handlers.AckHandler.handle(AckHandler.java:232)
        at com.sun.messaging.jmq.jmsserver.data.PacketRouter.handleMessage(PacketRouter.java:167)
        at com.sun.messaging.jmq.jmsserver.service.imq.IMQIPConnection.readData(IMQIPConnection.java:1467)
        at com.sun.messaging.jmq.jmsserver.service.imq.IMQIPConnection.process(IMQIPConnection.java:636)
        at com.sun.messaging.jmq.jmsserver.service.imq.OperationRunnable.process(OperationRunnable.java:159)
        at com.sun.messaging.jmq.jmsserver.util.pool.BasicRunnable.run(BasicRunnable.java:477)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
        at com.sun.messaging.jmq.jmsserver.core.Session.acknowledgeInTransaction(Session.java:919)
        at com.sun.messaging.jmq.jmsserver.data.handlers.AckHandler.handleTransaction(AckHandler.java:445)
        ... 7 more
|#]


Thanks,

Asaf.
[Message sent by forum member 'trouby' (trouby)]

http://forums.java.net/jive/thread.jspa?messageID=216838