[aerogear-issues] Update

Miguel Lemos miguel21op at gmail.com
Sun Feb 16 11:25:34 EST 2014


Dear all,

I made an update to your last  library  version and I get the same errors.
My app uses Cordova 3.3 and the device where I test the plugin runs Android
4.1.

I attach a small logcat file where is summarized what makes the app not
register (?) to the service.

The errorHandler function, as I said before, throws this error:

java.io.IOException:BufferedinputStream is closed

The app itself keeps running, though...
I appreciate any help because I don't know what else I can do.

A  thing I noticed:

Inside the Aerogear Console, where is the Android Variant with all data,
the table that describes the Token, Device, etc, is empty. I presume it's
only filled the first time the device manages to register, or else...?

I think your solution is very promising and makes the right approach to a
real problem, but i must manage to make it work :-(

Thanks again

Miguel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-issues/attachments/20140216/e1b5b46a/attachment.html 
-------------- next part --------------
02-16 15:51:30.899: E/HttpRestProvider(21213): Error on POST of http://aerogear-metalpush.rhcloud.com/rest/registry/device
02-16 15:51:30.899: E/HttpRestProvider(21213): java.io.IOException: BufferedInputStream is closed
02-16 15:51:30.899: E/HttpRestProvider(21213): 	at java.io.BufferedInputStream.streamClosed(BufferedInputStream.java:118)
02-16 15:51:30.899: E/HttpRestProvider(21213): 	at java.io.BufferedInputStream.read(BufferedInputStream.java:279)
02-16 15:51:30.899: E/HttpRestProvider(21213): 	at java.io.InputStream.read(InputStream.java:163)
02-16 15:51:30.899: E/HttpRestProvider(21213): 	at org.jboss.aerogear.android.impl.http.HttpRestProvider.readBytes(HttpRestProvider.java:310)
02-16 15:51:30.899: E/HttpRestProvider(21213): 	at org.jboss.aerogear.android.impl.http.HttpRestProvider.getHeaderAndBody(HttpRestProvider.java:274)
02-16 15:51:30.899: E/HttpRestProvider(21213): 	at org.jboss.aerogear.android.impl.http.HttpRestProvider.post(HttpRestProvider.java:154)
02-16 15:51:30.899: E/HttpRestProvider(21213): 	at org.jboss.aerogear.android.impl.http.HttpRestProvider.post(HttpRestProvider.java:140)
02-16 15:51:30.899: E/HttpRestProvider(21213): 	at org.jboss.aerogear.android.impl.http.HttpRestProviderForPush.post(HttpRestProviderForPush.java:55)
02-16 15:51:30.899: E/HttpRestProvider(21213): 	at org.jboss.aerogear.android.impl.unifiedpush.AeroGearGCMPushRegistrar$3.doInBackground(AeroGearGCMPushRegistrar.java:141)
02-16 15:51:30.899: E/HttpRestProvider(21213): 	at org.jboss.aerogear.android.impl.unifiedpush.AeroGearGCMPushRegistrar$3.doInBackground(AeroGearGCMPushRegistrar.java:90)
02-16 15:51:30.899: E/HttpRestProvider(21213): 	at android.os.AsyncTask$2.call(AsyncTask.java:287)
02-16 15:51:30.899: E/HttpRestProvider(21213): 	at java.util.concurrent.FutureTask.run(FutureTask.java:234)
02-16 15:51:30.899: E/HttpRestProvider(21213): 	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
02-16 15:51:30.899: E/HttpRestProvider(21213): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
02-16 15:51:30.899: E/HttpRestProvider(21213): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
02-16 15:51:30.899: E/HttpRestProvider(21213): 	at java.lang.Thread.run(Thread.java:838)


More information about the aerogear-issues mailing list