[ https://issues.apache.org/jira/browse/OFBIZ-12726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17793365#comment-17793365 ]
Ioan Eugen Stan commented on OFBIZ-12726: ----------------------------------------- I would like to know how to run the test from IDE as it's not very clear to me. I have {noformat} A transaction error occurred reading data org.xml.sax.SAXException: A transaction error occurred reading data org.apache.ofbiz.entity.transaction.GenericTransactionException: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Failure in create operation for entity [TestingCrypto]: java.lang.IllegalStateException: This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache. Cannot modify an immutable entity object. Use the clone method to create a mutable copy of this object.. Rolling back transaction.java.lang.IllegalStateException: This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache. Cannot modify an immutable entity object. Use the clone method to create a mutable copy of this object. (This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache. Cannot modify an immutable entity object. Use the clone method to create a mutable copy of this object.) at org.apache.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:299) at org.apache.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:261) at org.apache.ofbiz.testtools.EntityXmlAssertTest.run(EntityXmlAssertTest.java:80) at org.apache.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:90) at org.apache.ofbiz.base.container.ContainerLoader.startLoadedContainers(ContainerLoader.java:153) at org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:77) at org.apache.ofbiz.base.start.StartupControlPanel.loadContainers(StartupControlPanel.java:146) at org.apache.ofbiz.base.start.StartupControlPanel.start(StartupControlPanel.java:70) at org.apache.ofbiz.base.start.Start.main(Start.java:89) Caused by: org.apache.ofbiz.entity.transaction.GenericTransactionException: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Failure in create operation for entity [TestingCrypto]: java.lang.IllegalStateException: This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache. Cannot modify an immutable entity object. Use the clone method to create a mutable copy of this object.. Rolling back transaction.java.lang.IllegalStateException: This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache. Cannot modify an immutable entity object. Use the clone method to create a mutable copy of this object. (This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache. Cannot modify an immutable entity object. Use the clone method to create a mutable copy of this object.) at org.apache.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:143) at org.apache.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:277) Caused by: java.lang.IllegalStateException: This object has been flagged as immutable (unchangeable), probably because it came from an Entity Engine cache. Cannot modify an immutable entity object. Use the clone method to create a mutable copy of this object. at org.apache.ofbiz.entity.GenericEntity.assertIsMutable(GenericEntity.java:165) at org.apache.ofbiz.entity.GenericEntity.setDelegator(GenericEntity.java:408) at org.apache.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:890) at org.apache.ofbiz.entity.GenericDelegator.rollback(GenericDelegator.java:2715) at org.apache.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:92){noformat} > Running integration tests under Gradle 7.6 and JDK 17 fails > ----------------------------------------------------------- > > Key: OFBIZ-12726 > URL: https://issues.apache.org/jira/browse/OFBIZ-12726 > Project: OFBiz > Issue Type: Sub-task > Components: ALL COMPONENTS > Affects Versions: 22.01.01 > Reporter: Jacques Le Roux > Assignee: Jacques Le Roux > Priority: Blocker > Attachments: image-2023-12-05-16-52-38-822.png > > > Following our discussion at > https://lists.apache.org/thread/kr4v21lxx493byzgpdrzfbz3whhbm82m I ran the > integration tests and found that we currently have 322 errors and 190 > failures :/ > It's a blocker for releasing... -- This message was sent by Atlassian Jira (v8.20.10#820010)