Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2434

Deserialization problem with SQLSelect.dataRowQuery() and different Java versions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.1.M1
    • None
    • ROP
    • None
    • cayenne-server
      cayenne-client-jetty
      cayenne-protostuff

    Description

      To reproduce I used tutorial-rop-client-http2 and tutorial-rop-server-http2: 

      • Server - run with Java 8, Client - run with Java 9 
      • add to client data row query, e.g. :
        SQLSelect.dataRowQuery("SELECT COUNT(*) FROM Painting").select(context);
        

      Server exception:

      javax.servlet.ServletException: io.protostuff.ProtostuffException: Corrupt input.
      at org.apache.cayenne.rop.ROPServlet.doPost(ROPServlet.java:130)

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            Andrey Narut Andrey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: