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 | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

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

    marc.info | 6 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)

    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