Hi Michael,

Firstly, please post on premium list since you already have premium
support. Postings on developer list do not have guaranteed response time.

You are right in your assessment. The mechanism for checking version
mismatch still exists but it seems that it has been superseded by the
initial request to for exchanging ClientInfo which was introduced as part
of EasyDeployment feature.

I will investigate this and create an issue.

Thanks and regards,

Janak

-----------------------------------------
Janak Mulani

email: [email protected]
url: http://www.canoo.com <http://www.canoo.com/>

Beyond AJAX - Java Rich Internet Applications

http://www.canoo.com/ulc
-----------------------------------------


________________________________

        From: [email protected]
[mailto:[email protected]] On Behalf Of Michael Dänzer
        Sent: Tuesday, February 09, 2010 2:39 PM
        To: [email protected]
        Subject: [ULC-developer] Version mismatch leads to EOFExcpetion



        Hi



        We just observed on our development branches that ULC crashes when
clients with old ULC version (in our case ULC 2008 u2 build.3670) tries to
connect to a server with a newer ULC version (ULC 2008 u4 build.5088).
This is hopefully something never happens in a production environment, but
still a nice and clean error message that there is a version mismatch
would be much better than the exception that is thrown. We thought that
earlier there was such a mechanism.



        The exception looks like ULC already fails to deserialize the
start request containing the (wrong) client-side version info on the
server-side before even being able to compare the client- and server-side
versions (i.e. because the basic request/client-info deserialization
mechanism has changed between those two versions)



        Error:



            Caused by: java.io.UTFDataFormatException: malformed input
around byte 404

              at java.io.DataInputStream.readUTF(DataInputStream.java:612)

              at java.io.DataInputStream.readUTF(DataInputStream.java:522)

              at
com.ulcjava.base.shared.internal.UlcDataInputStream.readUTF(UlcDataInputSt
ream.java:6)

              at
com.ulcjava.base.shared.internal.UlcObjectInputStream.readUTF(UlcObjectInp
utStream.java:94)

              at
com.ulcjava.base.shared.internal.UlcObjectInputStream.b(UlcObjectInputStre
am.java:44)

              at
com.ulcjava.base.shared.internal.UlcObjectInputStream.readObject(UlcObject
InputStream.java:58)

              at
com.ulcjava.container.servlet.server.SendRequestsCommand.handleRequestCont
ent(SendRequestsCommand.java:3)

              at
com.ulcjava.container.servlet.server.ContainerCommand.execute(ContainerCom
mand.java:32)

              at
com.ulcjava.container.servlet.server.ServletContainerAdapterHelper.a(Servl
etContainerAdapterHelper.java:93)

              at
com.ulcjava.container.servlet.server.ServletContainerAdapterHelper.service
(ServletContainerAdapterHelper.java:135)

              at
com.ulcjava.container.servlet.server.ServletContainerAdapter.service(Servl
etContainerAdapter.java:3)

              at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

              at
ch.ivyteam.ivy.richdialog.exec.internal.servlet.UlcServletContainerAdapter
.handleRequestWithinContext(UlcServletContainerAdapter.java:113)

              ... 30 more





        Kind regards

        Michael



        ivyTeam AG
        Alpenstrasse 9
        CH-6304 Zug

        Telefon:           +41 (0)58 666 34 34

        Fax:                 +41 (0)58 666 34 00
        e-mail:             [email protected]
<mailto:[email protected]>
        www:               http://www.soreco.ch <http://www.soreco.ch/>

        soreco swiss business software since 1988



_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to