Bonjour,
logCat ma revoie "FATAL EXCEPTION: intentService (LVLDownLoader...", le problème est que je n'arrive pas à trouver la ligne de code qui pose problème et qui fait crasher mon application.
Comment dois-je m'y prendre ?
merci de votre aide.
Version imprimable
Bonjour,
logCat ma revoie "FATAL EXCEPTION: intentService (LVLDownLoader...", le problème est que je n'arrive pas à trouver la ligne de code qui pose problème et qui fait crasher mon application.
Comment dois-je m'y prendre ?
merci de votre aide.
C'est tout marqué dans le logcat....
Recopie nous toutes les lignes (exception, at ... , caused by ..., at ...) dans une balise "code", et on pourra te dire exactement.
Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 08-31 14:52:26.159: E/NativeCrashListener(378): Unable to report native crash 08-31 14:52:26.159: E/NativeCrashListener(378): java.lang.IndexOutOfBoundsException: Invalid index 7, size is 7 08-31 14:52:26.159: E/NativeCrashListener(378): at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255) 08-31 14:52:26.159: E/NativeCrashListener(378): at java.util.ArrayList.get(ArrayList.java:308) 08-31 14:52:26.159: E/NativeCrashListener(378): at com.android.server.am.ActivityManagerService.handleAppCrashLocked(ActivityManagerService.java:8351) 08-31 14:52:26.159: E/NativeCrashListener(378): at com.android.server.am.ActivityManagerService.makeAppCrashingLocked(ActivityManagerService.java:8221) 08-31 14:52:26.159: E/NativeCrashListener(378): at com.android.server.am.ActivityManagerService.crashApplication(ActivityManagerService.java:8900) 08-31 14:52:26.159: E/NativeCrashListener(378): at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:8455) 08-31 14:52:26.159: E/NativeCrashListener(378): at com.android.server.am.NativeCrashListener$NativeCrashReporter.run(NativeCrashListener.java:86) 08-31 14:52:30.503: W/LVLDL(1180): Exception for main.1000022.com.myExample.myApp.obb: java.lang.NullPointerException 08-31 14:52:30.565: W/dalvikvm(1180): threadid=10: thread exiting with uncaught exception (group=0x419fc700) 08-31 14:52:30.565: E/AndroidRuntime(1180): FATAL EXCEPTION: IntentService[LVLDownloadService] 08-31 14:52:30.565: E/AndroidRuntime(1180): java.lang.NullPointerException 08-31 14:52:30.565: E/AndroidRuntime(1180): at com.android.vending.expansion.downloader.Helpers.getDownloaderStringResourceIDFromState(Helpers.java:306) 08-31 14:52:30.565: E/AndroidRuntime(1180): at com.android.vending.expansion.downloader.impl.DownloadNotification.onDownloadStateChanged(DownloadNotification.java:127) 08-31 14:52:30.565: E/AndroidRuntime(1180): at com.android.vending.expansion.downloader.impl.DownloaderService.onHandleIntent(DownloaderService.java:1147) 08-31 14:52:30.565: E/AndroidRuntime(1180): at com.android.vending.expansion.downloader.impl.CustomIntentService$ServiceHandler.handleMessage(CustomIntentService.java:104) 08-31 14:52:30.565: E/AndroidRuntime(1180): at android.os.Handler.dispatchMessage(Handler.java:99) 08-31 14:52:30.565: E/AndroidRuntime(1180): at android.os.Looper.loop(Looper.java:137) 08-31 14:52:30.565: E/AndroidRuntime(1180): at android.os.HandlerThread.run(HandlerThread.java:61) 08-31 14:52:33.964: W/ActivityManager(378): Launch timeout has expired, giving up wake lock!
hmmm on dirait bien qu'il y a du catch d'exception en trop (et un mauvais logging)....
on pourrait voir le code ?
j'ai une autre erreur juste avant, je pense que le pb vient de là
qu'est-ce que c'est, merci ?Code:Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 17110 (IntentService[L)
C'est à priori la même chose...
SIGSEGV = signal #11 = tentative d'accès à de la mémoire non accessible
Non, mais on peut pas avoir un peu de code ?
C'est le code de l'apk expansion files qui est dans le sdk android dans le dossier extra
Montre nous comment tu appelles l'Intent de cette bibliothèque.Citation:
C'est le code de l'apk expansion files qui est dans le sdk android dans le dossier extra