[aerogear-dev] BroadcastMessage error
Corinne Krych
corinnekrych at gmail.com
Wed Jul 24 19:17:59 EDT 2013
Yep
initially created https://issues.jboss.org/browse/AGIOS-49
bu I guess it's in the wrong category
On Jul 24, 2013, at 6:10 PM, Bruno Oliveira <bruno at abstractj.org> wrote:
> Do we have jiras for that?
>
> -
> abstractj
>
> On Jul 24, 2013, 7:37 PM, Corinne Krych wrote:
>
>> Hello all,
>>
>> Doing some testing on AeroDoc iOS client demo, I noticed that AeroDoc fails to broadcast when lead has been accepted. Stack trace is:
>> org.jboss.aerogear.connectivity.rest.sender.PushNotificationSenderEndpoint.broadcast(java.util.Map,javax.servlet.http.HttpServletRequest): javax.ejb.EJBException: java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to java.lang.String
>>
>> The root of the error is the String cast here:
>> https://github.com/aerogear/aerogear-unified-push-server/blob/master/src/main/java/org/jboss/aerogear/connectivity/service/sender/message/BroadcastMessage.java#L52
>>
>> whereas in AeroDoc backend we feed a Map:
>> https://github.com/aerogear/aerogear-push-quickstart-backend/blob/master/src/main/java/org/jboss/aerogear/aerodoc/service/LeadSender.java#L63
>>
>> Which one is wrong?
>> Not sure the cast into string is wright.
>> I've open an iOS JIRA at first thinking this was a client issue
>> https://issues.jboss.org/browse/AGIOS-49#comment-12792805
>>
>> ++
>> Corinne
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20130724/3cced896/attachment-0001.html
More information about the aerogear-dev
mailing list