Uploaded image for project: 'Openfire (ARCHIVED)'
  1. Openfire (ARCHIVED)
  2. JM-896

Fix error that closes a database statement twice

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.2.0 Beta
    • Component/s: Core
    • Labels:
      None

      Description

      2006.10.27 04:01:56 org.jivesoftware.wildfire.roster.RosterItemProvider.getItems(RosterItemProvider.java:330)
      java.sql.SQLException: JZ0S2: Statement object has already been closed.
      at com.sybase.jdbc3.jdbc.ErrorMessage.raiseError(ErrorMessage.java:572)
      at com.sybase.jdbc3.jdbc.SybStatement.checkDead(SybStatement.java:2058)
      at com.sybase.jdbc3.jdbc.SybStatement.close(SybStatement.java:494)
      at com.sybase.jdbc3.jdbc.SybStatement.close(SybStatement.java:482)
      at org.jivesoftware.wildfire.roster.RosterItemProvider.getItems(RosterItemProvider.java:329)
      at org.jivesoftware.wildfire.roster.Roster.<init>(Roster.java:94)
      at org.jivesoftware.wildfire.roster.RosterManager.getRoster(RosterManager.java:94)
      at org.jivesoftware.wildfire.user.User.getRoster(User.java:289)
      at org.jivesoftware.wildfire.handler.IQRosterHandler.manageRoster(IQRosterHandler.java:187)
      at org.jivesoftware.wildfire.handler.IQRosterHandler.handleIQ(IQRosterHandler.java:104)
      at org.jivesoftware.wildfire.handler.IQHandler.process(IQHandler.java:48)
      at org.jivesoftware.wildfire.IQRouter.handle(IQRouter.java:268)
      at org.jivesoftware.wildfire.IQRouter.route(IQRouter.java:96)
      at org.jivesoftware.wildfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:67)
      at org.jivesoftware.wildfire.net.SocketReader.processIQ(SocketReader.java:250)
      at org.jivesoftware.wildfire.net.ClientSocketReader.processIQ(ClientSocketReader.java:51)
      at org.jivesoftware.wildfire.net.SocketReader.process(SocketReader.java:216)
      at org.jivesoftware.wildfire.net.BlockingReadingMode.readStream(BlockingReadingMode.java:156)
      at org.jivesoftware.wildfire.net.BlockingReadingMode.run(BlockingReadingMode.java:62)
      at org.jivesoftware.wildfire.net.SocketReader.run(SocketReader.java:123)
      at java.lang.Thread.run(Unknown Source)

        Attachments

          Activity

            People

            • Assignee:
              gaston Gaston Dombiak
              Reporter:
              gaston Gaston Dombiak
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: