[Smartfrog.org-JIRA] Created: (SFOS-25) SequenceTest is failing with an error about how Sequence is unmarshallable

"Steve Loughran (JIRA)" <[email protected]> Wed, 18 Oct 2006 12:13:15 +0100 (BST)
Newsgroups gmane.comp.java.smartfrog.devel
Message-ID <33550767.1161169995889.JavaMail.tomcat@webapps-ext-br1.hpl.hp.com>
SequenceTest is failing with an error about how Sequence is unmarshallable
--------------------------------------------------------------------------

                 Key: SFOS-25
                 URL: http://jira.smartfrog.org/jira/browse/SFOS-25
             Project: SmartFrog
          Issue Type: Bug
         Environment: Java1.5
            Reporter: Steve Loughran
         Assigned To: Julio Guijarro
            Priority: Minor


testComponentFailureInSequence is failing with an odd error:

error unmarshalling return; nested exception is: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.smartfrog.sfcore.workflow.combinators.Sequence

java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.smartfrog.sfcore.workflow.combinators.Sequence
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:157)
at org.smartfrog.services.assertions.TestBlockImpl_Stub.getAction(Unknown Source)
at org.smartfrog.test.system.workflow.sequence.SequenceTest.testComponentFailureInSequence(SequenceTest.java:42)
Caused by: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.smartfrog.sfcore.workflow.combinators.Sequence
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1308)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349)
at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:290)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:139)
Caused by: java.io.NotSerializableException: org.smartfrog.sfcore.workflow.combinators.Sequence
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
at sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:258)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:304)
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:466)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
at java.lang.Thread.run(Thread.java:595)

Its odd, because if something is unmarshallable, it means that TestBlock.getAction() was trying to return a Prim implementation over the wire, rather than return a remote reference to it. Yet Sequence is a prim-derived class that RMI should export/proxy.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.smartfrog.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642