com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:Gadget UserPreference][id,10000][userprefvalue,true][userprefkey,isConfigured][portletconfiguration,10000] (SQL Exception while executing the following:INSERT INTO gadgetuserpreference (ID, PORTLETCONFIGURATION, USERPREFKEY, USERPREFVALUE) VALUES (?, ?, ?, ?) (Duplicate entr y '10000' for key 'PRIMARY'))

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Atlassian JIRA by Ray Statham - Adaptavist, 1 year ago
org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:Gadget UserPreference][id,10000][userprefvalue,true][userprefkey,isConfigured][portletconfiguration,10000] (SQL Exception while executing the following:INSERT INTO gadgetuserpreference (ID, PORTLETCONFIGURATION, USERPREFKEY, USERPREFVALUE) VALUES (?, ?, ?, ?) (Duplicate entr y '10000' for key 'PRIMARY'))
via Atlassian JIRA by Ray Statham - Adaptavist, 1 year ago
org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:Gadget UserPreference][id,10000][userprefvalue,true][userprefkey,isConfigured][portletconfiguration,10000] (SQL Exception while executing the following:INSERT INTO gadgetuserpreference (ID, PORTLETCONFIGURATION, USERPREFKEY, USERPREFVALUE) VALUES (?, ?, ?, ?) (Duplicate entr y '10000' for key 'PRIMARY'))
via Atlassian JIRA by Lauri Vasko, 1 year ago
,extralongusername0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789][filterID,26581][lastRun,null][emailOnEmpty,false][group,null] (SQL Exception while executing the following:INSERT INTO
via Atlassian JIRA by Lauri Vasko, 1 year ago
,extralongusername0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789][filterID,26581][lastRun,null][emailOnEmpty,false][group,null] (SQL Exception while executing the following:INSERT INTO
com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:Gadget UserPreference][id,10000][userprefvalue,true][userprefkey,isConfigured][portletconfiguration,10000] (SQL Exception while executing the following:INSERT INTO gadgetuserpreference (ID, PORTLETCONFIGURATION, USERPREFKEY, USERPREFVALUE) VALUES (?, ?, ?, ?) (Duplicate entr y '10000' for key 'PRIMARY'))
at com.atlassian.jira.ofbiz.DefaultOfBizDelegator.createValue(DefaultOfBizDelegator.java:366)
at com.atlassian.jira.upgrade.tasks.UpgradeTask_Build438.doUpgrade(UpgradeTask_Build438.java:112)
at com.atlassian.jira.upgrade.UpgradeManagerImpl.doUpgradeTaskSucess(UpgradeManagerImpl.java:562)
at com.atlassian.jira.upgrade.UpgradeManagerImpl.runUpgradeTasks(UpgradeManagerImpl.java:466)
at com.atlassian.jira.upgrade.UpgradeManagerImpl.doUpgrade(UpgradeManagerImpl.java:402)
at com.atlassian.jira.upgrade.UpgradeManagerImpl.doUpgradeIfNeeded(UpgradeManagerImpl.java:353)
at com.atlassian.jira.upgrade.UpgradeManagerImpl.doUpgradeIfNeededAndAllowed(UpgradeManagerImpl.java:292)
at com.atlassian.jira.upgrade.UpgradeLauncher.checkIfUpgradeNeeded(UpgradeLauncher.java:100)
at com.atlassian.jira.util.system.JiraSystemRestarterImpl.ariseSirJIRAandUpgradeThySelf(JiraSystemRestarterImpl.java:44)
at com.atlassian.jira.web.action.admin.ConfirmInstallationWithLicense.doExecute(ConfirmInstallationWithLicense.java:151)
at webwork.action.ActionSupport.execute(ActionSupport.java:165)
at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54)
at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:139)
at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:171)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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