Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App sometimes crashes on last screen of setup #226

Closed
blueleader07 opened this issue Feb 21, 2016 · 3 comments
Closed

App sometimes crashes on last screen of setup #226

blueleader07 opened this issue Feb 21, 2016 · 3 comments
Assignees
Labels

Comments

@blueleader07
Copy link
Contributor

java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.teamsite.android.calendar.g.e.e()' on a null object reference
    at com.teamsite.android.calendar.sync.PushHelper.void setup(android.content.Context,android.support.v7.app.AppCompatActivity,com.teamsite.android.calendar.objects.Calendar,android.app.ProgressDialog,int)(SourceFile:30)
    at com.teamsite.android.calendar.wizard.addcalendar.activities.SelectSyncOptionsWizard$1.void onClick(android.view.View)(SourceFile:112)
    at android.view.View.performClick(View.java:5204)
    at android.view.View$PerformClick.run(View.java:21153)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:148)
    at android.app.ActivityThread.main(ActivityThread.java:5417)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
@blueleader07 blueleader07 self-assigned this Feb 21, 2016
@blueleader07
Copy link
Contributor Author

This was caused by permissions, or lack thereof. The issue ONLY impacts Marshmallow users.
In Marshmallow users can toggle app permissions. Team Calendar Sync crashed because it didn't have enough permissions to write to the Calendar data. I'm not sure what can be done about this other than informing the users to check their settings to verify that Team Calendar Sync has all permissions enabled. There is a tutorial for doing that here:

http://www.greenbot.com/article/2990078/android/how-to-toggle-app-permissions-in-android-marshmallow.html

@blueleader07 blueleader07 added bug and removed bug labels Feb 25, 2016
@blueleader07
Copy link
Contributor Author

I've fixed this in 3.9.9 so that the user will be prompted to allow the app permissions to the Calendar and File System (for log files).

@blueleader07
Copy link
Contributor Author

Fixed as of 3.9.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant