Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
process blah has stopped unexpectedly — Gideros Forum

process blah has stopped unexpectedly

ArtLeeAppsArtLeeApps Member
edited September 2013 in General questions
Hi,

I have an app in progress.
if its been running, and i do other things, im guessing android needs the memory so it kills the app off. (fair enough)
but i get 2 messages, one shortly after the other.

"Sorry!"
The application (process com.) has
stopped unexpectedly. Please try again.
[ Force Close] << Button

--
I can replicate this, by running the app, then killing it via Task Manager.
I cant understand why my app would show this message, but other apps, dont report its death.

is there something like a manifest setting, "die quietly" or something like im not killing off my listeners correctly.
if you dont answer the dialog, as i was typing this... it removes the dialog, and then the second one pops right up.

* dont you like the tough questions...*

Help please....

Comments

  • ar2rsawseenar2rsawseen Maintainer
    edited September 2013
    hmm, no, there is no die quietly flag, it should be a natural behavior.
    do you have any background services defined in your manifest, maybe thats what causing the problem?
  • Hi @ar2rsawseen ,

    I killed it off, with the same message, and got this from eclipse logs...
    looks interesting... the battle started at WIN DEATH :)
    then its like google billing is getting a null pointer exception....
    09-10 22:59:41.911: D/AudioSink(1274): close L=1871
    09-10 22:59:41.911: I/WindowManager(1391): WIN DEATH: Window{40576c28 com.artleeapps.bubbleadventurecolors/com.giderosmobile.android.BubbleAdventureColorsActivity paused=false}
    09-10 22:59:41.921: I/WindowManager(1391): WIN DEATH: Window{40c3a330 SurfaceView paused=false}
    09-10 22:59:42.742: D/StatusBarPolicy(1551): Network Type: 8
    09-10 22:59:45.755: D/StatusBarPolicy(1551): Network Type: 8
    09-10 22:59:46.826: I/keystore(1278): uid: 1000 action: e -> 7 state: 3 -> 3 retry: 4
    09-10 22:59:46.836: I/ActivityManager(1391): Start proc com.artleeapps.bubbleadventurecolors for service com.artleeapps.bubbleadventurecolors/com.giderosmobile.android.plugins.googlebilling.BillingService: pid=28628 uid=10100 gids={1015, 3003}
    09-10 22:59:46.926: D/AndroidRuntime(28628): Shutting down VM
    09-10 22:59:46.926: W/dalvikvm(28628): threadid=1: thread exiting with uncaught exception (group=0x4001d5a0)
    09-10 22:59:46.936: E/AndroidRuntime(28628): FATAL EXCEPTION: main
    09-10 22:59:46.936: E/AndroidRuntime(28628): java.lang.RuntimeException: Unable to start service com.giderosmobile.android.plugins.googlebilling.BillingService@4052cd20 with null: java.lang.NullPointerException
    09-10 22:59:46.936: E/AndroidRuntime(28628): 	at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2473)
    09-10 22:59:46.936: E/AndroidRuntime(28628): 	at android.app.ActivityThread.access$2800(ActivityThread.java:135)
    09-10 22:59:46.936: E/AndroidRuntime(28628): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1127)
    09-10 22:59:46.936: E/AndroidRuntime(28628): 	at android.os.Handler.dispatchMessage(Handler.java:99)
    09-10 22:59:46.936: E/AndroidRuntime(28628): 	at android.os.Looper.loop(Looper.java:150)
    09-10 22:59:46.936: E/AndroidRuntime(28628): 	at android.app.ActivityThread.main(ActivityThread.java:4385)
    09-10 22:59:46.936: E/AndroidRuntime(28628): 	at java.lang.reflect.Method.invokeNative(Native Method)
    09-10 22:59:46.936: E/AndroidRuntime(28628): 	at java.lang.reflect.Method.invoke(Method.java:507)
    09-10 22:59:46.936: E/AndroidRuntime(28628): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:849)
    09-10 22:59:46.936: E/AndroidRuntime(28628): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
    09-10 22:59:46.936: E/AndroidRuntime(28628): 	at dalvik.system.NativeStart.main(Native Method)
    09-10 22:59:46.936: E/AndroidRuntime(28628): Caused by: java.lang.NullPointerException
    09-10 22:59:46.936: E/AndroidRuntime(28628): 	at com.giderosmobile.android.plugins.googlebilling.BillingService.handleCommand(BillingService.java:445)
    09-10 22:59:46.936: E/AndroidRuntime(28628): 	at com.giderosmobile.android.plugins.googlebilling.BillingService.onStart(BillingService.java:435)
    09-10 22:59:46.936: E/AndroidRuntime(28628): 	at android.app.Service.onStartCommand(Service.java:428)
    09-10 22:59:46.936: E/AndroidRuntime(28628): 	at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2456)
    09-10 22:59:46.936: E/AndroidRuntime(28628): 	... 10 more
    09-10 22:59:46.976: D/WindowManagerImpl(1391): addView, new view, mViews[1]: com.android.internal.policy.impl.PhoneWindow$DecorView@40a8d078
    09-10 22:59:50.850: D/dalvikvm(26455): GC_EXPLICIT freed 285K, 47% free 4017K/7495K, external 22K/512K, paused 100ms
    09-10 22:59:54.754: D/StatusBarPolicy(1551): Network Type: 8
    09-10 22:59:57.757: D/StatusBarPolicy(1551): Network Type: 8
    09-10 23:00:00.750: D/StatusBarPolicy(1551): Network Type: 8
    09-10 23:00:03.752: D/StatusBarPolicy(1551): Network Type: 8
    09-10 23:00:06.896: W/ActivityManager(1391): Timeout executing service: ServiceRecord{40ac3728 com.artleeapps.bubbleadventurecolors/com.giderosmobile.android.plugins.googlebilling.BillingService}
    09-10 23:00:06.896: I/ActivityManager(1391): Crashing app skipping ANR: ProcessRecord{40b32430 28628:com.artleeapps.bubbleadventurecolors/10100} Executing service com.artleeapps.bubbleadventurecolors/com.giderosmobile.android.plugins.googlebilling.BillingService
    09-10 23:00:08.837: D/dalvikvm(25475): GC_EXPLICIT freed 60K, 47% free 3504K/6599K, external 0K/0K, paused 73ms
    09-10 23:00:10.079: I/keystore(1278): uid: 1000 action: e -> 7 state: 3 -> 3 retry: 4
    09-10 23:00:12.601: V/DeviceStorageMonitorService(1391): freeMemory=285388800
    09-10 23:00:12.601: D/DeviceStorageMonitorService(1391): OoO SMS Memory available. SMS_AVAILABLE_THRESHOLD == 524288
    09-10 23:00:12.601: I/DeviceStorageMonitorService(1391): Posting Message again
  • @ar2rsawseen Brilliant !

    That worked, thank you muchly :)

    now my app can die a quiet and painless death....
Sign In or Register to comment.