Giter Club home page Giter Club logo

Comments (6)

koush avatar koush commented on August 28, 2024

Can you let me know which variable in DataEmitterReader is causing the null reference?

from androidasync.

UXDart avatar UXDart commented on August 28, 2024

that's the problem, I'm not sure. it seems that pendingRead was null.
the crash happened only two times, I can't reproduce it all the times.

Thanks

from androidasync.

UXDart avatar UXDart commented on August 28, 2024

when it works, pendingRead contains a "com.koushikdutta.async.http.filter.ContentLengthFilter"
and looking into file HttpUtil.java method getBodyDecoder()
there are a lot of if() {}, but it is possible that none of them are called. so emitter is null. what do you think? TIA

Edit: oh... it seems that before calling getBodyDecoder there is check for emitter==null... I'm lost, but for some reason it happens :(

from androidasync.

UXDart avatar UXDart commented on August 28, 2024

I made a search for "void onDataAvailable" to see which one has a line number 239.
and the only one is PushParser. so it needs to be that method line 239:

                method.invoke(callback, args);

it seems method is null??

from androidasync.

koush avatar koush commented on August 28, 2024

Oh, please update to the latest. Should be fixed with:

koush/ion#34

from androidasync.

UXDart avatar UXDart commented on August 28, 2024

Thanks!

from androidasync.

Related Issues (20)

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.