[JBoss JIRA] Updated: (EJBTHREE-420) redeploy of TreeCached entities fails
by Carlo de Wolf (JIRA)
[ http://jira.jboss.com/jira/browse/EJBTHREE-420?page=all ]
Carlo de Wolf updated EJBTHREE-420:
-----------------------------------
Fix Version/s: AS 4.2.0 CR2
(was: AS 4.2.0 CR1)
> redeploy of TreeCached entities fails
> -------------------------------------
>
> Key: EJBTHREE-420
> URL: http://jira.jboss.com/jira/browse/EJBTHREE-420
> Project: EJB 3.0
> Issue Type: Bug
> Affects Versions: EJB 3.0 RC3
> Reporter: Bill Burke
> Assigned To: Brian Stansberry
> Fix For: AS 4.2.0 CR2
>
>
> 2006-01-20 15:14:19,843 INFO [STDOUT] org.hibernate.PropertyAccessException: exception getting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) getter of com.airit.fidsdb.entity.ArrPrevPortPK.?
> at org.hibernate.tuple.PojoComponentTuplizer.getPropertyValues(PojoComponentTuplizer.java:79)
> at org.hibernate.type.ComponentType.getPropertyValues(ComponentType.java:307)
> at org.hibernate.type.ComponentType.isEqual(ComponentType.java:111)
> at org.hibernate.cache.CacheKey.equals(CacheKey.java:51)
> at org.jboss.cache.Fqn.equals(Fqn.java:134)
> at java.util.HashMap.eq(HashMap.java:277)
> at java.util.HashMap.containsKey(HashMap.java:346)
> at org.jboss.cache.eviction.LRUAlgorithm.add(LRUAlgorithm.java:126)
> at org.jboss.cache.eviction.LRUAlgorithm.processAddedNodes(LRUAlgorithm.java:99)
> at org.jboss.cache.eviction.LRUAlgorithm.processQueues(LRUAlgorithm.java:77)
> at org.jboss.cache.eviction.LRUAlgorithm.process(LRUAlgorithm.java:52)
> at org.jboss.cache.eviction.EvictionTimerTask.run(EvictionTimerTask.java:37)
> at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
> Caused by: java.lang.ClassCastException: com.airit.fidsdb.entity.ArrPrevPortPK
> at com.airit.fidsdb.entity.ArrPrevPortPK$$BulkBeanByCGLIB$$8b6b36b9.getPropertyValues(<generated>)
> at net.sf.cglib.beans.BulkBean.getPropertyValues(BulkBean.java:48)
> at org.hibernate.tuple.PojoComponentTuplizer.getPropertyValues(PojoComponentTuplizer.java:76)
> ... 13 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years
[JBoss JIRA] Updated: (EJBTHREE-564) Inconsistent results in ConsumerUnitTestCase
by Carlo de Wolf (JIRA)
[ http://jira.jboss.com/jira/browse/EJBTHREE-564?page=all ]
Carlo de Wolf updated EJBTHREE-564:
-----------------------------------
Fix Version/s: AS 4.2.0 CR2
(was: AS 4.2.0 CR1)
> Inconsistent results in ConsumerUnitTestCase
> --------------------------------------------
>
> Key: EJBTHREE-564
> URL: http://jira.jboss.com/jira/browse/EJBTHREE-564
> Project: EJB 3.0
> Issue Type: Bug
> Environment: org.jboss.ejb3.test.consumer.unit.ConsumerUnitTestCase
> Reporter: Scott M Stark
> Assigned To: William DeCoste
> Fix For: AS 4.2.0 CR2
>
>
> If I run the ConsumerUnitTestCase multiple times I start seeing failures due to method invocation order it seems.
> [starksm@banshee9100 ejb3]$ ant -buildfile build-test.xml -Dtest=consumer test
> Buildfile: build-test.xml
> init:
> test:
> test-with-jvmargs:
> [delete] Deleting: C:\cvs\JBoss4.0\jboss-4.0.x\ejb3\output\log\test.log
> [junit] Running org.jboss.ejb3.test.consumer.unit.ConsumerUnitTestCase
> [starksm@banshee9100 ejb3]$ ant -buildfile build-test.xml -Dtest=consumer test
> Buildfile: build-test.xml
> init:
> test:
> test-with-jvmargs:
> [delete] Deleting: C:\cvs\JBoss4.0\jboss-4.0.x\ejb3\output\log\test.log
> [junit] Running org.jboss.ejb3.test.consumer.unit.ConsumerUnitTestCase
> [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 16.344 sec
> BUILD SUCCESSFUL
> Total time: 21 seconds
> [starksm@banshee9100 ejb3]$ ant -buildfile build-test.xml -Dtest=consumer test
> Buildfile: build-test.xml
> init:
> test:
> test-with-jvmargs:
> [delete] Deleting: C:\cvs\JBoss4.0\jboss-4.0.x\ejb3\output\log\test.log
> [junit] Running org.jboss.ejb3.test.consumer.unit.ConsumerUnitTestCase
> [junit] Tests run: 6, Failures: 1, Errors: 0, Time elapsed: 14.359 sec
> [junit] Test org.jboss.ejb3.test.consumer.unit.ConsumerUnitTestCase FAILED
> BUILD SUCCESSFUL
> Total time: 19 seconds
> [starksm@banshee9100 ejb3]$ ant -buildfile build-test.xml -Dtest=consumer test
> Buildfile: build-test.xml
> init:
> test:
> test-with-jvmargs:
> [delete] Deleting: C:\cvs\JBoss4.0\jboss-4.0.x\ejb3\output\log\test.log
> [junit] Running org.jboss.ejb3.test.consumer.unit.ConsumerUnitTestCase
> [junit] Tests run: 6, Failures: 1, Errors: 0, Time elapsed: 14.86 sec
> [junit] Test org.jboss.ejb3.test.consumer.unit.ConsumerUnitTestCase FAILED
> BUILD SUCCESSFUL
> Total time: 19 seconds
> <testcase classname="org.jboss.ejb3.test.consumer.unit.ConsumerUnitTestCase" name="testDeploymentDescriptorQueueXA" time="2.032">
> <failure message="expected:<...1> but was:<...2>" type="junit.framework.ComparisonFailure">junit.framework.ComparisonFailure: expected:<...1> but was:<...2>
> at org.jboss.ejb3.test.consumer.unit.ConsumerUnitTestCase.testDeploymentDescriptorQueueXA(ConsumerUnitTestCase.java:151)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> </failure>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years