Skip to content
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

Crash inside a library #309

Closed
ousenko opened this issue Feb 20, 2017 · 9 comments
Closed

Crash inside a library #309

ousenko opened this issue Feb 20, 2017 · 9 comments
Labels
bug Something isn't working. It's clear that this does need to be fixed.

Comments

@ousenko
Copy link

ousenko commented Feb 20, 2017

With
compile "io.ably:ably-java:0.8.4"

I received this crash twice:

Fatal Exception: java.lang.NullPointerException
Attempt to invoke interface method 'void io.ably.lib.transport.ITransport.send(io.ably.lib.types.ProtocolMessage)' on a null object reference
 Raw Text
io.ably.lib.transport.ConnectionManager.sendImpl (ConnectionManager.java:753)
io.ably.lib.transport.ConnectionManager.sendQueuedMessages (ConnectionManager.java:760)
io.ably.lib.transport.ConnectionManager.setState (ConnectionManager.java:201)
io.ably.lib.transport.ConnectionManager.handleStateChange (ConnectionManager.java:503)
io.ably.lib.transport.ConnectionManager.run (ConnectionManager.java:588)
java.lang.Thread.run (Thread.java:818)
@mattheworiordan
Copy link
Member

Sorry to hear that @ousenko, I'll get one of the Java guys to take a look.

Are you able to provide any additional information in terms of your platform, what you think causes it, any other info that may help us debug the issue?

@ousenko
Copy link
Author

ousenko commented Feb 20, 2017

Unfortunately, there are no other clues. HTC M10, Mi 5, both Android 6, both user's devices. I don't believe there were any other specifics here @mattheworiordan

@mattheworiordan
Copy link
Member

Ok, we'll investigate.

@mattheworiordan
Copy link
Member

Hi @ousenko. We've not yet had time to focus on this I am afraid as we've all been flat out on a big upgrade due out tomorrow for the platform. We'll look at this soon after, sorry for the delay.

@mattheworiordan mattheworiordan added the bug Something isn't working. It's clear that this does need to be fixed. label Mar 9, 2017
@SimonWoolf
Copy link
Member

SimonWoolf commented Mar 9, 2017

Hi @ousenko . I notice you're using 0.8.4; this is quite an old version, there have been a lot of fixes (including to the message queue) since then. Would you mind upgrading to the latest version (1.0), and letting us know if you still have this issue?

@ousenko
Copy link
Author

ousenko commented Mar 10, 2017

Hi @SimonWoolf sure I will surely try

@paddybyers
Copy link
Member

If you are still able to reproduce this with 1.0 then we'll have a look.

@ousenko
Copy link
Author

ousenko commented Mar 16, 2017

I am not able to reproduce it even on 0.8.4

This is what our users randomly reproduce in production

It might take a few weeks before we know thing is stable

@paddybyers
Copy link
Member

OK, thanks, we do appreciate the feedback. I will continue to have a look and see if I can see a reason why that would happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. It's clear that this does need to be fixed.
Development

No branches or pull requests

4 participants