Quantcast

[Aerogear-users] IllegalArgumentException: argument cannot be null

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Aerogear-users] IllegalArgumentException: argument cannot be null

eduyayo
Hi,
theese last days I´ve found I cannot send push notificactions to GCM they
always fail and I donñt have a clue about the null argument that is
failing...

Any idea on this? Stacktrace follows:

2015-04-30 12:00:37,504 SEVERE
[org.jboss.aerogear.unifiedpush.message.sender.GCMPushNotificationSender]
(EJB default - 1) Error sending payload to GCM server:
java.lang.IllegalArgumentException: argument cannot be null
        at com.google.android.gcm.server.Sender.nonNull(Sender.java:553)
[gcm-server-1.0.2.jar:]
        at com.google.android.gcm.server.Sender.getString(Sender.java:534)
[gcm-server-1.0.2.jar:]
        at com.google.android.gcm.server.Sender.sendNoRetry(Sender.java:365)
[gcm-server-1.0.2.jar:]
        at com.google.android.gcm.server.Sender.send(Sender.java:261)
[gcm-server-1.0.2.jar:]




--
View this message in context: http://aerogear-users.1116366.n5.nabble.com/IllegalArgumentException-argument-cannot-be-null-tp22.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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Aerogear-users] IllegalArgumentException: argument cannot be null

Erik Jan de Wit
Hi,

This error is because there is no connection to gcm[1] could you
verify that there is no proxy or firewall blocking you?

[1] https://github.com/theganyo/gcm-server/blob/master/src/main/java/com/google/android/gcm/server/Sender.java#L535

On Thu, Apr 30, 2015 at 6:15 PM, eduyayo <[hidden email]> wrote:

> Hi,
> theese last days I´ve found I cannot send push notificactions to GCM they
> always fail and I donñt have a clue about the null argument that is
> failing...
>
> Any idea on this? Stacktrace follows:
>
> 2015-04-30 12:00:37,504 SEVERE
> [org.jboss.aerogear.unifiedpush.message.sender.GCMPushNotificationSender]
> (EJB default - 1) Error sending payload to GCM server:
> java.lang.IllegalArgumentException: argument cannot be null
>         at com.google.android.gcm.server.Sender.nonNull(Sender.java:553)
> [gcm-server-1.0.2.jar:]
>         at com.google.android.gcm.server.Sender.getString(Sender.java:534)
> [gcm-server-1.0.2.jar:]
>         at com.google.android.gcm.server.Sender.sendNoRetry(Sender.java:365)
> [gcm-server-1.0.2.jar:]
>         at com.google.android.gcm.server.Sender.send(Sender.java:261)
> [gcm-server-1.0.2.jar:]
>
>
>
>
> --
> View this message in context: http://aerogear-users.1116366.n5.nabble.com/IllegalArgumentException-argument-cannot-be-null-tp22.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



--
Cheers,
       Erik Jan

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