GithubHelp home page GithubHelp logo

Comments (6)

cesar1000 avatar cesar1000 commented on August 18, 2024

from serial.

cesar1000 avatar cesar1000 commented on August 18, 2024

Hey @Tapchicoma, the format of your file is valid, and I can dump it without trouble (using our internal SerializationUtils. dumpSerializedData()). Looking at the binary data, there's a 26 in two positions, but the format of the file around it looks fine as well.

The input stream should never attempt to read a header in the wrong place, so there's certainly a bug. It would be helpful if you could walk through the deserialization and figure out the sequence of steps that takes to this issue. Otherwise, I can help debug if I can repro myself. What would be the best way to do that?

from serial.

Tapchicoma avatar Tapchicoma commented on August 18, 2024

Hi @cesar1000. You can see implementation details in this PR: ultrasonic/ultrasonic#173

Especially take a look on this two serializers: IndexesSerailizer.kt and ArtistsSerializer.kt. Error happens when app tries to deserailize Indexes.

from serial.

cesar1000 avatar cesar1000 commented on August 18, 2024

Thanks for the report, @Tapchicoma! This was my bad: the code I used diverged slightly from our internal version, so I had to set up a project to repro. I threw in some extra debugging code that should make it simpler to diagnose this kind of issue in the future.

@amandeepg, can you release a new version containing this fix?

from serial.

Tapchicoma avatar Tapchicoma commented on August 18, 2024

Thanks, new version of the library works ok!

from serial.

cesar1000 avatar cesar1000 commented on August 18, 2024

Awesome! Let us know if you have any questions or run into nay other issues :)

from serial.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.