Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-538

Could not read resultset: unexpected end of stream, read 0 bytes from 4

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Won't Do
    • 2.1.2
    • N/A
    • Other
    • None
    • Client: Oracle Java 1.8.0_121
      Server: Debian Jessie, MariaDB 10.2.9

    Description

      java.sql.SQLNonTransientConnectionException: (conn=27949) Could not send query: unexpected end of stream, read 0 bytes from 4
      at org.mariadb.jdbc.internal.util.exceptions.ExceptionMapper.get(ExceptionMapper.java:161) ~[billService.jar:1]
      at org.mariadb.jdbc.internal.util.exceptions.ExceptionMapper.getException(ExceptionMapper.java:106) ~[billService.jar:1]
      at org.mariadb.jdbc.MariaDbStatement.executeExceptionEpilogue(MariaDbStatement.java:235) ~[billService.jar:1]
      at org.mariadb.jdbc.MariaDbPreparedStatementServer.executeInternal(MariaDbPreparedStatementServer.java:366) ~[billService.jar:1]
      at org.mariadb.jdbc.MariaDbPreparedStatementServer.execute(MariaDbPreparedStatementServer.java:336) ~[billService.jar:1]
      at org.mariadb.jdbc.MariaDbPreparedStatementServer.executeQuery(MariaDbPreparedStatementServer.java:315) ~[billService.jar:1]
      at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeQuery(ProxyPreparedStatement.java:52) ~[billService.jar:1]
      at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeQuery(HikariProxyPreparedStatement.java) ~[billService.jar:1]
      at gsm.service.beeline.SOAPAPISync.getSubscriberByCTN(SOAPAPISync.java:47) ~[billService.jar:1]
      at gsm.service.beeline.SyncPayments$Task.call(SyncPayments.java:74) [billService.jar:1]
      at gsm.service.beeline.SyncPayments$Task.call(SyncPayments.java:40) [billService.jar:1]
      at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_131]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_131]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_131]
      at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
      Caused by: java.sql.SQLException: Could not send query: unexpected end of stream, read 0 bytes from 4
      Query is: SELECT `SUBSCRIBERS`.`ID` AS `SUBSCRIBER_ID`,`SUBSCRIBERS_DOCS`.`ID` AS `DOCUMENT_ID` FROM `SUBSCRIBERS` LEFT JOIN `SUBSCRIBERS_DOCS` ON (`SUBSCRIBERS_DOCS`.`SUBSCRIBER_ID`=`SUBSCRIBERS`.`ID`) WHERE `CTN`=? LIMIT 1, parameters [9629850707]
      at org.mariadb.jdbc.internal.util.LogQueryTool.exceptionWithQuery(LogQueryTool.java:146) ~[billService.jar:1]
      at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.executePreparedQuery(AbstractQueryProtocol.java:929) ~[billService.jar:1]
      at org.mariadb.jdbc.MariaDbPreparedStatementServer.executeInternal(MariaDbPreparedStatementServer.java:360) ~[billService.jar:1]
      ... 11 more
      Caused by: java.io.EOFException: unexpected end of stream, read 0 bytes from 4
      at org.mariadb.jdbc.internal.io.input.StandardPacketInputStream.getPacketArray(StandardPacketInputStream.java:240) ~[billService.jar:1]
      at org.mariadb.jdbc.internal.io.input.StandardPacketInputStream.getPacket(StandardPacketInputStream.java:208) ~[billService.jar:1]
      at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.readPacket(AbstractQueryProtocol.java:1300) ~[billService.jar:1]
      at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.getResult(AbstractQueryProtocol.java:1281) ~[billService.jar:1]
      at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.executePreparedQuery(AbstractQueryProtocol.java:926) ~[billService.jar:1]
      at org.mariadb.jdbc.MariaDbPreparedStatementServer.executeInternal(MariaDbPreparedStatementServer.java:360) ~[billService.jar:1]

      Attachments

        Issue Links

          Activity

            People

              diego dupin Diego Dupin
              unnick94 Vladimir Kiselev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.