Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-15402

om.liferay.portal.kernel.dao.orm.ORMException: could not load an entity: [com.liferay.counter.model.Counter#com.liferay.portal.model.Permission]

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: 5.2.3
    • Fix Version/s: 5.2.3
    • Labels:
      None
    • Environment:
      Tomcat bundled liferay 5.2.3, My sql 5.1.3

      Description

      02-17-2011 13:37:0762 ERROR [NeoLog:45] Exception Message : com.liferay.portal.kernel.dao.orm.ORMException: could not load an entity: com.liferay.counter.model.Counter#com.liferay.portal.model.Permission
      02-17-2011 13:37:0762 ERROR [NeoLog:45] Exception ErrorCode : 10002
      02-17-2011 13:37:0764 ERROR [NeoLog:45] ExceptionHandler : Exited handleException
      02-17-2011 14:02:24988 ERROR [SessionDispatcher:177] java.lang.NullPointerException
      02-17-2011 14:02:24991 ERROR [SessionDispatcher:184] java.lang.NullPointerException
      02-17-2011 14:08:46142 ERROR [JobWrapper:78] com.liferay.portal.kernel.job.JobExecutionException: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:

      ast packet sent to the server was 1 ms ago.
      at com.liferay.counter.service.persistence.ConnectionHeartbeatJob.execute(ConnectionHeartbeatJob.java:52)
      at com.liferay.portal.job.JobWrapper.execute(JobWrapper.java:66)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
      Caused by: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:

        • BEGIN NESTED EXCEPTION **

      java.io.EOFException

      STACKTRACE:

      java.io.EOFException
      at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1913)
      at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2304)
      at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2803)
      at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573)
      at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665)
      at com.mysql.jdbc.Connection.execSQL(Connection.java:3170)
      at com.mysql.jdbc.Connection.execSQL(Connection.java:3099)
      at com.mysql.jdbc.Statement.execute(Statement.java:695)
      at com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:1006)
      at com.liferay.counter.service.persistence.ConnectionHeartbeatJob.sendHeartbeat(ConnectionHeartbeatJob.java:72)
      at com.liferay.counter.service.persistence.ConnectionHeartbeatJob.execute(ConnectionHeartbeatJob.java:49)
      at com.liferay.portal.job.JobWrapper.execute(JobWrapper.java:66)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)

        • END NESTED EXCEPTION **

      Last packet sent to the server was 1 ms ago.
      at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2515)
      at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2803)
      at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573)
      at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665)
      at com.mysql.jdbc.Connection.execSQL(Connection.java:3170)
      at com.mysql.jdbc.Connection.execSQL(Connection.java:3099)
      at com.mysql.jdbc.Statement.execute(Statement.java:695)
      at com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:1006)
      at com.liferay.counter.service.persistence.ConnectionHeartbeatJob.sendHeartbeat(ConnectionHeartbeatJob.java:72)
      at com.liferay.counter.service.persistence.ConnectionHeartbeatJob.execute(ConnectionHeartbeatJob.java:49)
      ... 3 more

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  8 years, 5 weeks, 6 days ago

                  Packages

                  Version Package
                  5.2.3