esql.util.PSQLException: ERROR: duplicate key value violates unique constraint "assetentry_pkey"

liferay.com | 4 months ago
  1. 0

    RE: Upgrade 5.2.3 to 6.0.5 - Forums | Liferay

    liferay.com | 1 year ago
    esql.util.PSQLException: ERROR: duplicate key value violates unique constraint "assetentry_pkey"
  2. 0

    RE: Upgrade 5.2.3 to 6.0.5 - Forums | Liferay

    liferay.com | 11 months ago
    esql.util.PSQLException: ERROR: duplicate key value violates unique constraint "assetentry_pkey"
  3. 0

    Upgrade 5.2.3 to 6.0.5 - Forums | Liferay

    liferay.com | 1 year ago
    esql.util.PSQLException: ERROR: duplicate key value violates unique constraint "assetentry_pkey"
  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 | 1 year ago
    esql.util.PSQLException: ERROR: duplicate key value violates unique constraint "assetentry_pkey"
  6. 0

    RE: Upgrade 5.2.3 to 6.0.5 - Forums | Liferay

    liferay.com | 8 months ago
    esql.util.PSQLException: ERROR: duplicate key value violates unique constraint "assetentry_pkey"
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. org.postgresql.util.PSQLException

    ERROR: duplicate key value violates unique constraint "assetentry_pkey"

    at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse()
  2. PostgreSQL JDBC Driver
    AbstractJdbc2Statement.executeUpdate
    1. org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2062)
    2. org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1795)
    3. org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
    4. org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479)
    5. org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:367)
    6. org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:321)
    6 frames
  3. c3p0:JDBC DataSources/Resource Pools
    NewProxyPreparedStatement.executeUpdate
    1. com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:105)
    1 frame
  4. 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
  5. 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
  6. 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
  7. Liferay Portal Service
    UpgradeProcess.upgrade
    1. com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:111)
    1 frame
  8. 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
  9. JavaServlet
    GenericServlet.init
    1. javax.servlet.GenericServlet.init(GenericServlet.java:212)
    1 frame
  10. 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
  11. 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
  12. 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