Autore Topic: App Android in crash solo con Versione di Androi 4  (Letto 824 volte)

Offline elia_90

  • Nuovo arrivato
  • *
  • Post: 27
  • Fletto i muscoli e sono nel vuoto -.-
  • Respect: 0
    • Mostra profilo
  • Sistema operativo:
    Windows 8, Mac OS X 10.8
App Android in crash solo con Versione di Androi 4
« il: 01 Aprile 2013, 21:43:01 CEST »
0
Ho un problema con un app che ho creato ultimamente.
Con tutte le versioni di android funziona perfettamente (per quanto embrionale possa essere il progetto al momento) ma con le versioni di Android dalla 4 in su va in crash. Ho letto vari sviluppatori che hanno avuto lo stesso problema ma le soluzioni sono poco chiare. qualcuno potrebbe spiegarmi il motivo? perchè leggevo della soluzione basata su asynctask, ma non avendola mai usata vorrei delle delucidazioni se possibile.

grazie in anticipo per le risposte :)

Offline Nicola_D

  • Utente storico
  • *****
  • Post: 2479
  • SBAGLIATO!
  • Respect: +323
    • Github
    • Google+
    • nicoladorigatti
    • Mostra profilo
  • Dispositivo Android:
    Nexus 6p, Nexus 4, Nexus S, Nexus 7(2012)
  • Sistema operativo:
    Windows 7
Re:App Android in crash solo con Versione di Androi 4
« Risposta #1 il: 01 Aprile 2013, 21:49:04 CEST »
0
senza logcat è dura dirti perchè crasha (non sapendo neanche come è fatta l'app), ma da quello che dici, può essere che hai fatto il solito errore che fanno i programmatori android che seguono poco le best practices.
Tutte le operazioni che usano tempo e/o risorse pensatemente, vanno fatte su thread separati e/o usando async task oppure services.
Molto probabilmente tu fai il download/upload di qualcosa sul thread della UI, e questa è una bad practice.
Fino ad android 4 l'app si bloccava e basta, ora viene lanciata un'eccezione.
Ci sono tanti tutorial sul forum su come usare un async task, un service o come lanciare un thread a parte, hai solo da cercare!
IMPORTANTE:NON RISPONDO A PROBLEMI VIA MESSAGGIO PRIVATO
LOGCAT: Non sai cos'è? -> Android Debug Bridge | Android Developers
               Dov'è in Eclipse? -> Window -> Open Prospective -> DDMS e guarda in basso!
[Obbligatorio] Logcat, questo sconosciuto! (Gruppo AndDev.it LOGTFO) - Android Developers Italia

Offline elia_90

  • Nuovo arrivato
  • *
  • Post: 27
  • Fletto i muscoli e sono nel vuoto -.-
  • Respect: 0
    • Mostra profilo
  • Sistema operativo:
    Windows 8, Mac OS X 10.8
Re:App Android in crash solo con Versione di Androi 4
« Risposta #2 il: 02 Aprile 2013, 08:33:05 CEST »
0
entro stasera vi farò il post del logcat...comunque si faccio il parsing di pagine web e il download dei contenuti su file di testo...e non lo faccio in un thread separato...mi consigliate quindi di usare asynctask? e un'ulteriore domanda: quali sono precisamente le operazioni che occupano memoria pesantemente, e che quindi richiedono un task separato?

Offline MisterAnt

  • Utente normale
  • ***
  • Post: 272
  • Respect: +4
    • IlSikano
    • Mostra profilo
  • Dispositivo Android:
    Galaxy S4 Active,Galaxy SIII I9300, Galaxy Tab GT-P5100
  • Play Store ID:
    MisterAnt
  • Sistema operativo:
    Ubuntu 12.04/Winzoz 7/Winzoz xp
Re:App Android in crash solo con Versione di Androi 4
« Risposta #3 il: 02 Aprile 2013, 08:36:54 CEST »
0
Ti conviene utilizzare un asynctask per scaricare qualsiasi cosa dal web.. senza non riusciresti nemmeno a farlo scaricare dal main thread
Se le zampe del coniglio sono così fortunate, che fine ha fatto il coniglio?

Offline elia_90

  • Nuovo arrivato
  • *
  • Post: 27
  • Fletto i muscoli e sono nel vuoto -.-
  • Respect: 0
    • Mostra profilo
  • Sistema operativo:
    Windows 8, Mac OS X 10.8
Re:App Android in crash solo con Versione di Androi 4
« Risposta #4 il: 02 Aprile 2013, 08:49:05 CEST »
0
e come mai con le versioni precedenti alla 4 funziona tutto? la logica non è la stessa?

Offline MisterAnt

  • Utente normale
  • ***
  • Post: 272
  • Respect: +4
    • IlSikano
    • Mostra profilo
  • Dispositivo Android:
    Galaxy S4 Active,Galaxy SIII I9300, Galaxy Tab GT-P5100
  • Play Store ID:
    MisterAnt
  • Sistema operativo:
    Ubuntu 12.04/Winzoz 7/Winzoz xp
Re:App Android in crash solo con Versione di Androi 4
« Risposta #5 il: 02 Aprile 2013, 08:58:13 CEST »
0
Beh ma sei sicuro che fai tutto nel main thread oppure utilizzi un thread a parte??? cmq ti posto il mio codice
Codice (Java): [Seleziona]
/////////////////////////////////si occupa della gestione della connessione e streaming
        private String getDataSource(String path) throws IOException {
                if (!URLUtil.isNetworkUrl(path)) {
                        return path;
                } else {
                        URL url = new URL(path);
                        URLConnection cn = url.openConnection();
                        cn.connect();
                        InputStream stream = cn.getInputStream();
                        if (stream == null)
                                throw new RuntimeException("stream is null");
                        File temp = File.createTempFile("mediaplayertmp", "dat");
                        temp.deleteOnExit();
                        String tempPath = temp.getAbsolutePath();
                        FileOutputStream out = new FileOutputStream(temp);
                        byte buf[] = new byte[128];
                        do {
                                int numread = stream.read(buf);
                                if (numread <= 0)
                                        break;
                                out.write(buf, 0, numread);
                        } while (true);
                        try {
                                stream.close();
                                out.close();
                        } catch (IOException ex) {
                                //MESSAGE_EXCEPTION=0;
                        }
                        return tempPath;
                }
        }
 //////////////////////////////////////////////////////////GESTIONE FILE STREAMING
  private class ConnectedThread extends Thread {
         
          public ConnectedThread() {}

      public  void run() {
          try {
                pathVideo=getDataSource(pathVideo);
                //MESSAGE_EXCEPTION=1;
          }catch (IOException e) {
                  //MESSAGE_EXCEPTION=0;
          }
      }
 }
Lo richiami così:
Codice (Java): [Seleziona]
a=null;
a=new ConnectedThread();
//MESSAGE_EXCEPTION=1;
try{
        a.start();
     }catch(Exception v){}
Questo lo utilizzo per scaricare pagine web ed eventuali video..spero di esserti stato d'aiuto
Se le zampe del coniglio sono così fortunate, che fine ha fatto il coniglio?

Offline elia_90

  • Nuovo arrivato
  • *
  • Post: 27
  • Fletto i muscoli e sono nel vuoto -.-
  • Respect: 0
    • Mostra profilo
  • Sistema operativo:
    Windows 8, Mac OS X 10.8
Re:App Android in crash solo con Versione di Androi 4
« Risposta #6 il: 02 Aprile 2013, 09:39:04 CEST »
0
quindi se ho capito bene, all'interno dell'activity in cui effettuò il parsing, il download del contenuto delle pagine web lo isolo in un thread separato giusto?
in quali altre operazioni dovrei farlo in generale?

Offline Ricky`

  • Amministratore
  • Utente storico
  • *****
  • Post: 3489
  • Respect: +506
    • Github
    • Google+
    • rciovati
    • Mostra profilo
Re:App Android in crash solo con Versione di Androi 4
« Risposta #7 il: 02 Aprile 2013, 09:45:00 CEST »
0
quindi se ho capito bene, all'interno dell'activity in cui effettuò il parsing, il download del contenuto delle pagine web lo isolo in un thread separato giusto?
in quali altre operazioni dovrei farlo in generale?

Tutte le operazioni che coinvolgono dei metodi "bloccanti" e/o necessitano di lunghe computazioni.
Devi farlo assolutamente per chiamate web (il metodo bloccante in questo caso è quello che legge dalla socket), ma è una buona pratica farlo anche per leggere file dalla memoria sd, nel caso in cui il file potrebbe essere dimensione medio-larga).

Keeping Your App Responsive | Android Developers
« Ultima modifica: 02 Aprile 2013, 09:47:02 CEST da Ricky` »

Offline elia_90

  • Nuovo arrivato
  • *
  • Post: 27
  • Fletto i muscoli e sono nel vuoto -.-
  • Respect: 0
    • Mostra profilo
  • Sistema operativo:
    Windows 8, Mac OS X 10.8
Re:App Android in crash solo con Versione di Androi 4
« Risposta #8 il: 02 Aprile 2013, 09:53:46 CEST »
0
i miei file leggono dalla memoria interna del telefono, e sono grandi al massimo 10kb...vale lo stesso la considerazione?

Post unito: 02 Aprile 2013, 19:12:51 CEST
potreste linkarmi il tutorial di asynctask?

Post unito: 03 Aprile 2013, 22:37:50 CEST
Vi posto il log intanto:

04-03 20:36:35.769: E/AndroidRuntime(771): FATAL EXCEPTION: main
04-03 20:36:35.769: E/AndroidRuntime(771): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.pk/com.example.pk.ResultCliFor}: android.os.NetworkOnMainThreadException
04-03 20:36:35.769: E/AndroidRuntime(771):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
04-03 20:36:35.769: E/AndroidRuntime(771):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
04-03 20:36:35.769: E/AndroidRuntime(771):    at android.app.ActivityThread.access$600(ActivityThread.java:141)
04-03 20:36:35.769: E/AndroidRuntime(771):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
04-03 20:36:35.769: E/AndroidRuntime(771):    at android.os.Handler.dispatchMessage(Handler.java:99)
04-03 20:36:35.769: E/AndroidRuntime(771):    at android.os.Looper.loop(Looper.java:137)
04-03 20:36:35.769: E/AndroidRuntime(771):    at android.app.ActivityThread.main(ActivityThread.java:5041)
04-03 20:36:35.769: E/AndroidRuntime(771):    at java.lang.reflect.Method.invokeNative(Native Method)
04-03 20:36:35.769: E/AndroidRuntime(771):    at java.lang.reflect.Method.invoke(Method.java:511)
04-03 20:36:35.769: E/AndroidRuntime(771):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
04-03 20:36:35.769: E/AndroidRuntime(771):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
04-03 20:36:35.769: E/AndroidRuntime(771):    at dalvik.system.NativeStart.main(Native Method)
04-03 20:36:35.769: E/AndroidRuntime(771): Caused by: android.os.NetworkOnMainThreadException
04-03 20:36:35.769: E/AndroidRuntime(771):    at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1117)
04-03 20:36:35.769: E/AndroidRuntime(771):    at java.net.InetAddress.lookupHostByName(InetAddress.java:385)
04-03 20:36:35.769: E/AndroidRuntime(771):    at java.net.InetAddress.getAllByNameImpl(InetAddress.java:236)
04-03 20:36:35.769: E/AndroidRuntime(771):    at java.net.InetAddress.getAllByName(InetAddress.java:214)
04-03 20:36:35.769: E/AndroidRuntime(771):    at libcore.net.http.HttpConnection.<init>(HttpConnection.java:70)
04-03 20:36:35.769: E/AndroidRuntime(771):    at libcore.net.http.HttpConnection.<init>(HttpConnection.java:50)
04-03 20:36:35.769: E/AndroidRuntime(771):    at libcore.net.http.HttpConnection$Address.connect(HttpConnection.java:340)
04-03 20:36:35.769: E/AndroidRuntime(771):    at libcore.net.http.HttpConnectionPool.get(HttpConnectionPool.java:87)
04-03 20:36:35.769: E/AndroidRuntime(771):    at libcore.net.http.HttpConnection.connect(HttpConnection.java:128)
04-03 20:36:35.769: E/AndroidRuntime(771):    at libcore.net.http.HttpEngine.openSocketConnection(HttpEngine.java:316)
04-03 20:36:35.769: E/AndroidRuntime(771):    at libcore.net.http.HttpEngine.connect(HttpEngine.java:311)
04-03 20:36:35.769: E/AndroidRuntime(771):    at libcore.net.http.HttpEngine.sendSocketRequest(HttpEngine.java:290)
04-03 20:36:35.769: E/AndroidRuntime(771):    at libcore.net.http.HttpEngine.sendRequest(HttpEngine.java:240)
04-03 20:36:35.769: E/AndroidRuntime(771):    at libcore.net.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:282)
04-03 20:36:35.769: E/AndroidRuntime(771):    at libcore.net.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:177)
04-03 20:36:35.769: E/AndroidRuntime(771):    at java.net.URL.openStream(URL.java:462)
04-03 20:36:35.769: E/AndroidRuntime(771):    at com.example.pk.ResultCliFor.onCreate(ResultCliFor.java:76)
04-03 20:36:35.769: E/AndroidRuntime(771):    at android.app.Activity.performCreate(Activity.java:5104)
04-03 20:36:35.769: E/AndroidRuntime(771):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
04-03 20:36:35.769: E/AndroidRuntime(771):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
04-03 20:36:35.769: E/AndroidRuntime(771):    ... 11 more
04-03 20:36:35.890: W/ActivityManager(292):   Force finishing activity com.example.pk/.ResultCliFor
04-03 20:36:35.910: W/ActivityManager(292):   Force finishing activity com.example.pk/.MainActivity
04-03 20:36:36.179: D/dalvikvm(292): GC_FOR_ALLOC freed 267K, 18% free 5363K/6480K, paused 60ms, total 68ms
04-03 20:36:36.179: I/dalvikvm-heap(292): Grow heap (frag case) to 5.648MB for 281896-byte allocation
04-03 20:36:36.269: D/dalvikvm(292): GC_FOR_ALLOC freed 29K, 17% free 5608K/6756K, paused 85ms, total 85ms
04-03 20:36:36.519: W/ActivityManager(292): Activity pause timeout for ActivityRecord{40ff9ee8 u0 com.example.pk/.ResultCliFor}
04-03 20:36:36.820: I/Choreographer(292): Skipped 63 frames!  The application may be doing too much work on its main thread.
04-03 20:36:36.820: E/SurfaceFlinger(36): ro.sf.lcd_density must be defined as a build property
04-03 20:36:36.890: I/Choreographer(410): Skipped 81 frames!  The application may be doing too much work on its main thread.
04-03 20:36:37.079: E/SurfaceFlinger(36): ro.sf.lcd_density must be defined as a build property
04-03 20:36:37.209: I/ARMAssembler(36): generated scanline__00000077:03515104_00008001_00000000 [113 ipp] (134 ins) at [0x4104e620:0x4104e838] in 860000 ns
04-03 20:36:37.920: I/Choreographer(410): Skipped 54 frames!  The application may be doing too much work on its main thread.
04-03 20:36:48.540: W/ActivityManager(292): Activity destroy timeout for ActivityRecord{40f9b700 u0 com.example.pk/.MainActivity}
04-03 20:36:48.540: W/ActivityManager(292): Activity destroy timeout for ActivityRecord{40ff9ee8 u0 com.example.pk/.ResultCliFor}
04-03 20:36:49.210: D/ExchangeService(651): Received deviceId from Email app: null
04-03 20:36:49.210: D/ExchangeService(651): !!! deviceId unknown; stopping self and retrying
04-03 20:36:53.029: I/Process(771): Sending signal. PID: 771 SIG: 9
04-03 20:36:53.049: I/ActivityManager(292): Process com.example.pk (pid 771) has died.
04-03 20:36:53.049: I/WindowState(292): WIN DEATH: Window{4103ad78 u0 com.example.pk/com.example.pk.MainActivity}
04-03 20:36:53.179: W/InputMethodManagerService(292): Got RemoteException sending setActive(false) notification to pid 771 uid 10046
04-03 20:36:54.239: D/ExchangeService(651): !!! EAS ExchangeService, onStartCommand, startingUp = false, running = false
04-03 20:36:54.239: W/ActivityManager(292): Unable to start service Intent { act=com.android.email.ACCOUNT_INTENT } U=0: not found
04-03 20:36:54.239: D/ExchangeService(651): !!! Email application not found; stopping self
04-03 20:36:54.250: W/ActivityManager(292): Unable to start service Intent { act=com.android.email.ACCOUNT_INTENT } U=0: not found
04-03 20:36:54.280: E/ActivityThread(651): Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d08118 that was originally bound here
04-03 20:36:54.280: E/ActivityThread(651): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d08118 that was originally bound here
04-03 20:36:54.280: E/ActivityThread(651):    at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
04-03 20:36:54.280: E/ActivityThread(651):    at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
04-03 20:36:54.280: E/ActivityThread(651):    at android.app.ContextImpl.bindService(ContextImpl.java:1418)
04-03 20:36:54.280: E/ActivityThread(651):    at android.app.ContextImpl.bindService(ContextImpl.java:1407)
04-03 20:36:54.280: E/ActivityThread(651):    at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
04-03 20:36:54.280: E/ActivityThread(651):    at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
04-03 20:36:54.280: E/ActivityThread(651):    at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
04-03 20:36:54.280: E/ActivityThread(651):    at com.android.emailcommon.service.ServiceProxy.test(ServiceProxy.java:191)
04-03 20:36:54.280: E/ActivityThread(651):    at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1850)
04-03 20:36:54.280: E/ActivityThread(651):    at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-03 20:36:54.280: E/ActivityThread(651):    at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-03 20:36:54.280: E/ActivityThread(651):    at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-03 20:36:54.280: E/ActivityThread(651):    at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-03 20:36:54.280: E/ActivityThread(651):    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-03 20:36:54.280: E/ActivityThread(651):    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-03 20:36:54.280: E/ActivityThread(651):    at java.lang.Thread.run(Thread.java:856)
04-03 20:36:54.310: E/StrictMode(651): null
04-03 20:36:54.310: E/StrictMode(651): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d08118 that was originally bound here
04-03 20:36:54.310: E/StrictMode(651):    at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
04-03 20:36:54.310: E/StrictMode(651):    at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
04-03 20:36:54.310: E/StrictMode(651):    at android.app.ContextImpl.bindService(ContextImpl.java:1418)
04-03 20:36:54.310: E/StrictMode(651):    at android.app.ContextImpl.bindService(ContextImpl.java:1407)
04-03 20:36:54.310: E/StrictMode(651):    at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
04-03 20:36:54.310: E/StrictMode(651):    at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
04-03 20:36:54.310: E/StrictMode(651):    at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
04-03 20:36:54.310: E/StrictMode(651):    at com.android.emailcommon.service.ServiceProxy.test(ServiceProxy.java:191)
04-03 20:36:54.310: E/StrictMode(651):    at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1850)
04-03 20:36:54.310: E/StrictMode(651):    at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-03 20:36:54.310: E/StrictMode(651):    at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-03 20:36:54.310: E/StrictMode(651):    at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-03 20:36:54.310: E/StrictMode(651):    at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-03 20:36:54.310: E/StrictMode(651):    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-03 20:36:54.310: E/StrictMode(651):    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-03 20:36:54.310: E/StrictMode(651):    at java.lang.Thread.run(Thread.java:856)
04-03 20:36:54.310: W/ActivityManager(292): Unbind failed: could not find connection for android.os.BinderProxy@40e77928
04-03 20:36:54.319: E/ActivityThread(651): Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d084c0 that was originally bound here
04-03 20:36:54.319: E/ActivityThread(651): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d084c0 that was originally bound here
04-03 20:36:54.319: E/ActivityThread(651):    at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
04-03 20:36:54.319: E/ActivityThread(651):    at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
04-03 20:36:54.319: E/ActivityThread(651):    at android.app.ContextImpl.bindService(ContextImpl.java:1418)
04-03 20:36:54.319: E/ActivityThread(651):    at android.app.ContextImpl.bindService(ContextImpl.java:1407)
04-03 20:36:54.319: E/ActivityThread(651):    at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
04-03 20:36:54.319: E/ActivityThread(651):    at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
04-03 20:36:54.319: E/ActivityThread(651):    at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
04-03 20:36:54.319: E/ActivityThread(651):    at com.android.emailcommon.service.AccountServiceProxy.getDeviceId(AccountServiceProxy.java:116)
04-03 20:36:54.319: E/ActivityThread(651):    at com.android.exchange.ExchangeService.getDeviceId(ExchangeService.java:1249)
04-03 20:36:54.319: E/ActivityThread(651):    at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1856)
04-03 20:36:54.319: E/ActivityThread(651):    at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-03 20:36:54.319: E/ActivityThread(651):    at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-03 20:36:54.319: E/ActivityThread(651):    at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-03 20:36:54.319: E/ActivityThread(651):    at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-03 20:36:54.319: E/ActivityThread(651):    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-03 20:36:54.319: E/ActivityThread(651):    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-03 20:36:54.319: E/ActivityThread(651):    at java.lang.Thread.run(Thread.java:856)
04-03 20:36:54.360: E/StrictMode(651): null
04-03 20:36:54.360: E/StrictMode(651): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d084c0 that was originally bound here
04-03 20:36:54.360: E/StrictMode(651):    at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
04-03 20:36:54.360: E/StrictMode(651):    at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
04-03 20:36:54.360: E/StrictMode(651):    at android.app.ContextImpl.bindService(ContextImpl.java:1418)
04-03 20:36:54.360: E/StrictMode(651):    at android.app.ContextImpl.bindService(ContextImpl.java:1407)
04-03 20:36:54.360: E/StrictMode(651):    at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
04-03 20:36:54.360: E/StrictMode(651):    at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
04-03 20:36:54.360: E/StrictMode(651):    at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
04-03 20:36:54.360: E/StrictMode(651):    at com.android.emailcommon.service.AccountServiceProxy.getDeviceId(AccountServiceProxy.java:116)
04-03 20:36:54.360: E/StrictMode(651):    at com.android.exchange.ExchangeService.getDeviceId(ExchangeService.java:1249)
04-03 20:36:54.360: E/StrictMode(651):    at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1856)
04-03 20:36:54.360: E/StrictMode(651):    at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-03 20:36:54.360: E/StrictMode(651):    at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-03 20:36:54.360: E/StrictMode(651):    at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-03 20:36:54.360: E/StrictMode(651):    at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-03 20:36:54.360: E/StrictMode(651):    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-03 20:36:54.360: E/StrictMode(651):    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-03 20:36:54.360: E/StrictMode(651):    at java.lang.Thread.run(Thread.java:856)
« Ultima modifica: 03 Aprile 2013, 22:37:50 CEST da elia_90, Reason: Merged DoublePost »