1
Work Profile setup crashing when configuring intelligent hub oneplus 5T pie update

  1. robinsc
    Gingerbread Dec 31, 2018

    robinsc , Dec 31, 2018 :
    When trying to configure citrix intelligent hub the work profile setup 9 crashes in the backgroud and hence the configuration does not complete.
     

    #1
    Hachinook likes this.
  2. robinsc
    Gingerbread Dec 31, 2018

    robinsc , Dec 31, 2018 :
    12-31 14:24:34.708 13869 13869 D ManagedProvisioning: Initializing provisioning process
    12-31 14:24:34.711 13869 13899 D ManagedProvisioning: Running task: CreateManagedProfileTask
    12-31 14:24:34.737 13869 13882 D DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, [email protected][ProvisioningActivity]
    12-31 14:24:12.613 13834 13859 E AndroidRuntime: FATAL EXCEPTION: Provisioning Worker
    12-31 14:24:12.613 13834 13859 E AndroidRuntime: Process: com.android.managedprovisioning, PID: 13834
    12-31 14:24:12.613 13834 13859 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.startsWith(java.lang.String)' on a null object reference
    12-31 14:24:12.613 13834 13859 E AndroidRuntime: at com.android.managedprovisioning.common.Utils.getCurrentReserveApps(Utils.java:133)
    12-31 14:24:12.613 13834 13859 E AndroidRuntime: at com.android.managedprovisioning.task.nonrequiredapps.NonRequiredAppsLogic.getReserveAppsToRemove(NonRequiredAppsLogic.java:137)
    12-31 14:24:12.613 13834 13859 E AndroidRuntime: at com.android.managedprovisioning.task.CreateManagedProfileTask.run(CreateManagedProfileTask.java:69)
    12-31 14:24:12.613 13834 13859 E AndroidRuntime: at com.android.managedprovisioning.provisioning.AbstractProvisioningController$ProvisioningTaskHandler.handleMessage(AbstractProvisioningController.java:218)
    12-31 14:24:12.613 13834 13859 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
    12-31 14:24:12.613 13834 13859 E AndroidRuntime: at android.os.Looper.loop(Looper.java:193)
    12-31 14:24:12.613 13834 13859 E AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:65)
    12-31 14:24:34.750 13869 13899 E AndroidRuntime: FATAL EXCEPTION: Provisioning Worker
    12-31 14:24:34.750 13869 13899 E AndroidRuntime: Process: com.android.managedprovisioning, PID: 13869
    12-31 14:24:34.750 13869 13899 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.startsWith(java.lang.String)' on a null object reference
    12-31 14:24:34.750 13869 13899 E AndroidRuntime: at com.android.managedprovisioning.common.Utils.getCurrentReserveApps(Utils.java:133)
    12-31 14:24:34.750 13869 13899 E AndroidRuntime: at com.android.managedprovisioning.task.nonrequiredapps.NonRequiredAppsLogic.getReserveAppsToRemove(NonRequiredAppsLogic.java:137)
    12-31 14:24:34.750 13869 13899 E AndroidRuntime: at com.android.managedprovisioning.task.CreateManagedProfileTask.run(CreateManagedProfileTask.java:69)
    12-31 14:24:34.750 13869 13899 E AndroidRuntime: at com.android.managedprovisioning.provisioning.AbstractProvisioningController$ProvisioningTaskHandler.handleMessage(AbstractProvisioningController.java:218)
    12-31 14:24:34.750 13869 13899 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
    12-31 14:24:34.750 13869 13899 E AndroidRuntime: at android.os.Looper.loop(Looper.java:193)
    12-31 14:24:34.750 13869 13899 E AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:65)
    12-31 14:24:34.753 13869 13899 E FrameworkEventCollector: mDiagnoseManager is null
    12-31 14:24:34.754 13869 13900 D OSTracker: OS Event: system_app_crash


    From logcat
     

    #2
  3. robinsc
    Gingerbread Jan 1, 2019

    robinsc , Jan 1, 2019 :
    Facing the same problem with island also so its specific to work profile. and Please don't tell me to factory reset that would be too much of a trauma for me :)
     

    #3
  4. fuzzthekingof
    Donut Jan 5, 2019


    #4
    robinsc likes this.
  5. G_Yogesh_Bhat_XyrT
    Eclair Jan 7, 2019


    #5
  6. fuzzthekingof
    Donut Jan 8, 2019


    #6
  7. fuzzthekingof
    Donut Jan 8, 2019

  8. robinsc
    Gingerbread Jan 15, 2019


    #8
  9. evilrix
    Cupcake Jan 19, 2019

    evilrix , Jan 19, 2019 :
    I am having exactly the same issue one my OnePlus 5. I can set up a work account if I avoid setting up a work profile, but if I try to enable the work profile the Work Profile Setup crashes. I've tried everything bar a factory reset (I really am loathed to do this).
     

    #9
  10. robinsc
    Gingerbread Jan 23, 2019


    #10
  11. vjameta
    Eclair Jan 25, 2019


    #11
  12. spitfire184
    Cupcake Jan 31, 2019


    #12
  13. robinsc
    Gingerbread Feb 13, 2019

    robinsc , Feb 13, 2019 :
    Got an update that there will be a fix in 9.0.5 MP3 ... and in the next open beta :(
     

    #13
  14. fuzzthekingof
    Donut Feb 13, 2019

    fuzzthekingof , Feb 13, 2019 :
    Do you know if 9.0.5 will be the next release for oneplus 5/5T or will there be 9.0.4 in between?
     

    #14
  15. joseamirandavelez
    Cupcake Feb 16, 2019


    #15
  16. Bartolino
    Cupcake Apr 12, 2019


    #16
  17. vjameta
    Eclair May 23, 2019

    vjameta , May 23, 2019 :
    It seems my old work profile did not get deleted. And, it is not showing in device admin as well. So when I try to configure the work profile it asks me if it can delete the old profile. But since no old profile is shown in device admin, I don't know what it can delete. The system does a quick reboot (lock screen+no network/wifi). Then I'm back to square one trying to configure the installed maas360 profile.

    Edit 1:
    Found the work profile app in 'app info'. But cannot open it from there or do anything with it. Trying to open it from app info leads to a 30s hang before landing me on the home screen.
     
    Last edited: Jun 7, 2019

    #17
  18. npzenn
    Cupcake Jun 7, 2019

    npzenn , Jun 7, 2019 :
    I have OnePlus7 and facing exact same issue. Oxygen OS 9.5.4. Wonder if same issue is getting trickled to later OS versions without fixing ? anyone got a workaround ?
     

    #18
    sartaxi likes this.
  19. sartaxi
    Cupcake Aug 9, 2019

    Last edited: Aug 9, 2019

    #19
  20. Y1565436735131
    Cupcake Sep 27, 2019


    #20