com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link<br> failure<br> <br> The last packet successfully received from the server was 28,517<br> milliseconds ago.  The last packet sent successfully to the server was 7<br> milliseconds ago. at<br> org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:23)< \ br>         at<br> org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:147 \ )<br>         at<br> org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:134 \ )<br>         at \ org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:79)<br>         \ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:40)<br>         \ at $Proxy52.insert(Unknown Source)<br>         at \ org.sonar.batch.index.MeasurePersister.insert(MeasurePersister.java:187)<br>       \   at<br> org.sonar.batch.index.MeasurePersister.insertOrUpdate(MeasurePersister.java: \ 91)<br>         at<br> org.sonar.batch.index.MeasurePersister.saveMeasure(MeasurePersister.java:79) at<br> org.sonar.batch.index.DefaultPersistenceManager.saveMeasure(DefaultPersistenceManager. \ java:87)<br>         at \ org.sonar.batch.index.DefaultIndex.addMeasure(DefaultIndex.java:175)<br>         \ at<br> org.sonar.batch.DefaultSensorContext.saveMeasure(DefaultSensorContext.java:122) \ <br>         at org.sonar.plugins.cpd.SonarEngine.save(SonarEngine.java:202)

marc.info | 4 months ago
  1. 0

    'Re: [sonar-user] Problems using Sonar, sonar-runner and mysql.' - MARC

    marc.info | 4 months ago
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link<br> failure<br> <br> The last packet successfully received from the server was 28,517<br> milliseconds ago.  The last packet sent successfully to the server was 7<br> milliseconds ago. at<br> org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:23)< \ br>         at<br> org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:147 \ )<br>         at<br> org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:134 \ )<br>         at \ org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:79)<br>         \ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:40)<br>         \ at $Proxy52.insert(Unknown Source)<br>         at \ org.sonar.batch.index.MeasurePersister.insert(MeasurePersister.java:187)<br>       \   at<br> org.sonar.batch.index.MeasurePersister.insertOrUpdate(MeasurePersister.java: \ 91)<br>         at<br> org.sonar.batch.index.MeasurePersister.saveMeasure(MeasurePersister.java:79) at<br> org.sonar.batch.index.DefaultPersistenceManager.saveMeasure(DefaultPersistenceManager. \ java:87)<br>         at \ org.sonar.batch.index.DefaultIndex.addMeasure(DefaultIndex.java:175)<br>         \ at<br> org.sonar.batch.DefaultSensorContext.saveMeasure(DefaultSensorContext.java:122) \ <br>         at org.sonar.plugins.cpd.SonarEngine.save(SonarEngine.java:202)
  2. 0

    'Re: [sonar-user] Problems using Sonar, sonar-runner and mysql.' - MARC

    marc.info | 4 months ago
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link<br> failure<br> <br> The last packet successfully received from the server was 28,517<br> milliseconds ago.  The last packet sent successfully to the server was 7<br> milliseconds ago. at<br> org.apache.ibatis.transaction.jdbc.JdbcTransaction.setDesiredAutoCommit(JdbcTransactio \ n.java:102)<br>         at<br> org.apache.ibatis.transaction.jdbc.JdbcTransaction.openConnection(JdbcTransaction.java \ :135)<br>         at<br> org.apache.ibatis.transaction.jdbc.JdbcTransaction.getConnection(JdbcTransaction.java: \ 58)<br>         at<br> org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:279) at<br> org.apache.ibatis.executor.ReuseExecutor.prepareStatement(ReuseExecutor.java:72) at org.apache.ibatis.executor.ReuseExecutor.doUpdate(ReuseExecutor.java:46 \ )<br>         at \ org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:108)<br>         \ at<br> org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75) at<br> org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:145 \ )<br>         ... 33 more<br> Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:<br> Communications link failure<br> <br> The last packet successfully received from the server was 28,517<br> milliseconds ago.  The last packet sent successfully to the server was 7<br> milliseconds ago. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native \ Method)<br>         at<br> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.ja \ va:39)<br>         at<br> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccesso \ rImpl.java:27)<br>         at \ java.lang.reflect.Constructor.newInstance(Constructor.java:513)<br>         at \ com.mysql.jdbc.Util.handleNewInstance(Util.java:411)<br>         at<br> com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116)
  3. 0

    'Re: [sonar-user] Problems using Sonar, sonar-runner and mysql.' - MARC

    marc.info | 4 months ago
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link<br> failure<br> <br> The last packet successfully received from the server was 28,517<br> milliseconds ago.  The last packet sent successfully to the server was 7<br> milliseconds ago.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SonarQube Users (archive) - Problems using Sonar, sonar-runner and mysql.

    nabble.com | 4 months ago
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 28,517 milliseconds ago.  The last packet sent successfully to the server was 7 milliseconds ago. at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:23) at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:147) at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:134)
  6. 0

    SonarQube Users (archive) - Problems using Sonar, sonar-runner and mysql.

    nabble.com | 4 months ago
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 28,517 milliseconds ago.  The last packet sent successfully to the server was 7 milliseconds ago.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.mysql.jdbc.exceptions.jdbc4.CommunicationsException

      Communications link<br> failure<br> <br> The last packet successfully received from the server was 28,517<br> milliseconds ago.  The last packet sent successfully to the server was 7<br> milliseconds ago. at<br> org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:23)< \ br>         at<br> org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:147 \ )<br>         at<br> org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:134 \ )<br>         at \ org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:79)<br>         \ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:40)<br>         \ at $Proxy52.insert(Unknown Source)<br>         at \ org.sonar.batch.index.MeasurePersister.insert(MeasurePersister.java:187)<br>       \   at<br> org.sonar.batch.index.MeasurePersister.insertOrUpdate(MeasurePersister.java: \ 91)<br>         at<br> org.sonar.batch.index.MeasurePersister.saveMeasure(MeasurePersister.java:79) at<br> org.sonar.batch.index.DefaultPersistenceManager.saveMeasure(DefaultPersistenceManager. \ java:87)<br>         at \ org.sonar.batch.index.DefaultIndex.addMeasure(DefaultIndex.java:175)<br>         \ at<br> org.sonar.batch.DefaultSensorContext.saveMeasure(DefaultSensorContext.java:122) \ <br>         at org.sonar.plugins.cpd.SonarEngine.save(SonarEngine.java:202)

      at org.sonar.plugins.cpd.SonarEngine.detect()
    2. org.sonar.plugins
      CpdSensor.analyse
      1. org.sonar.plugins.cpd.SonarEngine.detect(SonarEngine.java:152)
      2. org.sonar.plugins.cpd.SonarEngine.analyse(SonarEngine.java:96)
      3. org.sonar.plugins.cpd.CpdSensor.analyse(CpdSensor.java:76)
      3 frames