Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Build a Weather App (2015) Working with JSON Introducing JSONObject

Chenaj Teja Potu
Chenaj Teja Potu
2,972 Points

Could not see the exception in log cat

I am not seeing Json Exception in Log Cat.

I am seeing this

02-25 17:22:35.943 1908-1908/com.android.email E/ActivityThread: Service com.android.email.service.EmailBroadcastProcessorService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@31b0ca73 that was originally bound here android.app.ServiceConnectionLeaked: Service com.android.email.service.EmailBroadcastProcessorService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@31b0ca73 that was originally bound here at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:1077)at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:971)at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1774) at android.app.ContextImpl.bindService(ContextImpl.java:1757) at android.content.ContextWrapper.bindService(ContextWrapper.java:539) at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:181) at com.android.emailcommon.service.ServiceProxy.test(ServiceProxy.java:224) at com.android.email.service.EmailServiceUtils.isServiceAvailable(EmailServiceUtils.java:160) at com.android.email.provider.AccountReconciler.reconcileAccountsInternal(AccountReconciler.java:171) at com.android.email.provider.AccountReconciler.reconcileAccounts(AccountReconciler.java:115) at com.android.email.service.EmailBroadcastProcessorService.reconcileAndStartServices(EmailBroadcastProcessorService.java:305) at com.android.email.service.EmailBroadcastProcessorService.onBootCompleted(EmailBroadcastProcessorService.java:295) at com.android.email.service.EmailBroadcastProcessorService.onHandleIntent(EmailBroadcastProcessorService.java:130) at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.os.HandlerThread.run(HandlerThread.java:61)

Harry James
Harry James
14,780 Points

Hey Chenaj!

This isn't your app causing the error here - it's the built-in Android Email app!

Anyhow, on Logcat, make sure you Show only selected application to avoid getting errors from other apps. You can also set the Log level to Error, so that only the error displays:


Let me know if this helps and if you need help solving the problem, please post the logcat for your error here and your code file(s) :)