Appologies if this has already been recorded in a defect somewhere.

I am running an ActiveMQ 4.1 broker. Another team have developed a client
based upon ActiveMQ 4.0.1. They are running it within Tomcat and were having
probems with their service starting as it was failing to connect to my
broker. When configured to use their broker it does work.

I've turned on the debug output and it appears to be due to the 4.1 broker
generating a null pointer exception. Obviously I'm going to get them to
upgrade but it would appear that there is some issue which needs looking
into.

Thanks, 
Thomas

DEBUG WireFormatNegotiator           - Sending: WireFormatInfo { version=2,
properties={TightEncodingEnabled=true, CacheSize=1024,
TcpNoDelayEnabled=true, SizePrefixDisabled=false, StackTraceEnabled=true,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG WireFormatNegotiator           - Received WireFormat: WireFormatInfo {
version=1, properties={StackTraceEnabled=true, TightEncodingEnabled=true,
TcpNoDelayEnabled=true, SizePrefixDisabled=false,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
DEBUG WireFormatNegotiator           - tcp:///172.18.200.204:1662 before
negotiation: OpenWireFormat{version=2, cacheEnabled=false,
stackTraceEnabled=false, tightEncodingEnabled=false,
sizePrefixDisabled=false}
DEBUG WireFormatNegotiator           - tcp:///172.18.200.204:1662 after
negotiation: OpenWireFormat{version=1, cacheEnabled=true,
stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
DEBUG Service                        - Async error occurred:
java.lang.NullPointerException
java.lang.NullPointerException
        at
edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap.hash(ConcurrentHashMap.java:160)
        at
edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:767)
        at
org.apache.activemq.broker.TransportConnection.processAddConnection(TransportConnection.java:651)
        at
org.apache.activemq.broker.jmx.ManagedTransportConnection.processAddConnection(ManagedTransportConnection.java:86)
        at
org.apache.activemq.command.ConnectionInfo.visit(ConnectionInfo.java:121)
        at
org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:284)
        at
org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:177)
        at
org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:65)
        at
org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:133)
        at
org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:122)
        at
org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:84)
        at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:137)
        at java.lang.Thread.run(Unknown Source)
DEBUG Transport                      - Transport failed:
java.io.IOException: Unknown data type: 68
java.io.IOException: Unknown data type: 68
        at
org.apache.activemq.openwire.OpenWireFormat.doUnmarshal(OpenWireFormat.java:342)
        at
org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:273)
        at
org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:156)
        at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:136)
        at java.lang.Thread.run(Unknown Source)
DEBUG TransportConnection            - Stopping connection:
/172.18.200.204:1662
DEBUG TransportConnection            - Stopped connection:
/172.18.200.204:1662
-- 
View this message in context: 
http://www.nabble.com/Async-error-occurred%3A-java.lang.NullPoint--erException-tf3213417s2354.html#a8923656
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to