VersionedObjectUnitTestCase fails under java5
---------------------------------------------
Key: JBAOP-1
URL: http://jira.jboss.com/jira/browse/JBAOP-1
Project: JBoss AOP
Type: Bug
Environment: 13:35:08,406 INFO [Server] Starting JBoss (MX MicroKernel)...
13:35:08,406 INFO [Server] Release ID: JBoss [Zion] 4.0.1RC2 (build:
CVSTag=Branch_4_0 date=200411271821)
13:35:08,406 INFO [Server] Home Dir:
C:\cvs\JBoss4.0\jboss-4.0\build\output\jboss-4.0.1RC2
13:35:08,406 INFO [Server] Home URL:
file:/C:/cvs/JBoss4.0/jboss-4.0/build/output/jboss-4.0.1RC2/
13:35:08,406 INFO [Server] Library URL:
file:/C:/cvs/JBoss4.0/jboss-4.0/build/output/jboss-4.0.1RC2/lib/
13:35:08,406 INFO [Server] Patch URL: null
13:35:08,406 INFO [Server] Server Name: all
13:35:08,406 INFO [Server] Server Home Dir:
C:\cvs\JBoss4.0\jboss-4.0\build\output\jboss-4.0.1RC2\server\all
13:35:08,421 INFO [Server] Server Home URL:
file:/C:/cvs/JBoss4.0/jboss-4.0/build/output/jboss-4.0.1RC2/server/all/
13:35:08,421 INFO [Server] Server Data Dir:
C:\cvs\JBoss4.0\jboss-4.0\build\output\jboss-4.0.1RC2\server\all\data
13:35:08,421 INFO [Server] Server Temp Dir:
C:\cvs\JBoss4.0\jboss-4.0\build\output\jboss-4.0.1RC2\server\all\tmp
13:35:08,421 INFO [Server] Server Config URL:
file:/C:/cvs/JBoss4.0/jboss-4.0/build/output/jboss-4.0.1RC2/server/all/conf/
13:35:08,421 INFO [Server] Server Library URL:
file:/C:/cvs/JBoss4.0/jboss-4.0/build/output/jboss-4.0.1RC2/server/all/lib/
13:35:08,421 INFO [Server] Root Deployment Filename: jboss-service.xml
13:35:08,421 INFO [Server] Starting General Purpose Architecture (GPA)...
13:35:08,937 INFO [ServerInfo] Java version: 1.5.0,Sun Microsystems Inc.
13:35:08,937 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM
1.5.0-b64,Sun Microsystems Inc.
13:35:08,937 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
Reporter: Scott M Stark
Assigned to: Bill Burke
The org.jboss.test.aop.test.VersionedObjectUnitTestCase is failing with the
following exception when jboss is running under java5. The same test runs fine
when running under jdk1.4.2_05.
13:36:14,531 INFO [VersionedObjectTester] test optimistic lock
13:36:14,578 INFO [VersionedObjectTester] caught exception correctly: Unable
to commit, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=banshee9100/94,
Branc
hQual=, localId=94] status=STATUS_NO_TRANSACTION; - nested throwable:
(java.lang.ClassCastException: org.jboss.util.id.GUID) exception type:
javax.transaction.T
ransactionRolledbackException
13:36:14,578 ERROR [VersionedObjectTester] failed
java.lang.Exception: optimistic lock failed, field was changed
at
org.jboss.test.aop.bean.VersionedObjectTester.org$jboss$test$aop$bean$VersionedObjectTester$testPerField$aop(VersionedObjectTester.java:85)
at
org.jboss.test.aop.bean.VersionedObjectTester.testPerField(VersionedObjectTester.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:257)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at
org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:164)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at
org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:805)
at
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:406)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:595)
--
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://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development