[Aerogear-users] IllegalArgumentException: argument cannot be null

Erik Jan de Wit edewit at redhat.com
Wed May 6 01:44:34 EDT 2015


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 <eduyayo at gmail.com> 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
> Aerogear-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-users



-- 
Cheers,
       Erik Jan



More information about the Aerogear-users mailing list