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

Samebug tips

  1. ,
    Expert tip

    Try downgrading PostgresSQL server to 9.5 or update your PostgresSQL driver to 9.4-1211 with the following command: <postgresql.version>9.4.1211</postgresql.version>

Solutions on the web

via Google Groups by Emmanuel Wilson, 1 year ago
ERROR: duplicate key value violates unique constraint "webapp_pkey" Detail: Key (webapp_id)=(12) already exists.
via Stack Overflow by eml
, 1 year ago
ERROR: duplicate key value violates unique constraint "webapp_pkey" Detail: Key (webapp_id)=(12) already exists.
via Google Groups by Senthil.R, 5 months ago
ERROR: syntax error at or near ")"
via Google Groups by Kocisky, 5 months ago
via Google Groups by Kocisky, 5 months ago
org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "webapp_pkey"
  Detail: Key (webapp_id)=(12) already exists.	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103)	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836)	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)	at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512)	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388)	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:273)	at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)	at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)	at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)	at org.dspace.storage.rdbms.DatabaseManager.doInsertPostgres(DatabaseManager.java:1743)	at org.dspace.storage.rdbms.DatabaseManager.insert(DatabaseManager.java:711)	at org.dspace.storage.rdbms.DatabaseManager.create(DatabaseManager.java:476)	at org.dspace.app.util.AbstractDSpaceWebapp.register(AbstractDSpaceWebapp.java:80)	at org.dspace.app.util.DSpaceContextListener.contextInitialized(DSpaceContextListener.java:128)	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5027)	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5525)	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)	at java.util.concurrent.FutureTask.run(FutureTask.java:262)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)	at java.lang.Thread.run(Thread.java:745)