powered by Jive Software

Spectrum2 does not work w/ OF 3.9.2

edit: eek. apologies for the readability, no idea how to do that better

so, it looks like OF 3.9.2 broke spectrum2 in some way, i have not tried downgrading yet (3.9.1 worked before), but i havn’t changed anything in spectrum and it was working fine for a while, spectrum logs are not really descriptive:

2014-05-03 22:39:23,501 INFO Component: Connecting XMPP server 109.234.106.51 port 5275

2014-05-03 22:39:23,548 INFO AdminInterface: Message from admin received: ‘status’

2014-05-03 22:39:23,550 INFO AdminInterface: Message from admin received: ‘uptime’

2014-05-03 22:39:23,551 INFO AdminInterface: Message from admin received: ‘messages_from_xmpp’

2014-05-03 22:39:23,553 INFO AdminInterface: Message from admin received: ‘messages_to_xmpp’

2014-05-03 22:39:23,554 INFO AdminInterface: Message from admin received: ‘used_memory’

2014-05-03 22:39:23,555 INFO AdminInterface: Message from admin received: ‘average_memory_per_user’

2014-05-03 22:39:23,558 INFO Component: Disconnected from XMPP server. Error: Connection read error

OF does it a bit better, i guess, but still that didn’t help me:

2014.05.03 22:40:12 org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to error while processing message: Running (0 users connected using 0 backends)
java.lang.NullPointerException
at org.jivesoftware.openfire.MessageRouter.route(MessageRouter.java:152)
at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:80)
at org.jivesoftware.openfire.net.StanzaHandler.processMessage(StanzaHandler.java:3 66)
at org.jivesoftware.openfire.net.ComponentStanzaHandler.processMessage(ComponentSt anzaHandler.java:184)
at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:220)
at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:187)
at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandl er.java:181)
at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived (AbstractIoFilterChain.java:570)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)
at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)
at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)
at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimplePr otocolDecoderOutput.java:58)
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecF ilter.java:185)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)
at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)
at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)
at org.apache.mina.common.IoFilterAdapter.messageReceived(IoFilterAdapter.java:80)
at org.jivesoftware.openfire.plugin.RawPrintFilter.messageReceived(RawPrintFilter. java:66)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)
at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)
at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)
at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java :239)
at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Execut orFilter.java:283)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)
at java.lang.Thread.run(Thread.java:744)

i have not seen any changes in gojara so i have no real idea whats going on, the debug.log tells me this (whyever the forum insists on using tables now):

2014.05.03 22:48:46 org.jivesoftware.openfire.spi.RoutingTableImpl - Unable to route packet. No session is available so store offline. Running (0 users connected using 0 backends)
2014.05.03 22:48:46 org.jivesoftware.openfire.spi.RoutingTableImpl - RoutingTableImpl: Failed to route packet to JID: gojaraadmin@jabber.znc.in packet: Running (0 users connected using 0 backends)

I don’t know what spectrum2 is, but unfortunately it seems that it’s my fault and this little NPE slipped into the Message Carbons logic code. i am sorry about that.

I’ve created OF-784 for it and fixed it already.

  • Thanks for report of course!