org.apache.openjpa.persistence.EntityExistsException

Duplicate entry 'schema.version' for key 1 {prepstmnt 319187494 INSERT INTO ACT_GE_PROPERTY(NAME_,VALUE_,REV_) VALUES (?,?,?)} [code=1062, state=23000]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web26

  • via syncope-user by ernst Developer, 9 months ago
    Duplicate entry 'schema.version' for key 1 {prepstmnt 319187494 INSERT INTO ACT_GE_PROPERTY(NAME_,VALUE_,REV_) VALUES (?,?,?)} [code=1062, state=23000]
  • via syncope-user by ernst Developer, 2 weeks ago
    Duplicate entry 'schema.version' for key 1 {prepstmnt 319187494 INSERT INTO ACT_GE_PROPERTY(NAME_,VALUE_,REV_) VALUES (?,?,?)} [code=1062, state=23000]
  • via openmeetings-user-russian by Константин Хмыров, 1 year ago
    Duplicate entry 'crypt_ClassName' for key 'U_CNFGRTN_CONF_KEY' {prepstmnt 1902554915 INSERT INTO configuration (comment_field, conf_key, conf_value, deleted, starttime, updatetime, user_id) VALUES (?, ?, ?, ?, ?, ?, ?)} [code=1062, state=23000
  • Stack trace

    • org.apache.openjpa.persistence.EntityExistsException: Duplicate entry 'schema.version' for key 1 {prepstmnt 319187494 INSERT INTO ACT_GE_PROPERTY(NAME_,VALUE_,REV_) VALUES (?,?,?)} [code=1062, state=23000] at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4943) at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4918) at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:136) at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:110) at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:62) at org.apache.openjpa.jdbc.kernel.SQLStoreQuery$SQLExecutor.executeUpdate(SQLStoreQuery.java:172) at org.apache.openjpa.kernel.QueryImpl.update(QueryImpl.java:1056) at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:867) at org.apache.openjpa.kernel.QueryImpl.updateAll(QueryImpl.java:904) at org.apache.openjpa.kernel.DelegatingQuery.updateAll(DelegatingQuery.java:598) at org.apache.openjpa.persistence.QueryImpl.executeUpdate(QueryImpl.java:377) at org.apache.syncope.core.util.ImportExport.startElement(ImportExport.java:277) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1343) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2755) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at javax.xml.parsers.SAXParser.parse(SAXParser.java:395) at javax.xml.parsers.SAXParser.parse(SAXParser.java:198) at org.apache.syncope.core.persistence.dao.impl.ContentLoader.loadDefaultContent(ContentLoader.java:177) at org.apache.syncope.core.persistence.dao.impl.ContentLoader.load(ContentLoader.java:81)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.