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)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via marc.info by Unknown author, 1 year ago
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
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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.