activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodrigo Ramos <crackdu...@gmail.com>
Subject java.lang.NullPointerException
Date Thu, 06 Feb 2014 23:29:02 GMT
Hello

I am getting the next exception when I invoke a service into my webapp.


java.lang.NullPointerException
at
org.apache.activemq.command.ActiveMQDestination.hashCode(ActiveMQDestination.java:328)
at java.util.HashMap.hash(HashMap.java:351)
at java.util.HashMap.getEntry(HashMap.java:443)
at java.util.HashMap.get(HashMap.java:405)
at
org.apache.activemq.openwire.OpenWireFormat.getMarshallCacheIndex(OpenWireFormat.java:517)
at
org.apache.activemq.openwire.v9.BaseDataStreamMarshaller.tightMarshalCachedObject1(BaseDataStreamMarshaller.java:158)
at
org.apache.activemq.openwire.v9.ProducerInfoMarshaller.tightMarshal1(ProducerInfoMarshaller.java:98)
at
org.apache.activemq.openwire.OpenWireFormat.marshal(OpenWireFormat.java:234)
at
org.apache.activemq.transport.tcp.TcpTransport.oneway(TcpTransport.java:175)
at
org.apache.activemq.transport.AbstractInactivityMonitor.doOnewaySend(AbstractInactivityMonitor.java:322)
at
org.apache.activemq.transport.AbstractInactivityMonitor.oneway(AbstractInactivityMonitor.java:304)
at
org.apache.activemq.transport.TransportFilter.oneway(TransportFilter.java:85)
at
org.apache.activemq.transport.WireFormatNegotiator.oneway(WireFormatNegotiator.java:104)
at
org.apache.activemq.transport.failover.FailoverTransport.oneway(FailoverTransport.java:640)
at
org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:68)
at
org.apache.activemq.transport.ResponseCorrelator.asyncRequest(ResponseCorrelator.java:81)
at
org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrelator.java:86)
at
org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1380)
at
org.apache.activemq.ActiveMQSession.syncSendPacket(ActiveMQSession.java:1912)
at
org.apache.activemq.ActiveMQMessageProducer.<init>(ActiveMQMessageProducer.java:125)
at
org.apache.activemq.ActiveMQSession.createProducer(ActiveMQSession.java:956)


Sounds like It can not established connection between my webapp and my
broker, even though have received follow messages:

[#|2014-02-06T17:20:12.270-0600|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=11233;_ThreadName=Thread-2;|2014-02-06
17:20:12,252 [ActiveMQ Task-1] INFO  FailoverTransport              -
Successfully connected to tcp://localhost:31617
|#]

[#|2014-02-06T17:20:12.422-0600|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=11239;_ThreadName=Thread-2;|2014-02-06
17:20:12,422 [ActiveMQ Task-1] INFO  FailoverTransport              -
Successfully connected to tcp://localhost:31617
|#]



Regards

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message