Android push application crashed

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Android push application crashed

gprasad


Android app crashed when clicking on received push message, stack trace below

E/AndroidRuntime(11239):        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
E/AndroidRuntime(11239): Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'int java.util.Map.size()' on a null object reference
E/AndroidRuntime(11239):        at org.jboss.aerogear.cordova.push.Message.toBundle(Message.java:105)
E/AndroidRuntime(11239):        at org.jboss.aerogear.cordova.push.PushHandlerActivity.processPushBundle(PushHandlerActivity.java:63)
E/AndroidRuntime(11239):        at org.jboss.aerogear.cordova.push.PushHandlerActivity.onCreate(PushHandlerActivity.java:45)
E/AndroidRuntime(11239):        at android.app.Activity.performCreate(Activity.java:6289)
E/AndroidRuntime(11239):        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
E/AndroidRuntime(11239):        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2655)
Reply | Threaded
Open this post in threaded view
|

Re: [Aerogear-users] Android push application crashed

Matthias Wessendorf
hrm - looks like "userData" is null:

so, this happend when the app was running in the background, and the notifcation in the status bar was hit ? 

On Mon, Jul 18, 2016 at 9:37 AM, gprasad <[hidden email]> wrote:


Android app crashed when clicking on received push message, stack trace
below

E/AndroidRuntime(11239):        at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
E/AndroidRuntime(11239): Caused by: java.lang.NullPointerException: Attempt
to invoke interface method 'int java.util.Map.size()' on a null object
reference
E/AndroidRuntime(11239):        at
org.jboss.aerogear.cordova.push.Message.toBundle(Message.java:105)
E/AndroidRuntime(11239):        at
org.jboss.aerogear.cordova.push.PushHandlerActivity.processPushBundle(PushHandlerActivity.java:63)
E/AndroidRuntime(11239):        at
org.jboss.aerogear.cordova.push.PushHandlerActivity.onCreate(PushHandlerActivity.java:45)
E/AndroidRuntime(11239):        at
android.app.Activity.performCreate(Activity.java:6289)
E/AndroidRuntime(11239):        at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
E/AndroidRuntime(11239):        at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2655)




--
View this message in context: http://aerogear-users.1116366.n5.nabble.com/Android-push-application-crashed-tp741.html
Sent from the aerogear-users mailing list archive at Nabble.com.
_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users



--

_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users
Reply | Threaded
Open this post in threaded view
|

Re: [Aerogear-users] Android push application crashed

Matthias Wessendorf
I've create a JIRA ticket for this:

We will take a look, thanks for reporting!

On Mon, Jul 18, 2016 at 1:38 PM, Matthias Wessendorf <[hidden email]> wrote:
hrm - looks like "userData" is null:

so, this happend when the app was running in the background, and the notifcation in the status bar was hit ? 

On Mon, Jul 18, 2016 at 9:37 AM, gprasad <[hidden email]> wrote:


Android app crashed when clicking on received push message, stack trace
below

E/AndroidRuntime(11239):        at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
E/AndroidRuntime(11239): Caused by: java.lang.NullPointerException: Attempt
to invoke interface method 'int java.util.Map.size()' on a null object
reference
E/AndroidRuntime(11239):        at
org.jboss.aerogear.cordova.push.Message.toBundle(Message.java:105)
E/AndroidRuntime(11239):        at
org.jboss.aerogear.cordova.push.PushHandlerActivity.processPushBundle(PushHandlerActivity.java:63)
E/AndroidRuntime(11239):        at
org.jboss.aerogear.cordova.push.PushHandlerActivity.onCreate(PushHandlerActivity.java:45)
E/AndroidRuntime(11239):        at
android.app.Activity.performCreate(Activity.java:6289)
E/AndroidRuntime(11239):        at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
E/AndroidRuntime(11239):        at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2655)




--
View this message in context: http://aerogear-users.1116366.n5.nabble.com/Android-push-application-crashed-tp741.html
Sent from the aerogear-users mailing list archive at Nabble.com.
_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users



--



--

_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users
Reply | Threaded
Open this post in threaded view
|

Re: [Aerogear-users] Android push application crashed

Matthias Wessendorf
Hello Ganesh,

I've fixed the issue on our 3.0.x branch:

and ported it back to master branch as well:

Thanks for reporting
-Matthias

On Mon, Jul 18, 2016 at 1:42 PM, Matthias Wessendorf <[hidden email]> wrote:
I've create a JIRA ticket for this:

We will take a look, thanks for reporting!

On Mon, Jul 18, 2016 at 1:38 PM, Matthias Wessendorf <[hidden email]> wrote:
hrm - looks like "userData" is null:

so, this happend when the app was running in the background, and the notifcation in the status bar was hit ? 

On Mon, Jul 18, 2016 at 9:37 AM, gprasad <[hidden email]> wrote:


Android app crashed when clicking on received push message, stack trace
below

E/AndroidRuntime(11239):        at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
E/AndroidRuntime(11239): Caused by: java.lang.NullPointerException: Attempt
to invoke interface method 'int java.util.Map.size()' on a null object
reference
E/AndroidRuntime(11239):        at
org.jboss.aerogear.cordova.push.Message.toBundle(Message.java:105)
E/AndroidRuntime(11239):        at
org.jboss.aerogear.cordova.push.PushHandlerActivity.processPushBundle(PushHandlerActivity.java:63)
E/AndroidRuntime(11239):        at
org.jboss.aerogear.cordova.push.PushHandlerActivity.onCreate(PushHandlerActivity.java:45)
E/AndroidRuntime(11239):        at
android.app.Activity.performCreate(Activity.java:6289)
E/AndroidRuntime(11239):        at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
E/AndroidRuntime(11239):        at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2655)




--
View this message in context: http://aerogear-users.1116366.n5.nabble.com/Android-push-application-crashed-tp741.html
Sent from the aerogear-users mailing list archive at Nabble.com.
_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users



--



--



--

_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users
Reply | Threaded
Open this post in threaded view
|

Re: [Aerogear-users] Android push application crashed

gprasad

Thanks Mathias , will test and provide the update

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Matthias Wessendorf
Sent: Monday, July 18, 2016 6:04 PM
To: [hidden email]
Subject: Re: [Aerogear-users] Android push application crashed

 

Hello Ganesh,

 

I've fixed the issue on our 3.0.x branch:

 

and ported it back to master branch as well:

 

Thanks for reporting

-Matthias

 

On Mon, Jul 18, 2016 at 1:42 PM, Matthias Wessendorf <[hidden email]> wrote:

I've create a JIRA ticket for this:

 

We will take a look, thanks for reporting!

 

On Mon, Jul 18, 2016 at 1:38 PM, Matthias Wessendorf <[hidden email]> wrote:

hrm - looks like "userData" is null:

 

so, this happend when the app was running in the background, and the notifcation in the status bar was hit ? 

 

On Mon, Jul 18, 2016 at 9:37 AM, gprasad <[hidden email]> wrote:



Android app crashed when clicking on received push message, stack trace
below

E/AndroidRuntime(11239):        at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
E/AndroidRuntime(11239): Caused by: java.lang.NullPointerException: Attempt
to invoke interface method 'int java.util.Map.size()' on a null object
reference
E/AndroidRuntime(11239):        at
org.jboss.aerogear.cordova.push.Message.toBundle(Message.java:105)
E/AndroidRuntime(11239):        at
org.jboss.aerogear.cordova.push.PushHandlerActivity.processPushBundle(PushHandlerActivity.java:63)
E/AndroidRuntime(11239):        at
org.jboss.aerogear.cordova.push.PushHandlerActivity.onCreate(PushHandlerActivity.java:45)
E/AndroidRuntime(11239):        at
android.app.Activity.performCreate(Activity.java:6289)
E/AndroidRuntime(11239):        at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
E/AndroidRuntime(11239):        at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2655)




--
View this message in context: http://aerogear-users.1116366.n5.nabble.com/Android-push-application-crashed-tp741.html
Sent from the aerogear-users mailing list archive at Nabble.com.
_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users



 

--



 

--



 

--


_______________________________________________
Aerogear-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-users