Error run process 'transaction has been marked as rollback only'

Hi the community,

I am in Bonita Studio and I have a problem when I want to update a process. Without modification the existing process runs but as soon as a new task I have this error when I want tu run it and I don't understand why :

USERNAME=walter.bates | java.lang.IllegalStateException: org.bonitasoft.engine.transaction.STransactionNotFoundException: bitronix.tm.internal.BitronixRollbackException: transaction has been marked as rollback only
org.bonitasoft.engine.api.HTTPServerAPI.invokeMethod(HTTPServerAPI.java:128)
org.bonitasoft.engine.api.impl.ClientInterceptor.invoke(ClientInterceptor.java:86)
com.sun.proxy.$Proxy68.deploy(Unknown Source)
org.bonitasoft.studio.engine.operation.DeployProcessOperation.deployProcess(DeployProcessOperation.java:183)
org.bonitasoft.studio.engine.operation.DeployProcessOperation.deploy(DeployProcessOperation.java:149)
org.bonitasoft.studio.engine.operation.DeployProcessOperation.run(DeployProcessOperation.java:116)
org.bonitasoft.studio.engine.operation.RunProcessOperation.run(RunProcessOperation.java:84)
org.bonitasoft.studio.engine.command.RunProcessCommand$1.run(RunProcessCommand.java:126)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
    < ========== Beginning of the server stack trace ========== >. ( )
org.bonitasoft.engine.api.impl.ServerAPIImpl.wrapThrowable(ServerAPIImpl.java:148)
org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeMethod(ServerAPIImpl.java:136)
org.bonitasoft.engine.api.internal.servlet.HttpAPIServletCall.doPost(HttpAPIServletCall.java:111)
org.bonitasoft.engine.api.internal.servlet.HttpAPIServlet.doPost(HttpAPIServlet.java:35)
javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800)
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.lang.Thread.run(Thread.java:745)
    Caused by: java.lang.IllegalStateException.: org.bonitasoft.engine.transaction.STransactionNotFoundException: bitronix.tm.internal.BitronixRollbackException: transaction has been marked as rollback only ( )
org.bonitasoft.engine.business.data.impl.JPABusinessDataRepositoryImpl.getEntityManager(JPABusinessDataRepositoryImpl.java:180)
org.bonitasoft.engine.business.data.impl.JPABusinessDataRepositoryImpl.getEntityClassNames(JPABusinessDataRepositoryImpl.java:160)
org.bonitasoft.engine.api.impl.resolver.BusinessDataBusinessArchiveArtifactManager.checkResolution(BusinessDataBusinessArchiveArtifactManager.java:55)
org.bonitasoft.engine.api.impl.resolver.BusinessDataBusinessArchiveArtifactManager.deploy(BusinessDataBusinessArchiveArtifactManager.java:45)
org.bonitasoft.engine.api.impl.resolver.BusinessArchiveArtifactsManager.resolveDependencies(BusinessArchiveArtifactsManager.java:66)
org.bonitasoft.engine.bar.BusinessArchiveServiceImpl.deploy(BusinessArchiveServiceImpl.java:76)
org.bonitasoft.engine.api.impl.ProcessAPIImpl.deploy(ProcessAPIImpl.java:575)
sun.reflect.GeneratedMethodAccessor242.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeAPI(ServerAPIImpl.java:462)
org.bonitasoft.engine.api.impl.ServerAPIImpl$2.call(ServerAPIImpl.java:431)
org.bonitasoft.engine.transaction.JTATransactionServiceImpl.executeInTransaction(JTATransactionServiceImpl.java:274)
org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeAPIInTransaction(ServerAPIImpl.java:438)
org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeAPI(ServerAPIImpl.java:272)
org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeMethod(ServerAPIImpl.java:124)
... 31 more. ( )
    Caused by: org.bonitasoft.engine.transaction.STransactionNotFoundException.: bitronix.tm.internal.BitronixRollbackException: transaction has been marked as rollback only ( )
org.bonitasoft.engine.transaction.JTATransactionServiceImpl.registerBonitaSynchronization(JTATransactionServiceImpl.java:253)
org.bonitasoft.engine.business.data.impl.JPABusinessDataRepositoryImpl.getEntityManager(JPABusinessDataRepositoryImpl.java:178)
... 46 more. ( )
    Caused by: bitronix.tm.internal.BitronixRollbackException.: transaction has been marked as rollback only ( )
bitronix.tm.BitronixTransaction.registerSynchronization(BitronixTransaction.java:212)
org.bonitasoft.engine.transaction.JTATransactionServiceImpl.registerBonitaSynchronization(JTATransactionServiceImpl.java:251)
... 47 more. ( )

Thanks you for your help,

Matthieu

Hi,

I wanted to give you a additional information, the problem appeared after adding a new column in the BDM for the needs of another process.  Maybe there is a link?

Thanks you.

Matthieu