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]

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

Solutions on the web

via syncope-user by ernst Developer, 1 year 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, 6 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 Stack Overflow by prasushi
, 10 months ago
) VALUES (?, ?, ?, ?, ?) [params=?, ?, ?, ?, ?]} [code=1400, state=23000] FailedObject: com.pqyc.absservices.persistence.entities.ContentTypeSmsShortCode@4032f53
via jpab.org by Unknown author, 1 year ago
Unique index or primary key violation: "PRIMARY_KEY_2C ON PUBLIC.OPENJPA_SEQUENCES_TABLE(ID)"; SQL statement: INSERT INTO OPENJPA_SEQUENCES_TABLE (ID, SEQUENCE_VALUE) VALUES (?, ?) [23001-141] {prepstmnt 28057122 INSERT INTO OPENJPA_SEQUENCES_TABLE (ID, SEQUENCE_VALUE) VALUES (?, ?) [params=(String) DEFAULT, (int) 0]} [code=23001, state=23001]
via roller-user by Dave, 1 year ago
ORA-01400: cannot insert NULL into ("CPSBLOGGER"."ROLLER_MEDIAFILETAG"."NAME") > {prepstmnt 16039729 INSERT INTO roller_mediafiletag (id, name, mediafile_id) VALUES (?, ?, ?) [params=?, ?, ?]} [code=1400, state=23000] > FailedObject: org.apache.roller.weblogger.pojos.MediaFileTag@ac55da
via roller-user by Anil Gangolli, 1 year ago
ORA-01400: cannot insert NULL into ("CPSBLOGGER"."ROLLER_MEDIAFILETAG"."NAME") {prepstmnt 16039729 INSERT INTO roller_mediafiletag (id, name, mediafile_id) VALUES (?, ?, ?) [params=?, ?, ?]} [code=1400, state=23000] FailedObject: org.apache.roller.weblogger.pojos.MediaFileTag@ac55da
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.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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.