com.liferay.portal.kernel.events.ActionException: com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '10254' for key 'PRIMARY'

liferay.com | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    RE: Upgrade 5.2.3 to 6.0.5 - Forums | Liferay

    liferay.com | 1 year ago
    com.liferay.portal.kernel.events.ActionException: com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '10254' for key 'PRIMARY'
  2. 0

    RE: Upgrade 5.2.3 to 6.0.5 - Forums | Liferay

    liferay.com | 1 year ago
    com.liferay.portal.kernel.events.ActionException: com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '10254' for key 'PRIMARY'
  3. 0

    Upgrade 5.2.3 to 6.0.5 - Forums | Liferay

    liferay.com | 2 years ago
    com.liferay.portal.kernel.events.ActionException: com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '10254' for key 'PRIMARY'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Upgrade 5.2.3 to 6.0.5 - 论坛 | Liferay

    liferay.com | 2 years ago
    com.liferay.portal.kernel.events.ActionException: com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '10254' for key 'PRIMARY'
  6. 0

    RE: Upgrade 5.2.3 to 6.0.5 - Forums | Liferay

    liferay.com | 11 months ago
    com.liferay.portal.kernel.events.ActionException: com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '10254' for key 'PRIMARY'
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.MySQLIntegrityConstraintViolationException

    Duplicate entry '10254' for key 'PRIMARY'

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    4 frames
  3. MySQL jdbc
    PreparedStatement.executeUpdate
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
    2. com.mysql.jdbc.Util.getInstance(Util.java:384)
    3. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1041)
    4. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3566)
    5. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3498)
    6. com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1959)
    7. com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2113)
    8. com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2568)
    9. com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2113)
    10. com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2409)
    11. com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2327)
    12. com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2312)
    12 frames
  4. org.apache.tomcat
    DelegatingPreparedStatement.executeUpdate
    1. org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102)
    1 frame
  5. Liferay Portal Impl
    UpgradeAsset.doUpgrade
    1. com.liferay.portal.upgrade.v6_0_0.UpgradeAsset.addEntry(UpgradeAsset.java:137)
    2. com.liferay.portal.upgrade.v6_0_0.UpgradeAsset.updateAssetEntries(UpgradeAsset.java:466)
    3. com.liferay.portal.upgrade.v6_0_0.UpgradeAsset.doUpgrade(UpgradeAsset.java:386)
    3 frames
  6. Liferay Portal Service
    UpgradeProcess.upgrade
    1. com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:111)
    2. com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:130)
    2 frames
  7. Liferay Portal Impl
    UpgradeProcess_6_0_0.doUpgrade
    1. com.liferay.portal.upgrade.UpgradeProcess_6_0_0.doUpgrade(UpgradeProcess_6_0_0.java:45)
    1 frame
  8. Liferay Portal Service
    UpgradeProcess.upgrade
    1. com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:111)
    1 frame
  9. Liferay Portal Impl
    MainServlet.init
    1. com.liferay.portal.upgrade.UpgradeProcessUtil._upgradeProcess(UpgradeProcessUtil.java:80)
    2. com.liferay.portal.upgrade.UpgradeProcessUtil.upgradeProcess(UpgradeProcessUtil.java:37)
    3. com.liferay.portal.events.StartupHelper.upgradeProcess(StartupHelper.java:73)
    4. com.liferay.portal.events.StartupHelperUtil.upgradeProcess(StartupHelperUtil.java:40)
    5. com.liferay.portal.tools.DBUpgrader.upgrade(DBUpgrader.java:94)
    6. com.liferay.portal.events.StartupAction.doRun(StartupAction.java:117)
    7. com.liferay.portal.events.StartupAction.run(StartupAction.java:47)
    8. com.liferay.portal.servlet.MainServlet.processStartupEvents(MainServlet.java:1166)
    9. com.liferay.portal.servlet.MainServlet.init(MainServlet.java:199)
    9 frames
  10. JavaServlet
    GenericServlet.init
    1. javax.servlet.GenericServlet.init(GenericServlet.java:212)
    1 frame
  11. Glassfish Core
    Catalina.start
    1. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
    2. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
    3. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)
    4. org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)
    5. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    6. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    7. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
    8. org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
    9. org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
    10. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
    11. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
    12. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
    13. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    14. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    15. org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
    16. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    17. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    18. org.apache.catalina.core.StandardService.start(StandardService.java:519)
    19. org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    20. org.apache.catalina.startup.Catalina.start(Catalina.java:581)
    20 frames
  12. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  13. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
    2 frames