Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception during processing Assets on Moto 360 #14

Open
davidvavra opened this issue Oct 13, 2014 · 0 comments
Open

Exception during processing Assets on Moto 360 #14

davidvavra opened this issue Oct 13, 2014 · 0 comments

Comments

@davidvavra
Copy link

Hi,
my WearSquare app crashes on Moto 360 (not on Samsung Gear Live) with following stacktrace:

10-13 11:51:26.248 7802-7863/? E/AndroidRuntime﹕ FATAL EXCEPTION: AsyncTask #2
Process: cz.destil.wearsquare, PID: 7802
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:300)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:841)
Caused by: java.lang.NullPointerException
at android.os.ParcelFileDescriptor$AutoCloseInputStream.(ParcelFileDescriptor.java:796)
at com.google.android.gms.wearable.internal.f$c.getInputStream(Unknown Source)
at com.mariux.teleport.lib.TeleportService$ImageFromAssetTask.doInBackground(TeleportService.java:372)
at com.mariux.teleport.lib.TeleportService$ImageFromAssetTask.doInBackground(TeleportService.java:368)
at android.os.AsyncTask$2.call(AsyncTask.java:288)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
            at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
            at java.lang.Thread.run(Thread.java:841)

I'm calling it like this:

new ProcessImageTask(imageUrl).execute(asset, getGoogleApiClient());

Full source:
https://github.com/destil/WearSquare/blob/master/wear/src/main/java/cz/destil/wearsquare/service/ListenerService.java

davidvavra added a commit to davidvavra/WearSquare that referenced this issue Oct 13, 2014
sealskej added a commit to sealskej/Teleport that referenced this issue Oct 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant