Hi,
Starting at (it seems) r1635901 we have an error with testConverters
Buildbot has a lunatic behaviour at the moment, so we can't rely on its messages. Weird because tests ran properly here around this revision (not sure
it was this one) this morning.
Please check, thanks
Jacques
PS: this should help
java] 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.
[java] at
org.ofbiz.entity.GenericEntity.assertIsMutable(GenericEntity.java:158)
[ofbiz-entity.jar:?]
[java] at
org.ofbiz.entity.GenericEntity.removedFromDatasource(GenericEntity.java:303)
[ofbiz-entity.jar:?]
[java] at
org.ofbiz.entity.GenericDelegator.removeValue(GenericDelegator.java:1100)
[ofbiz-entity.jar:?]
[java] at
org.ofbiz.entity.GenericDelegator.removeValue(GenericDelegator.java:1064)
[ofbiz-entity.jar:?]
[java] at
org.ofbiz.entity.GenericDelegator.rollback(GenericDelegator.java:2878)
[ofbiz-entity.jar:?]
[java] at
org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:149)
[ofbiz-testtools.jar:?]
[java] at
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:237)
[ofbiz-base.jar:?]
[java] at org.ofbiz.base.start.Start.startStartLoaders(Start.java:342)
[ofbiz.jar:?]
[java] at org.ofbiz.base.start.Start.start(Start.java:368)
[ofbiz.jar:?]
[java] at org.ofbiz.base.start.Start.main(Start.java:135) [ofbiz.jar:?]
[java] 2014-11-01 13:00:29,203 |main |GenericDelegator
|E| Failure in removeValue operation for entity [TestingType]:
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] 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.
[java] at
org.ofbiz.entity.GenericEntity.assertIsMutable(GenericEntity.java:158)
~[ofbiz-entity.jar:?]
[java] at
org.ofbiz.entity.GenericEntity.removedFromDatasource(GenericEntity.java:303)
~[ofbiz-entity.jar:?]
[java] at
org.ofbiz.entity.GenericDelegator.removeValue(GenericDelegator.java:1100)
[ofbiz-entity.jar:?]
[java] at
org.ofbiz.entity.GenericDelegator.removeValue(GenericDelegator.java:1064)
[ofbiz-entity.jar:?]
[java] at
org.ofbiz.entity.GenericDelegator.rollback(GenericDelegator.java:2878)
[ofbiz-entity.jar:?]
[java] at
org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:149)
[ofbiz-testtools.jar:?]
[java] at
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:237)
[ofbiz-base.jar:?]
[java] at org.ofbiz.base.start.Start.startStartLoaders(Start.java:342)
[ofbiz.jar:?]
[java] at org.ofbiz.base.start.Start.start(Start.java:368)
[ofbiz.jar:?]
[java] at org.ofbiz.base.start.Start.main(Start.java:135) [ofbiz.jar:?]
[java] 2014-11-01 13:00:29,204 |main |TransactionUtil
|I| Transaction rolled back
[java] 2014-11-01 13:00:29,205 |main |GenericDelegator
|W| org.ofbiz.entity.GenericEntityException:
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.)
[java] 2014-11-01 13:00:29,274 |main |GenericDelegator
|E| Failure in create operation for entity [TestingType]:
org.ofbiz.entity.GenericEntityException: Error while inserting:
[GenericEntity:TestingType][createdStamp,2014-11-01
13:00:29.205(java.sql.Timestamp)][createdTxStamp,2014-11-01
13:00:29.205(java.sql.Timestamp)][description,New Testing Type
#Cache-0(java.lang.String)][lastUpdatedStamp,2014-11-01
13:00:29.205(java.sql.Timestamp)][lastUpdatedTxStamp,2014-11-01
13:00:29.205(java.sql.Timestamp)][testingTypeId,TEST-CACHE-1(java.lang.String)]
(SQL Exception while executing the following:INSERT INTO OFBIZ.TESTING_TYPE
(TESTING_TYPE_ID, DESCRIPTION, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP,
CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?) (The statement was
aborted because it would have caused a duplicate key value in a unique or
primary key constraint or unique index identified by 'SQL141101125803401'
defined on 'TESTING_TYPE'.)). Rolling back transaction.
[java] 2014-11-01 13:00:29,275 |main |TransactionUtil
|I| Transaction rolled back
[java] 2014-11-01 13:00:29,275 |main |GenericDelegator
|W| org.ofbiz.entity.GenericEntityException:
org.ofbiz.entity.GenericEntityException: Error while inserting:
[GenericEntity:TestingType][createdStamp,2014-11-01
13:00:29.205(java.sql.Timestamp)][createdTxStamp,2014-11-01
13:00:29.205(java.sql.Timestamp)][description,New Testing Type
#Cache-0(java.lang.String)][lastUpdatedStamp,2014-11-01
13:00:29.205(java.sql.Timestamp)][lastUpdatedTxStamp,2014-11-01
13:00:29.205(java.sql.Timestamp)][testingTypeId,TEST-CACHE-1(java.lang.String)]
(SQL Exception while executing the following:INSERT INTO OFBIZ.TESTING_TYPE
(TESTING_TYPE_ID, DESCRIPTION, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP,
CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?) (The statement was
aborted because it would have caused a duplicate key value in a unique or
primary key constraint or unique index identified by 'SQL141101125803401'
defined on 'TESTING_TYPE'.)) (Error while inserting:
[GenericEntity:TestingType][createdStamp,2014-11-01
13:00:29.205(java.sql.Timestamp)][createdTxStamp,2014-11-01
13:00:29.205(java.sql.Timestamp)][description,New Testing Type
#Cache-0(java.lang.String)][lastUpdatedStamp,2014-11-01
13:00:29.205(java.sql.Timestamp)][lastUpdatedTxStamp,2014-11-01
13:00:29.205(java.sql.Timestamp)][testingTypeId,TEST-CACHE-1(java.lang.String)]
(SQL Exception while executing the following:INSERT INTO OFBIZ.TESTING_TYPE
(TESTING_TYPE_ID, DESCRIPTION, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP,
CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?) (The statement was
aborted because it would have caused a duplicate key value in a unique or
primary key constraint or unique index identified by 'SQL141101125803401'
defined on 'TESTING_TYPE'.)))
[java] 2014-11-01 13:00:29,321 |main |TestRunContainer
|I| [JUNIT] Results for test suite: entitytests
[java] 2014-11-01 13:00:29,322 |main |TestRunContainer
|I| [JUNIT] Pass: false | # Tests: 53 | # Failed: 0 # Errors: 1
[java] 2014-11-01 13:00:29,322 |main |TestRunContainer
|I| [JUNIT] ----------------------------- ERRORS
----------------------------- [JUNIT]
[java] 2014-11-01 13:00:29,322 |main |TestRunContainer
|I| --> testConverters(org.ofbiz.entity.test.EntityTestSuite):
org.ofbiz.entity.GenericEntityException: Error while inserting:
[GenericEntity:Testing][createdStamp,2014-11-01
12:59:37.778(java.sql.Timestamp)][createdTxStamp,2014-11-01
12:59:37.778(java.sql.Timestamp)][description,Testing JSON
Converters(java.lang.String)][lastUpdatedStamp,2014-11-01
12:59:37.778(java.sql.Timestamp)][lastUpdatedTxStamp,2014-11-01
12:59:37.778(java.sql.Timestamp)][testingDate,2014-11-01
12:59:37.778(java.sql.Timestamp)][testingId,JSON_TEST(java.lang.String)][testingSize,123(java.lang.Long)][testingTypeId,TEST-UPDATE-1(java.lang.String)]
(SQL Exception while executing the following:INSERT INTO OFBIZ.TESTING
(TESTING_ID, TESTING_TYPE_ID, TESTING_NAME, DESCRIPTION, COMMENTS, TESTING_SIZE,
TESTING_DATE, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP,
CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (INSERT on table
'TESTING' caused a violation of foreign key constraint 'ENTITY_ENTY_TYP' for key
(TEST-UPDATE-1). The statement has been rolled back.)) (Error while inserting:
[GenericEntity:Testing][createdStamp,2014-11-01
12:59:37.778(java.sql.Timestamp)][createdTxStamp,2014-11-01
12:59:37.778(java.sql.Timestamp)][description,Testing JSON
Converters(java.lang.String)][lastUpdatedStamp,2014-11-01
12:59:37.778(java.sql.Timestamp)][lastUpdatedTxStamp,2014-11-01
12:59:37.778(java.sql.Timestamp)][testingDate,2014-11-01
12:59:37.778(java.sql.Timestamp)][testingId,JSON_TEST(java.lang.String)][testingSize,123(java.lang.Long)][testingTypeId,TEST-UPDATE-1(java.lang.String)]
(SQL Exception while executing the following:INSERT INTO OFBIZ.TESTING
(TESTING_ID, TESTING_TYPE_ID, TESTING_NAME, DESCRIPTION, COMMENTS, TESTING_SIZE,
TESTING_DATE, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP,
CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (INSERT on table
'TESTING' caused a violation of foreign key constraint 'ENTITY_ENTY_TYP' for key
(TEST-UPDATE-1). The statement has been rolled back.)))
[java] 2014-11-01 13:00:29,322 |main |TestRunContainer
|I| org.ofbiz.entity.GenericEntityException:
org.ofbiz.entity.GenericEntityException: Error while inserting:
[GenericEntity:Testing][createdStamp,2014-11-01
12:59:37.778(java.sql.Timestamp)][createdTxStamp,2014-11-01
12:59:37.778(java.sql.Timestamp)][description,Testing JSON
Converters(java.lang.String)][lastUpdatedStamp,2014-11-01
12:59:37.778(java.sql.Timestamp)][lastUpdatedTxStamp,2014-11-01
12:59:37.778(java.sql.Timestamp)][testingDate,2014-11-01
12:59:37.778(java.sql.Timestamp)][testingId,JSON_TEST(java.lang.String)][testingSize,123(java.lang.Long)][testingTypeId,TEST-UPDATE-1(java.lang.String)]
(SQL Exception while executing the following:INSERT INTO OFBIZ.TESTING
(TESTING_ID, TESTING_TYPE_ID, TESTING_NAME, DESCRIPTION, COMMENTS,
TESTING_SIZE, TESTING_DATE, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP,
CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
(INSERT on table 'TESTING' caused a violation of foreign key constraint
'ENTITY_ENTY_TYP' for key (TEST-UPDATE-1). The statement has been rolled
back.)) (Error while inserting: [GenericEntity:Testing][createdStamp,2014-11-01
12:59:37.778(java.sql.Timestamp)][createdTxStamp,2014-11-01
12:59:37.778(java.sql.Timestamp)][description,Testing JSON
Converters(java.lang.String)][lastUpdatedStamp,2014-11-01
12:59:37.778(java.sql.Timestamp)][lastUpdatedTxStamp,2014-11-01
12:59:37.778(java.sql.Timestamp)][testingDate,2014-11-01
12:59:37.778(java.sql.Timestamp)][testingId,JSON_TEST(java.lang.String)][testingSize,123(java.lang.Long)][testingTypeId,TEST-UPDATE-1(java.lang.String)]
(SQL Exception while executing the following:INSERT INTO OFBIZ.TESTING
(TESTING_ID, TESTING_TYPE_ID, TESTING_NAME, DESCRIPTION, COMMENTS,
TESTING_SIZE, TESTING_DATE, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP,
CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
(INSERT on table 'TESTING' caused a violation of foreign key constraint
'ENTITY_ENTY_TYP' for key (TEST-UPDATE-1). The statement has been rolled
back.)))
[java] at
org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:923)
[java] at
org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:745)
[java] at
org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:731)
[java] at
org.ofbiz.entity.test.EntityTestSuite.testConverters(EntityTestSuite.java:1218)