Here is the server side exception to the error reported by the unit test:
[Account] java.lang.NullPointerException
[Account] at
org.jboss.ejb.plugins.EntitySynchronizationInterceptor$InstanceSynchronizati
on.beforeCompletion(EntitySynchronizationInterceptor.java:371)
[Account] at org.jboss.tm.TxCapsule.doBeforeCompletion(TxCapsule.java:1210)
[Account] at org.jboss.tm.TxCapsule.commit(TxCapsule.java:304)
[Account] at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:76)
[Account] at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.
java:168)
[Account] at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:62)
[Account] at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:12
7)
[Account] at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
[Account] at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:373)
[Account] at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerI
nvoker.java:441)
[Account] at
org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.invokeContainer(GenericPr
oxy.java:339)
[Account] at
org.jboss.ejb.plugins.jrmp.interfaces.EntityProxy.invoke(EntityProxy.java:13
3)
[Account] at $Proxy13.deposit(Unknown Source)
[Account] at
org.jboss.test.bank.ejb.TellerBean.transfer(TellerBean.java:38)
[Account] at java.lang.reflect.Method.invoke(Native Method)
[Account] at
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(Stateles
sSessionContainer.java:543)
[Account] at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor
.java:97)
[Account] at
org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxIntercep
torBMT.java:144)
[Account] at
org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:61)
[Account] at
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSe
ssionInstanceInterceptor.java:87)
[Account] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInter
ceptor.java:127)
[Account] at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
[Account] at
org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.jav
a:286)
[Account] at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerI
nvoker.java:360)
[Account] at java.lang.reflect.Method.invoke(Native Method)
[Account] at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)
[Account] at sun.rmi.transport.Transport$1.run(Transport.java:142)
[Account] at java.security.AccessController.doPrivileged(Native Method)
[Account] at sun.rmi.transport.Transport.serviceCall(Transport.java:139)
[Account] at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:443)
[Account] at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:6
43)
[Account] at java.lang.Thread.run(Thread.java:484)
There must be no transaction associated with the ctx for this to happen:
// Store instance if business method was invoked
if (ctx.getTransaction().getStatus() != Status.STATUS_MARKED_ROLLBACK)
<-- EntitySynchronizationInterceptor.java:371
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 08, 2001 6:47 PM
Subject: [JBoss-dev] jboss daily test results
>
>
> JBoss daily test results
>
> SUMMARY
>
> Number of tests run: 112
>
> --------------------------------------------
>
> Successful tests: 111
>
> Errors: 1
>
> Failures: 0
>
> --------------------------------------------
>
> [time of test: 9 July 2001 2:47 GMT]
>
> See http://lubega.com for full details
>
> NOTE: If there are any errors shown above - this mail is only highlighting
> them - it is NOT indicating that they are being looked at by anyone.
>
> It is assumed that whoever makes change(s) to jboss that
> break the test will be fixing the test or jboss, as appropriate!
>
> --------------------------------------------
>
>
> DETAILS OF ERRORS
>
>
>
> Suite: org.jboss.test.bank.test.Main
> Test: testMultiThread
> Type: error
> Exception: org.jboss.test.bank.interfaces.BankException
> Message: Could not transfer 50.0 from
bank/Account:5678.Marc.994642881191 to
bank/Account:5678.Rickard.994642881192
> Stack Trace:
> org.jboss.test.bank.interfaces.BankException: Could not transfer 50.0 from
bank/Account:5678.Marc.994642881191 to
bank/Account:5678.Rickard.994642881192,
Cause:java.lang.reflect.UndeclaredThrowableException
> at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteC
all.java:245)
> at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
> at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
> at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invoke(Unknown
Source)
> at
org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.invokeContainer(GenericPr
oxy.java:362)
> at
org.jboss.ejb.plugins.jrmp.interfaces.StatelessSessionProxy.invoke(Stateless
SessionProxy.java:123)
> at $Proxy5.transfer(Unknown Source)
> at org.jboss.test.bank.test.Main$1.run(Main.java:190)
> at java.lang.Thread.run(Thread.java:484)
>
> ---------------------------------
>
>
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-development
>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development