Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A AndroidAsync
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 333
    • Issues 333
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 19
    • Merge requests 19
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Koushik Dutta
  • AndroidAsync
  • Merge requests
  • !209

Crash fix for a case where the EndCallback is not set and used

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Steve Lhomme requested to merge github/fork/robUx4/endcallback_npe_fix into master Jul 22, 2014
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 1

Here is the stack trace

java.lang.RuntimeException: java.lang.NullPointerException
       at com.koushikdutta.async.AsyncServer.runLoop(SourceFile:789)
       at com.koushikdutta.async.AsyncServer.run(SourceFile:603)
       at com.koushikdutta.async.AsyncServer.access$700(SourceFile:37)
       at com.koushikdutta.async.AsyncServer$13.run(SourceFile:552)
Caused by: java.lang.NullPointerException
       at com.koushikdutta.async.BufferedDataEmitter.onDataAvailable(SourceFile:36)
       at com.koushikdutta.async.AsyncSSLSocketWrapper.handleHandshakeStatus(SourceFile:251)
       at com.koushikdutta.async.AsyncSSLSocketWrapper.write(SourceFile:366)
       at com.koushikdutta.async.AsyncSSLSocketWrapper.handleHandshakeStatus(SourceFile:247)
       at com.koushikdutta.async.AsyncSSLSocketWrapper.handshake(SourceFile:112)
       at com.koushikdutta.async.http.AsyncSSLSocketMiddleware.tryHandshake(SourceFile:82)
       at com.koushikdutta.async.http.AsyncSSLSocketMiddleware$2.onConnectCompleted(SourceFile:95)
       at com.koushikdutta.async.AsyncServer.runLoop(SourceFile:786)
       at com.koushikdutta.async.AsyncServer.run(SourceFile:603)
       at com.koushikdutta.async.AsyncServer.access$700(SourceFile:37)
       at com.koushikdutta.async.AsyncServer$13.run(SourceFile:552)```
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/robUx4/endcallback_npe_fix