Errors after disconnected from session

i receive this error each time after disconnected from the session. (Openfire 3.3.2, IM-Gateway 1.1.0 release Version)

There are no other user connected.

Error Log Viewer

2007.08.09 11:39:23 [org.jivesoftware.openfire.event.SessionEventDispatcher.dispatchEvent(SessionEv entDispatcher.java:83)

]

java.lang.NullPointerException

at org.jivesoftware.openfire.gateway.session.TransportSessionManager.removeSession (TransportSessionManager.java:166)

at org.jivesoftware.openfire.gateway.BaseTransport.sessionDestroyed(BaseTransport. java:2066)

at org.jivesoftware.openfire.event.SessionEventDispatcher.dispatchEvent(SessionEve ntDispatcher.java:66)

at org.jivesoftware.openfire.SessionManager.removeSession(SessionManager.java:1520 )

at org.jivesoftware.openfire.SessionManager$ClientSessionListener.onConnectionClos e(SessionManager.java:1596)

at org.jivesoftware.openfire.nio.NIOConnection.notifyCloseListeners(NIOConnection. java:169)

at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:152)

at org.jivesoftware.openfire.nio.ConnectionHandler.sessionClosed(ConnectionHandler .java:86)

at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.sessionClosed(A bstractIoFilterChain.java:677)

at org.apache.mina.common.support.AbstractIoFilterChain.callNextSessionClosed(Abst ractIoFilterChain.java:321)

at org.apache.mina.common.support.AbstractIoFilterChain.access$800(AbstractIoFilte rChain.java:54)

at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.sessionClosed( AbstractIoFilterChain.java:781)

at org.apache.mina.filter.codec.ProtocolCodecFilter.sessionClosed(ProtocolCodecFil ter.java:299)

at org.apache.mina.common.support.AbstractIoFilterChain.callNextSessionClosed(Abst ractIoFilterChain.java:321)

at org.apache.mina.common.support.AbstractIoFilterChain.access$800(AbstractIoFilte rChain.java:54)

at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.sessionClosed( AbstractIoFilterChain.java:781)

at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java :286)

at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Execut orFilter.java:326)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Hrm. Well first off, let me say that that shouldn’t be causing a -real- problem aside from annoying logs. That said, it sounds like what’s happening is the “failsafe” mechanism that I have in place is trying to re-remove a session that was already removed. Hrm. GATE-304