A throwable exception may prevent users from logging in

Description

Customer had the subscription plugin installed. When users tried to login in, the subscription plugin threw an exception, preventing the user from logging in. Here is the stack trace:

2007.02.07 16:12:22 [org.jivesoftware.wildfire.nio.ConnectionHandler.exceptionCaught(ConnectionHandler.java:104)]
java.lang.AbstractMethodError
at org.jivesoftware.wildfire.interceptor.InterceptorManager.invokeInterceptors(InterceptorManager.java:227)
at org.jivesoftware.wildfire.IQRouter.route(IQRouter.java:84)
at org.jivesoftware.wildfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:67)
at org.jivesoftware.wildfire.net.StanzaHandler.processIQ(StanzaHandler.java:283)
at org.jivesoftware.wildfire.net.ClientStanzaHandler.processIQ(ClientStanzaHandler.java:79)
at org.jivesoftware.wildfire.net.StanzaHandler.process(StanzaHandler.java:248)
at org.jivesoftware.wildfire.net.StanzaHandler.process(StanzaHandler.java:147)
at org.jivesoftware.wildfire.nio.ConnectionHandler.messageReceived(ConnectionHandler.java:126)
at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived(AbstractIoFilterChain.java:703)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:362)
at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:54)
at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:800)
at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimpleProtocolDecoderOutput.java:62)
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:186)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:362)
at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:54)
at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:800)
at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:250)
at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:305)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

Environment

None

Activity

Show:
Gaston Dombiak
February 9, 2007, 3:27 AM

We were catching Exception and the AbstractErrorMethod is a Throwable error so we changed to catch any type of error.

MattM
February 8, 2007, 2:25 PM

If possible, it would be great to work around this error in 3.2 so that the plugin can't crash the system.

Fixed

Assignee

Gaston Dombiak

Reporter

Kevin Williams