org.springframework.dao.DataIntegrityViolationException

Duplicate entry 'schema.version' for key 1 {prepstmnt 319187494 INSERT INTO ACT_GE_PROPERTY(NAME_,VALUE_,REV_) VALUES (?,?,?)} [code=1062, state=23000]; nested exception is <openjpa-2.2.1-r422266:1396819 fatal store error> 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 web528

  • 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]; nested exception is <openjpa-2.2.1-r422266:1396819 fatal store error
  • 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]; nested exception is <openjpa-2.2.1-r422266:1396819 fatal store error
  • via Sakai JIRA by Stephen Marquard, 1 year ago
    (?, ?, ?, ?, ?, ?, 1)]; Duplicate entry '1910-40c3ad2c-28aa-4d2a-8063-3d903518857d' for key 2; nested exception is java.sql.SQLException: Duplicate entry '1910-40c3ad2c-28aa-4d2a-8063-3d903518857d' for key 2
  • Stack trace

    • org.springframework.dao.DataIntegrityViolationException: Duplicate entry 'schema.version' for key 1 {prepstmnt 319187494 INSERT INTO ACT_GE_PROPERTY(NAME_,VALUE_,REV_) VALUES (?,?,?)} [code=1062, state=23000]; nested exception is <openjpa-2.2.1-r422266:1396819 fatal store error> 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.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:605) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:925) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:472) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

    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.