Hi Edwin,
I received your archive with the testcase. It works for me without
any problems.
I modified com.uwyn.rife.jumpstart.TestApplication and replaced the
testsuite declaration with this:
suite.addTestSuite
(be.yourstore.business.HessianAdminFacadeTestCase.class);
When I run the test like this, I get no exception at all and the test
succeeds.
I thus suspect that you're not starting the application with
com.uwyn.rife.test.RunWithEngineClassLoader for your Swing application.
Hope this helps,
Geert
On 30 May 2006, at 22:53, [EMAIL PROTECTED] wrote:
Hello,
I have a swing client that connects to a hessian webservice running
inside a
rife application.
I'm having problems when hessian tries to deserialise meta data
merged classes
at the client side.
The stack trace I get is:
Caused by: java.io.IOException: Failed setting: private
com.uwyn.rife.site.Validated
com.uwyn.rife.site.MetaData.mMetaDataBean with
[EMAIL PROTECTED]
java.lang.IllegalArgumentException
at com.caucho.hessian.io.JavaDeserializer.readMap
(JavaDeserializer.java:155)
at com.caucho.hessian.io.JavaDeserializer.readMap
(JavaDeserializer.java:107)
at com.caucho.hessian.io.SerializerFactory.readMap
(SerializerFactory.java )
at com.caucho.hessian.io.HessianInput.readObject
(HessianInput.java:1126)
at com.caucho.hessian.io.JavaDeserializer.readMap
(JavaDeserializer.java:163)
at com.caucho.hessian.io.JavaDeserializer.readMap
(JavaDeserializer.java:107)
at com.caucho.hessian.io.HessianInput.readObject
(HessianInput.java)
at com.caucho.hessian.io.JavaDeserializer.readMap
(JavaDeserializer.java:150)
at com.caucho.hessian.io.JavaDeserializer.readMap
(JavaDeserializer.java:107)
at com.caucho.hessian.io.SerializerFactory.readMap
(SerializerFactory.java)
at com.caucho.hessian.io.HessianInput.readObject
(HessianInput.java:1126)
at com.caucho.hessian.io.CollectionDeserializer.readList
(CollectionDeserializer.java)
at com.caucho.hessian.io.HessianInput.readObject
(HessianInput.java)
at com.caucho.hessian.io.HessianInput.readReply
(HessianInput.java:285)
at com.caucho.hessian.client.HessianProxy.invoke
(HessianProxy.java)
... 34 more
I tried running the client with the EngineClassLoader but this
doesn't make any
difference, does anybody has a clue how to solve this?
Thanks,
Edwin
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users
--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users