[Design of POJO Server] - Re: NPE in TransactionScopedEntityManager
by ALRubinger
Some more context, then onto Seam Team for the answers:
PersistenceUnitDeployment.getXPCResolver() line: 208
| TransactionScopedEntityManager.getEntityManager() line: 253
| TransactionScopedEntityManager.getDelegate() line: 91
| EntityManagerProxy.getDelegate() line: 97
| FullTextEntityManagerImpl.getDelegate() line: 154
| FullTextEntityManagerProxy(EntityManagerProxy).getDelegate() line: 97
| IndexerAction.getFullTextSession() line: 65
| IndexerAction.indexAllClasses(Class...) line: 71
| IndexerAction.index() line: 44
Bringing us to NPE.
IndexerAction is a backing bean w/ @Stateful, and in @Create does this call to "index()". These EM Proxies were not supplied by EJB3.
We'll apply MC Team rules here. Give us a failing test case showing we're doing something wrong, and we'll fix it. ;)
S,
ALR
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186906#4186906
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186906
15 years, 11 months
[Design the new POJO MicroContainer] - Re: JBMICROCONT-243 - parsing and managed objects
by scott.stark@jboss.org
Looking at the results more closely, it just looks like the tests are running much slower. In the workspace without the deployers/managed changes. the current trunk seam test times are much slower:
| [junit] Running org.jboss.test.deployers.seam.test.SeamBookingExampleUnitTestCase
| [junit] Running org.jboss.test.deployers.seam.test.SeamBookingExampleUnitTestCase
| [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 156.178 sec
| [junit] Running org.jboss.test.deployers.seam.test.SeamDvdExampleUnitTestCase
| [junit] Running org.jboss.test.deployers.seam.test.SeamDvdExampleUnitTestCase
| [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 136.713 sec
| [junit] Test org.jboss.test.deployers.seam.test.SeamDvdExampleUnitTestCase FAILED
| [junit] Running org.jboss.test.deployers.seam.test.SeamJpaExampleUnitTestCase
| [junit] Running org.jboss.test.deployers.seam.test.SeamJpaExampleUnitTestCase
| [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 183.403 sec
| [junit] Running org.jboss.test.deployers.seam.test.SeamNumberguessExampleUnitTestCase
| [junit] Running org.jboss.test.deployers.seam.test.SeamNumberguessExampleUnitTestCase
| [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 79.059 sec
| [junit] Running org.jboss.test.deployers.seam.test.SeamVFSClassloadingUnitTestCase
| [junit] Running org.jboss.test.deployers.seam.test.SeamVFSClassloadingUnitTestCase
| [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 25.384 sec
| ...
| Total time: 14 minutes 12 seconds
|
Than the r80362 AS trunk with jboss-vfs 2.0.0.CR1
| [junit] Running org.jboss.test.deployers.seam.test.SeamBookingExampleUnitTestCase
| [junit] Running org.jboss.test.deployers.seam.test.SeamBookingExampleUnitTestCase
| [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 16.669 sec
| [junit] Running org.jboss.test.deployers.seam.test.SeamDvdExampleUnitTestCase
| [junit] Running org.jboss.test.deployers.seam.test.SeamDvdExampleUnitTestCase
| [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 20.967 sec
| [junit] Running org.jboss.test.deployers.seam.test.SeamJpaExampleUnitTestCase
| [junit] Running org.jboss.test.deployers.seam.test.SeamJpaExampleUnitTestCase
| [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 9.774 sec
| [junit] Running org.jboss.test.deployers.seam.test.SeamNumberguessExampleUnitTestCase
| [junit] Running org.jboss.test.deployers.seam.test.SeamNumberguessExampleUnitTestCase
| [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 7.229 sec
| [junit] Running org.jboss.test.deployers.seam.test.SeamVFSClassloadingUnitTestCase
| [junit] Running org.jboss.test.deployers.seam.test.SeamVFSClassloadingUnitTestCase
| [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 7.133 sec
| ...
| Total time: 5 minutes 28 seconds
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186879#4186879
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186879
15 years, 11 months