[ http://jira.jboss.com/jira/browse/JBAS-717?page=history ] Scott M Stark closed JBAS-717: ------------------------------
Resolution: Out of Date > lock.test.EnterpriseEntityStressTestCase fails under load > --------------------------------------------------------- > > Key: JBAS-717 > URL: http://jira.jboss.com/jira/browse/JBAS-717 > Project: JBoss Application Server > Type: Bug > Versions: JBossAS-3.2.6 Final > Reporter: SourceForge User > Assignee: Scott M Stark > > > SourceForge Submitter: sreich . > MacOSX 10.2, JDK 1.4.1, JBoss 3.2 latest from today. > When you run "tests-stress" in the testsuite directory with > the original settings, the test works fine. > It fails when the test is configured to run longer, and with > more threads, using the attached file that needs to be saved > in the testuites directory as ".ant.properties" to reproduce > the problem. > On the client-side, the following trace appears: > junit.framework.AssertionFailedError > at > org.jboss.test.lock.test.EnterpriseEntityTest.run(EnterpriseEnt > ityTest.java:216) > at > org.jboss.test.lock.test.EnterpriseEntityTest.testB2B(Enterpris > eEntityTest.java:137) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodA > ccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegating > MethodAccessorImpl.java:25) > 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) > The server logs contain a bunch of exceptions like this: > 16:13:29,251 ERROR [LogInterceptor] RuntimeException: > java.lang.NullPointerException > at > org.jboss.test.lock.bean.EnterpriseEntityBean.setAndCopyFiel > d(EnterpriseEntityBean.java:74) > at > sun.reflect.GeneratedMethodAccessor514.invoke(Unknown > Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegating > MethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > org.jboss.ejb.EntityContainer$ContainerInterceptor.invoke(Ent > ityContainer.java:1095) > at > org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor.invok > e(JDBCRelationInterceptor.java:71) > at > org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke > (EntitySynchronizationInterceptor.java:298) > at > org.jboss.resource.connectionmanager.CachedConnectionInte > rceptor.invoke(CachedConnectionInterceptor.java:185) > at > org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(Entit > yReentranceInterceptor.java:114) > at > org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityI > nstanceInterceptor.java:174) > at > org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockI > nterceptor.java:89) > at > org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityC > reationInterceptor.java:53) > at > org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(Abstr > actTxInterceptor.java:84) > at > org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(T > xInterceptorCMT.java:320) > at > org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorC > MT.java:128) > at > org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInter > ceptor.java:118) > at > org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.jav > a:191) > at > org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(Pr > oxyFactoryFinderInterceptor.java:122) > at > org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.j > ava:490) > at org.jboss.ejb.Container.invoke(Container.java:700) > at > sun.reflect.GeneratedMethodAccessor512.invoke(Unknown > Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegating > MethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(Ref > lectedMBeanDispatcher.java:284) > at > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerI > mpl.java:546) > at > org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInv > oker.java:362) > at > sun.reflect.GeneratedMethodAccessor76.invoke(Unknown > Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegating > MethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.j > ava:261) > at sun.rmi.transport.Transport$1.run(Transport.java:148) > at java.security.AccessController.doPrivileged(Native > Method) > at > sun.rmi.transport.Transport.serviceCall(Transport.java:144) > at > sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTran > sport.java:460) > at > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(T > CPTransport.java:701) > at java.lang.Thread.run(Thread.java:554) -- 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 - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development