java.sql.SQLException: Protocol confusion. Got a 0x4a packet. at net.sourceforge.jtds.jdbc.TdsStatement.getMoreResults (Unknown Source) at net.sourceforge.jtds.jdbc.TdsStatement.skipToEnd (Unknown Source) at net.sourceforge.jtds.jdbc.TdsStatement.executeImpl (Unknown Source) at net.sourceforge.jtds.jdbc.TdsStatement.changeSettings (Unknown Source) at net.sourceforge.jtds.jdbc.TdsConnection.changeSettings (Unknown Source ) at net.sourceforge.jtds.jdbc.TdsConnection.setAutoCommit (Unknown Source)

jtds | stunky1247 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    java.sql.SQLException: Protocol confusion. Got a 0x4a packet

    jtds | 1 decade ago | stunky1247
    java.sql.SQLException: Protocol confusion. Got a 0x4a packet. at net.sourceforge.jtds.jdbc.TdsStatement.getMoreResults (Unknown Source) at net.sourceforge.jtds.jdbc.TdsStatement.skipToEnd (Unknown Source) at net.sourceforge.jtds.jdbc.TdsStatement.executeImpl (Unknown Source) at net.sourceforge.jtds.jdbc.TdsStatement.changeSettings (Unknown Source) at net.sourceforge.jtds.jdbc.TdsConnection.changeSettings (Unknown Source ) at net.sourceforge.jtds.jdbc.TdsConnection.setAutoCommit (Unknown Source)

    Root Cause Analysis

    1. java.sql.SQLException

      Protocol confusion. Got a 0x4a packet. at net.sourceforge.jtds.jdbc.TdsStatement.getMoreResults (Unknown Source) at net.sourceforge.jtds.jdbc.TdsStatement.skipToEnd (Unknown Source) at net.sourceforge.jtds.jdbc.TdsStatement.executeImpl (Unknown Source) at net.sourceforge.jtds.jdbc.TdsStatement.changeSettings (Unknown Source) at net.sourceforge.jtds.jdbc.TdsConnection.changeSettings (Unknown Source ) at net.sourceforge.jtds.jdbc.TdsConnection.setAutoCommit (Unknown Source)

      at ResultNet.Data.PacketListSQL.addPacket()
    2. ResultNet.Data
      PacketListSQL.addPacket
      1. ResultNet.Data.PacketListSQL.addPacket(PacketListSQL.java:572)
      1 frame
    3. ResultNet
      RnetDevice.update
      1. ResultNet.RnetProtocol.addToQ(RnetProtocol.java:1172)
      2. ResultNet.RnetDevice.update(RnetDevice.java:884)
      2 frames
    4. Java RT
      Observable.notifyObservers
      1. java.util.Observable.notifyObservers(Observable.java:151)
      1 frame
    5. ResultNet
      RnetAnalyzer.closePacket
      1. ResultNet.RnetDevice.closePacket(RnetDevice.java:1189)
      2. ResultNet.RnetDevice.releaseData(RnetDevice.java:942)
      3. ResultNet.RnetProtocol.spamPacket(RnetProtocol.java:2126)
      4. ResultNet.RnetProtocol.closePacket(RnetProtocol.java:1573)
      5. ResultNet.RnetAnalyzer.closePacket(RnetAnalyzer.java:670)
      5 frames
    6. Modules
      Resulter.run
      1. Modules.Resulter.run(Resulter.java:571)
      1 frame
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:512)
      1 frame