Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

force closing when opening from notification for uninstalled app #51

Closed
nemchik opened this issue Jun 21, 2013 · 2 comments
Closed

force closing when opening from notification for uninstalled app #51

nemchik opened this issue Jun 21, 2013 · 2 comments
Labels

Comments

@nemchik
Copy link

nemchik commented Jun 21, 2013

This is kinda odd and rather rare I think, but here's the run down

Cm10.1 nightly 6/21 on sgh i777
xposed 2.1.4
XPrivacy 0.2.9
Cwm 4.2.x patch installed

Install an app
Xprivacy alerts of new app permissions
Uninstall that app
Notification from xprivacy remains
Tap on notification
Xprivacy force closes
Xprivacy starts itself right away

So in the end on glad it basically restarted itself, but i figured I'd report the force close.

@M66B M66B closed this as completed in 92a136c Jun 22, 2013
@M66B
Copy link
Owner

M66B commented Jun 22, 2013

Thanks for reporting, this will be fixed in the next release.

@mediaGit
Copy link

mediaGit commented Jan 7, 2014

Hi,
this is the issue that is quite similar to the one I have just seen.

  1. Install an app "A" and configure it with Xprivacy
    1.1) Use the app, configs are correctly applied.
  2. An update from the Play Store is available for the app "A"
  3. The update is completed and Xprivacy shows the notification for this (and other updated) app "A" to update the privacy settings
  4. Uninstall the app "A", the notification stills in the tray bar
  5. Select the notification for the app "A"
  6. Xprivacy crash
  7. Selecting another notification everything is working properly

This is the related log with a null pointer exception:

01-07 14:05:20.279 I/ActivityManager(589): START {act=android.intent.action.MAIN cmp=biz.bokhorst.xprivacy/.ActivityApp bnds=[0,831][768,955] (has extras) u=0} from pid -1
01-07 14:05:20.279 W/ActivityManager(589): startActivity called from non-Activity context; forcing Intent.FLAG_ACTIVITY_NEW_TASK for: Intent { act=android.intent.action.MAIN cmp=biz.bokhorst.xprivacy/.ActivityApp bnds=[0,831][768,955] (has extras) }
01-07 14:05:20.349 D/NotificationService(589): cancelNotificationLocked | lightsSize : 0| r.pkg :biz.bokhorst.xprivacy
01-07 14:05:20.479 W/XPrivacy/XApplication(5839): Uncaught exception uid=10230: java.lang.RuntimeException: Unable to start activity ComponentInfo{biz.bokhorst.xprivacy/biz.bokhorst.xprivacy.ActivityApp}: java.lang.NullPointerException
01-07 14:05:20.479 E/AndroidRuntime(5839): java.lang.RuntimeException: Unable to start activity ComponentInfo{biz.bokhorst.xprivacy/biz.bokhorst.xprivacy.ActivityApp}: java.lang.NullPointerException
01-07 14:05:20.479 E/AndroidRuntime(5839):  at biz.bokhorst.xprivacy.bw.<init>(Unknown Source)
01-07 14:05:20.479 E/AndroidRuntime(5839):  at biz.bokhorst.xprivacy.ActivityApp.onCreate(Unknown Source)
01-07 14:05:20.499 W/ActivityManager(589):   Force finishing activity biz.bokhorst.xprivacy/.ActivityApp
01-07 14:05:21.029 W/ActivityManager(589): Activity pause timeout for ActivityRecord{430e8948 biz.bokhorst.xprivacy/.ActivityApp}
01-07 14:05:21.840 I/ActivityManager(589): Process biz.bokhorst.xprivacy (pid 5839) has died.
01-07 14:05:25.294 I/ActivityManager(589): START {act=android.intent.action.MAIN cmp=biz.bokhorst.xprivacy/.ActivityApp bnds=[0,703][768,827] (has extras) u=0} from pid -1
01-07 14:05:25.294 W/ActivityManager(589): startActivity called from non-Activity context; forcing Intent.FLAG_ACTIVITY_NEW_TASK for: Intent { act=android.intent.action.MAIN cmp=biz.bokhorst.xprivacy/.ActivityApp bnds=[0,703][768,827] (has extras) }
01-07 14:05:25.394 I/ActivityManager(589): Start proc biz.bokhorst.xprivacy for activity biz.bokhorst.xprivacy/.ActivityApp: pid=7112 uid=10230 gids={3003, 1015, 1028}
01-07 14:05:25.394 D/NotificationService(589): cancelNotificationLocked | lightsSize : 0| r.pkg :biz.bokhorst.xprivacy
01-07 14:05:27.787 I/ActivityManager(589): Displayed biz.bokhorst.xprivacy/.ActivityApp: +2s456ms (total +7s472ms)
01-07 14:05:29.999 V/InputTransport(589): publish-Motion: channel '430cbd00 biz.bokhorst.xprivacy/biz.bokhorst.xprivacy.ActivityApp (server)' seq=263731, action=Down, pointerCount=1, downTime=191239031126000, eventTime=191239031126000
01-07 14:05:30.740 V/InputTransport(589): publish-Motion: channel '430cbd00 biz.bokhorst.xprivacy/biz.bokhorst.xprivacy.ActivityApp (server)' seq=263818, action=Up, pointerCount=1, downTime=191239031126000, eventTime=191239770177000
01-07 14:05:31.210 W/ActivityManager(589): Activity destroy timeout for ActivityRecord{430e8948 biz.bokhorst.xprivacy/.ActivityApp}
01-07 14:06:01.362 W/XPrivacy(7112): No packages uid=10244 action=Flush
01-07 14:06:03.224 E/ActivityManager(589):   0% 7112/biz.bokhorst.xprivacy: 0% user + 0% kernel / faults: 1 minor

Thank you

@M66B M66B reopened this Jan 7, 2014
@M66B M66B closed this as completed in 03fac2a Jan 11, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants