jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCRRMI-20) Reference target is not referenceable in versioning tests
Date Mon, 06 Apr 2009 15:16:12 GMT
Reference target is not referenceable in versioning tests
---------------------------------------------------------

                 Key: JCRRMI-20
                 URL: https://issues.apache.org/jira/browse/JCRRMI-20
             Project: Jackrabbit JCR-RMI
          Issue Type: Bug
            Reporter: Jukka Zitting
            Priority: Minor


Two versioning tests in the TCK fail with JCR-RMI, apparently because the test is trying to
create a reference to a node that's not referenceable. The tests pass on jackrabbit-core,
so there may be something wrong with the way JCR-RMI sets up the test data.

{noformat}
testSetProperty(org.apache.jackrabbit.test.api.version.VersionTest)  Time elapsed: 30.843
sec  <<< FAILURE!
javax.jcr.UnsupportedRepositoryOperationException
	at org.apache.jackrabbit.rmi.server.ServerObject.getRepositoryException(ServerObject.java:131)
	at org.apache.jackrabbit.rmi.server.ServerNode.getUUID(ServerNode.java:141)
	at sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
	at sun.rmi.transport.Transport$1.run(Transport.java:159)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
	at java.lang.Thread.run(Thread.java:619)
	at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
	at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
	at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
	at org.apache.jackrabbit.rmi.server.ServerNode_Stub.getUUID(Unknown Source)
	at org.apache.jackrabbit.rmi.client.ClientNode.getUUID(ClientNode.java:295)
	at org.apache.jackrabbit.rmi.value.SerialValueFactory.createValue(SerialValueFactory.java:201)
	at org.apache.jackrabbit.rmi.client.ClientNode.setProperty(ClientNode.java:223)
	at org.apache.jackrabbit.test.api.version.VersionTest.testSetProperty(VersionTest.java:669)

testSetProperty(org.apache.jackrabbit.test.api.version.VersionHistoryTest)  Time elapsed:
32.735 sec  <<< FAILURE!
javax.jcr.UnsupportedRepositoryOperationException
	at org.apache.jackrabbit.rmi.server.ServerObject.getRepositoryException(ServerObject.java:131)
	at org.apache.jackrabbit.rmi.server.ServerNode.getUUID(ServerNode.java:141)
	at sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
	at sun.rmi.transport.Transport$1.run(Transport.java:159)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
	at java.lang.Thread.run(Thread.java:619)
	at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
	at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
	at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
	at org.apache.jackrabbit.rmi.server.ServerNode_Stub.getUUID(Unknown Source)
	at org.apache.jackrabbit.rmi.client.ClientNode.getUUID(ClientNode.java:295)
	at org.apache.jackrabbit.rmi.value.SerialValueFactory.createValue(SerialValueFactory.java:201)
	at org.apache.jackrabbit.rmi.client.ClientNode.setProperty(ClientNode.java:223)
	at org.apache.jackrabbit.test.api.version.VersionHistoryTest.testSetProperty(VersionHistoryTest.java:795)
{noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message