org.apache.sling.api.resource.PersistenceException: Unable to commit changes to session.

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 adobe.com by Unknown author, 1 year ago
Unable to commit changes to session.
via Stack Overflow by lhaferkamp
, 2 years ago
Unable to commit changes to session.
via Stack Overflow by Viswa
, 6 months ago
Unable to commit changes to session.
org.apache.sling.api.resource.PersistenceException: Unable to commit changes to session.
at org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.commit(JcrResourceProvider.java:513)
at org.apache.sling.resourceresolver.impl.helper.ResourceResolverContext.commit(ResourceResolverContext.java:159)
at org.apache.sling.resourceresolver.impl.ResourceResolverImpl.commit(ResourceResolverImpl.java:1108)
at com.trp.twx.tpd.services.impl.FundServiceImpl.__AW_setFundPageProperties(FundServiceImpl.java:1091)
at com.trp.twx.tpd.services.impl.FundServiceImpl.setFundPageProperties(FundServiceImpl.java)
at com.trp.twx.tpd.services.impl.FundServiceImpl.__AW_getFundOverviewPagesByCategory(FundServiceImpl.java:749)
at com.trp.twx.tpd.services.impl.FundServiceImpl.getFundOverviewPagesByCategory(FundServiceImpl.java)
at org.apache.jsp.apps.tpd.components.content.fund_002dcategory_002dlist.fund_002dcategory_002dlist_jsp.__AW__jspService(fund_002dcategory_002dlist_jsp.java:372)
at org.apache.jsp.apps.tpd.components.content.fund_002dcategory_002dlist.fund_002dcategory_002dlist_jsp._jspService(fund_002dcategory_002dlist_jsp.java)
at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.__AW_service(HttpServlet.java:820)
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:502)
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:449)
at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java:265)
at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.java:87)
at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:465)
at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:361)
at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:171)
at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:463)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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