I've just patched the NullPointerException to avoid this happening; though I don't understand why your connection was receiving a PartialCommand; these are only used with udp and multicast transports - which you shouldn't be using from your configuration.
I wonder do you have different jars on your client and broker? James On 5/5/06, Aleksi Kallio <[EMAIL PROTECTED]> wrote: > I'm moving to 4.0-RC2, but keep getting these when my broker is running. > I guess the InactivityMonitor is to blame, as they happen periodically > and during inactivity. There are no connections made to the broker. A > bug, or an issue with my setup? > > > INFO Service - Async error occurred: > java.lang.NullPointerException > java.lang.size > at > org.apache.activemq.command.PartialCommand.toString(PartialCommand.java:133) > at java.lang.String.valueOf(String.java:2577) > at java.lang.StringBuffer.append(StringBuffer.java:220) > at > org.apache.activemq.command.PartialCommand.visit(PartialCommand.java:86) > at > org.apache.activemq.broker.AbstractConnection.service(AbstractConnection.java:196) > at > org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:62) > at > org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:88) > at > org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:70) > at > org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:114) > at > org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:122) > at > org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:87) > at > org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:139) > at java.lang.Thread.run(Thread.java:595) > > > My broker config is very simple: > > <beans xmlns="http://activemq.org/config/1.0"> > > <broker useJmx="false"> > > <transportConnectors> > <transportConnector name="ssl" uri="ssl://ocicat.csc.fi:61616" /> > </transportConnectors> > > </broker> > > </beans> > > > -- James ------- http://radio.weblogs.com/0112098/
