-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception #46
Comments
Can you let me know which variable in DataEmitterReader is causing the null reference? |
that's the problem, I'm not sure. it seems that pendingRead was null. Thanks |
when it works, pendingRead contains a "com.koushikdutta.async.http.filter.ContentLengthFilter" Edit: oh... it seems that before calling getBodyDecoder there is check for emitter==null... I'm lost, but for some reason it happens :( |
I made a search for "void onDataAvailable" to see which one has a line number 239.
it seems method is null?? |
Oh, please update to the latest. Should be fixed with: |
Thanks! |
Hi again :)
I'm having this exception:
I'm uploading a file, it finish to upload and the file is uploaded ok. but the callback comes with an exception as a parameter.
any idea?
Thanks!
W/System.err( 2128): java.lang.NullPointerException
W/System.err( 2128): at ajo.onDataAvailable(SourceFile:239)
W/System.err( 2128): at com.koushikdutta.async.DataEmitterReader.a(SourceFile:23)
W/System.err( 2128): at com.koushikdutta.async.DataEmitterReader.onDataAvailable(SourceFile:38)
W/System.err( 2128): at com.koushikdutta.async.Util.emitAllData(SourceFile:20)
W/System.err( 2128): at com.koushikdutta.async.FilteredDataEmitter.onDataAvailable(SourceFile:50)
W/System.err( 2128): at com.koushikdutta.async.http.filter.ContentLengthFilter.onDataAvailable(SourceFile:31)
W/System.err( 2128): at com.koushikdutta.async.Util.emitAllData(SourceFile:20)
W/System.err( 2128): at aik.onDataAvailable(SourceFile:113)
W/System.err( 2128): at com.koushikdutta.async.BufferedDataEmitter.onDataAvailable(SourceFile:33)
W/System.err( 2128): at com.koushikdutta.async.BufferedDataEmitter.onDataAvailable(SourceFile:61)
W/System.err( 2128): at com.koushikdutta.async.Util.emitAllData(SourceFile:20)
W/System.err( 2128): at com.koushikdutta.async.AsyncNetworkSocket.b(SourceFile:170)
W/System.err( 2128): at com.koushikdutta.async.AsyncServer.c(SourceFile:805)
W/System.err( 2128): at com.koushikdutta.async.AsyncServer.b(SourceFile:664)
W/System.err( 2128): at com.koushikdutta.async.AsyncServer.a(SourceFile:34)
W/System.err( 2128): at air.run(SourceFile:612)
W/System.err( 2128): java.lang.NullPointerException
W/System.err( 2128): at com.koushikdutta.async.DataEmitterReader.a(SourceFile:23)
W/System.err( 2128): at com.koushikdutta.async.DataEmitterReader.onDataAvailable(SourceFile:38)
W/System.err( 2128): at com.koushikdutta.async.Util.emitAllData(SourceFile:20)
W/System.err( 2128): at com.koushikdutta.async.FilteredDataEmitter.onDataAvailable(SourceFile:50)
W/System.err( 2128): at com.koushikdutta.async.http.filter.ContentLengthFilter.onDataAvailable(SourceFile:31)
W/System.err( 2128): at com.koushikdutta.async.Util.emitAllData(SourceFile:20)
W/System.err( 2128): at aik.onDataAvailable(SourceFile:113)
W/System.err( 2128): at com.koushikdutta.async.BufferedDataEmitter.onDataAvailable(SourceFile:33)
W/System.err( 2128): at com.koushikdutta.async.BufferedDataEmitter.onDataAvailable(SourceFile:61)
W/System.err( 2128): at com.koushikdutta.async.Util.emitAllData(SourceFile:20)
W/System.err( 2128): at com.koushikdutta.async.AsyncNetworkSocket.b(SourceFile:170)
W/System.err( 2128): at com.koushikdutta.async.AsyncServer.c(SourceFile:805)
W/System.err( 2128): at com.koushikdutta.async.AsyncServer.b(SourceFile:664)
W/System.err( 2128): at com.koushikdutta.async.AsyncServer.a(SourceFile:34)
The text was updated successfully, but these errors were encountered: