Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Crash Registered from MqttConnection

Hey James,


I am using org.eclipse.paho.android.service-1.0.3-20160219.104049-255 version of android

Cheers,
Parth Pandya
LinkedIn. http://lnkd.in/bDZQfw6

On Mon, Feb 22, 2016 at 2:34 PM, James Sutton1 <james.sutton@xxxxxxxxxx> wrote:
Hi,
 
Strange, looks like an NPE is being thrown in the android automatic reconnect cycle just as it tries to connect to the server again. Could you tell us what version of the service you are using? If you're not already, it might be worth trying the SNAPSHOT version as that has a lot of stability improvements.
 
Kind regards,
 
James Sutton
Software Engineer - IoT Foundation - MQTT Open Source Projects
Technical Trojan - Wimbledon Project

Phone: 01962 815438 | Extension: x372454
E-mail: james.sutton@xxxxxxxxxx
Personal Website: www.jsutton.co.uk
Find me on:      
IBM

Hursley Park
HursleySO212JN
United Kingdom
 
IBM United Kingdom Limited Registered in England and Wales with number 741598 Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU
 
 
----- Original message -----
From: Parth Pandya <parth0309@xxxxxxxxx>
Sent by: paho-dev-bounces@xxxxxxxxxxx
To: General development discussions for paho project <paho-dev@xxxxxxxxxxx>
Cc:
Subject: [paho-dev] Crash Registered from MqttConnection
Date: Mon, Feb 22, 2016 7:17 AM
 
Hey Guys,
 
My App has received around 35 Crashes on the similar type and the error has around 26 Crashes in 24 Hours and it has become a critical issue 
 
Below I have shared the crash logs
 
Fatal Exception: java.lang.RuntimeException: Error receiving broadcast Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x4000010 (has extras) } in org.eclipse.paho.android.service.o@420c69d8
       at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:862)
       at android.os.Handler.handleCallback(Handler.java:733)
       at android.os.Handler.dispatchMessage(Handler.java:95)
       at android.os.Looper.loop(Looper.java:157)
       at android.app.ActivityThread.main(ActivityThread.java:5872)
       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:858)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:674)
       at dalvik.system.NativeStart.main(NativeStart.java)
Caused by java.lang.NullPointerException
       at org.eclipse.paho.android.service.MqttConnection.reconnect(MqttConnection.java:1008)
       at org.eclipse.paho.android.service.MqttService.reconnect(MqttService.java:340)
       at org.eclipse.paho.android.service.MqttService$NetworkConnectionIntentReceiver.onReceive(MqttService.java:804)
       at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:848)
       at android.os.Handler.handleCallback(Handler.java:733)
       at android.os.Handler.dispatchMessage(Handler.java:95)
       at android.os.Looper.loop(Looper.java:157)
       at android.app.ActivityThread.main(ActivityThread.java:5872)
       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:858)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:674)
       at dalvik.system.NativeStart.main(NativeStart.java)
 
Let me know if need more details
 
Cheers,
Parth Pandya
LinkedIn. http://lnkd.in/bDZQfw6
_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev
 
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU


_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev


Back to the top