Comments (5)
We are seeing this both when we try to subscribe and unsubscribe.
from java.
Another related crash
java.lang.NullPointerException
at com.android.okhttp.Connection.close(Connection.java:1056)
at com.android.okhttp.internal.Util.closeQuietly(Util.java:110)
at com.android.okhttp.internal.http.HttpEngine.release(HttpEngine.java:588)
at com.android.okhttp.internal.http.HttpURLConnectionImpl.disconnect(HttpURLConnectionImpl.java:104)
at com.pubnub.api.HttpClientCore.shutdown(HttpClientCore.java:213)
at com.pubnub.api.SubscribeWorker.shutdown(SubscribeWorker.java:111)
at com.pubnub.api.Worker.die(RequestManager.java:56)
at com.pubnub.api.RequestManager.resetWorkers(RequestManager.java:184)
at com.pubnub.api.RequestManager.resetHttpManager(RequestManager.java:203)
at com.pubnub.api.PubnubCore._request(PubnubCore.java:1550)
at com.pubnub.api.PubnubCore._subscribe_base(PubnubCore.java:1539)
at com.pubnub.api.PubnubCore._subscribe_base(PubnubCore.java:1277)
at com.pubnub.api.PubnubCore.resubscribe(PubnubCore.java:1580)
at com.pubnub.api.PubnubCore.unsubscribe(PubnubCore.java:1006)
at com.pubnub.api.Pubnub.unsubscribe(Pubnub.java:13)
at com.pubnub.api.PubnubCore.unsubscribe(PubnubCore.java:1035)
at com.pubnub.api.Pubnub.unsubscribe(Pubnub.java:13)
at com.tophatter.services.LiveAuctionService$3.run(LiveAuctionService.java:212)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5476)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084)
at dalvik.system.NativeStart.main(NativeStart.java)
from java.
@hmcfletch we have no other reports of this issue. Please contact us at [email protected], and we'll be happy to assist you further on it.
geremy
from java.
I had the same thing but it seemed normal to not do network related
operations on the UI thread
Have a great day.
Yishai Levenglick
Android-dev team
Glide Talk Ltd.
from java.
I'd agree, @glideAndroid, which is why it is odd. This is an intermittent error, that started popping up after 6 months of no problem.
from java.
Related Issues (20)
- unsubcription fails HOT 13
- 3.5.6 now available
- GAE integration broken HOT 3
- StrictMode VM Policy violation HOT 1
- Multiple instances HOT 7
- Thread safety HOT 2
- 3.6.0 Released for Java
- allow disabling logs by BuildConfig HOT 1
- https://github.com/pubnub/java/blob/master/android/examples/SubscribeAtBoot/src/com/pubnub/examples/subscribeAtBoot/PubnubService.java#L22 HOT 1
- Never unregister a Receiver HOT 2
- Message
- I ended up using 3.3 in the GAE_3.3 branch. The issue above refers to the 3.4 code (also in the same branch). HOT 1
- ee
- Cannot access message_type in PNFetchMessageItem HOT 2
- H
- Flagged Crypto.java Security vulnerability HOT 1
- Remove dependecy to jdk.unsupported HOT 6
- Potential CWE-327
- Cryptographic Standard Algorithms Security vulnerability spotted in FileEncryptionUtilKT.kt
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java.