We're updating the issue view to help you get more done. 

Fix recursivity error in SessionManager when searching for best route

Description

Exception in thread "Client SR - 2688299" java.lang.StackOverflowError
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2351)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2862)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:771)
at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1289)
at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.java:2261)
at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:423)
at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:1962)
at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:1385)
at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1142)
at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:676)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1030)
at org.jivesoftware.wildfire.user.DefaultUserProvider.loadUser(DefaultUserProvider.java:99)
at org.jivesoftware.wildfire.user.UserManager.getUser(UserManager.java:171)
at org.jivesoftware.wildfire.user.UserManager.isRegisteredUser(UserManager.java:294)
at org.jivesoftware.wildfire.SessionManager.removeSession(SessionManager.java:1215)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:745)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)
at org.jivesoftware.wildfire.SessionManager.getBestRoute(SessionManager.java:746)

Environment

None

Acceptance Test - Entry

None

Assignee

Gaston Dombiak

Reporter

Gaston Dombiak

Labels

None

Expected Effort

None

Ignite Forum URL

None

Fix versions

Affects versions

Priority

Major
Configure