[
https://issues.jboss.org/browse/ISPN-4582?page=com.atlassian.jira.plugin....
]
Pedro Ruivo commented on ISPN-4582:
-----------------------------------
The NPE should be fixed by
https://issues.jboss.org/browse/ISPN-4581. It is loading
entries from other tests that has no metadata.
however, I have no clue about the write exception
{code}
org.infinispan.persistence.jpa.JpaStoreException: Exception caught in write()
at org.infinispan.persistence.jpa.JpaStore.write(JpaStore.java:361)
at
org.infinispan.persistence.BaseStoreTest.testLoadAndStoreWithLifespan(BaseStoreTest.java:165)
...
Caused by: org.hibernate.StaleObjectStateException: Row was updated or deleted by another
transaction (or unsaved-value mapping was incorrect):
[org.infinispan.persistence.jpa.impl.MetadataEntity#org.infinispan.persistence.jpa.impl.MetadataEntityKey@e79c6330]
at
org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:2521)
at
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3240)
at
org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:3138)
at
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3468)
at
org.hibernate.action.internal.EntityUpdateAction.execute(EntityUpdateAction.java:140)
{code}
JpaStoreTest random failures
----------------------------
Key: ISPN-4582
URL:
https://issues.jboss.org/browse/ISPN-4582
Project: Infinispan
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Core
Affects Versions: 7.0.0.Alpha5
Reporter: Dan Berindei
Assignee: Pedro Ruivo
Priority: Blocker
Labels: testsuite_stability
Fix For: 7.0.0.Beta1
There appear to be some problems loading the metadata:
{noformat}
01:04:57,013 ERROR (testng-JpaStoreTest:) [UnitTestTestNGListener] Test
testLoadAndStoreWithLifespan(org.infinispan.persistence.jpa.JpaStoreTest) failed.
java.lang.NullPointerException
at org.infinispan.persistence.BaseStoreTest.assertCorrectExpiry(BaseStoreTest.java:179)
at
org.infinispan.persistence.BaseStoreTest.testLoadAndStoreWithLifespan(BaseStoreTest.java:161)
{noformat}
{noformat}
01:04:58,330 ERROR (testng-JpaStoreTest:) [UnitTestTestNGListener] Test
testLoadAndStoreWithLifespanAndIdle(org.infinispan.persistence.jpa.JpaStoreTest) failed.
java.lang.NullPointerException
at org.infinispan.persistence.BaseStoreTest.assertCorrectExpiry(BaseStoreTest.java:179)
at
org.infinispan.persistence.BaseStoreTest.testLoadAndStoreWithLifespanAndIdle(BaseStoreTest.java:289)
{noformat}
This could be related to ISPN-4520, as {{testPurgeExpired}} failed with a
{{TimeoutException}} as well. TRACE logs here:
http://ci.infinispan.org/viewLog.html?buildId=10059&buildTypeId=Infin...
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)