Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

[BUG] User having Privacy List can't login in clustering enabled

$
0
0

I found a little bit critical bug related Privacy Lists with Clustering.

 

If clustering setting is disabled, this bug isn't happen.

 

I tested with Openfire 3.7.1 release with Hazelcast plugin,

and current Openfire 3.7.2 Beta trunk on Amazon EC2.

 

<How to Reproduce>

 

Login to Clustering enabled server

Create Privacy Lists, and set to Active List

Repeat logout and login

This user can't login again

 

In admin console, delete cache of Privacy Lists.

User can login again

 

 

 

 

<?xml version="1.0"?>

<stream:stream xmlns:stream="http://etherx.jabber.org/streams" version="1.0" xmlns="jabber:client" to="......." xml:lang="en" xmlns:xml="http://www.w3.org/XML/1998/namespace">

 

  <?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="....." id="d99bdc35" xml:lang="en" version="1.0">

 

<stream:features>

<bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/>

<session xmlns="urn:ietf:params:xml:ns:xmpp-session"/>

</stream:features>

 

<iq type="set" id="bind_1">

<bind xmlns="urn:ietf:params:xml:ns:xmpp-bind">

<resource>TEST</resource>

</bind>

</iq>

 

<iq xmlns="jabber:client" type="error" id="bind_1" to="......./d99bdc35">

<bind xmlns="urn:ietf:params:xml:ns:xmpp-bind">

<resource>TEST</resource>

</bind>

<error type="wait" code="500">

<internal-server-error xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>

</error>

</iq>

 

2013.01.10 15:02:29 org.jivesoftware.openfire.handler.IQHandler - Internal server error

java.lang.NullPointerException

        at org.jivesoftware.openfire.session.LocalClientSession.setDefaultList(LocalClient Session.java:530)

        at org.jivesoftware.openfire.handler.IQPrivacyHandler.setDefaultList(IQPrivacyHand ler.java:282)

        at org.jivesoftware.openfire.handler.IQPrivacyHandler.handleIQ(IQPrivacyHandler.ja va:110)

        at org.jivesoftware.openfire.handler.IQHandler.process(IQHandler.java:65)

        at org.jivesoftware.openfire.IQRouter.handle(IQRouter.java:372)

        at org.jivesoftware.openfire.IQRouter.route(IQRouter.java:121)

        at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:76)

        at org.jivesoftware.openfire.net.StanzaHandler.processIQ(StanzaHandler.java:337)

        at org.jivesoftware.openfire.net.ClientStanzaHandler.processIQ(ClientStanzaHandler .java:93)

        at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:302)

        at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:194)

        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.common.IoFilterAdapter.messageReceived(IoFilterAdapter.java:80)

        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:1110)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

        at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)

        at java.lang.Thread.run(Thread.java:679)


Viewing all articles
Browse latest Browse all 10742

Trending Articles