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)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • Stack trace

    • 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(SonarEngine.java:152) at org.sonar.plugins.cpd.SonarEngine.analyse(SonarEngine.java:96) at org.sonar.plugins.cpd.CpdSensor.analyse(CpdSensor.java:76)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.