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

Null pointer exception after entering calendar owner's email address #2

Closed
blueleader07 opened this Issue Jun 19, 2013 · 3 comments

Comments

Projects
None yet
1 participant
@blueleader07
Contributor

blueleader07 commented Jun 19, 2013

Stack trace from user:

java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:299)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:352)
at java.util.concurrent.FutureTask.setException(FutureTask.java:219)
at java.util.concurrent.FutureTask.run(FutureTask.java:239)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:856)
Caused by: java.lang.NullPointerException
at com.teamsite.android.calendar.k.e.a(Unknown Source)
at com.teamsite.android.calendar.k.e.a(Unknown Source)
at com.teamsite.android.calendar.k.e.doInBackground(Unknown Source)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask.run(FutureTask.java:234)
... 4 more

@blueleader07

This comment has been minimized.

Show comment
Hide comment
@blueleader07

blueleader07 Jun 19, 2013

Contributor

I could not recreate this issue. I have requested more information from the user.
The stack trace seems to indicate an issue with Context. I'm not sure how Context could be null as it is being set correctly.

Contributor

blueleader07 commented Jun 19, 2013

I could not recreate this issue. I have requested more information from the user.
The stack trace seems to indicate an issue with Context. I'm not sure how Context could be null as it is being set correctly.

@blueleader07

This comment has been minimized.

Show comment
Hide comment
@blueleader07

blueleader07 Jun 19, 2013

Contributor

This is the un-obfuscated stack trace from the user:

java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:299)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:352)
at java.util.concurrent.FutureTask.setException(FutureTask.java:219)
at java.util.concurrent.FutureTask.run(FutureTask.java:239)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:856)
Caused by: java.lang.NullPointerException
at com.teamsite.android.calendar.task.GetCalendarsTask.java.lang.Void doInBackground(java.lang.Object[])(Unknown Source)
boolean getCalendars()
boolean validateSettings(java.lang.String,java.lang.String,java.lang.String)
void setAccountName(java.lang.String)
void setIgnoreTrustForSSL(boolean)
void setProgress(android.app.ProgressDialog)
at com.teamsite.android.calendar.task.GetCalendarsTask.java.lang.Object doInBackground(java.lang.Object[])(Unknown Source)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask.run(FutureTask.java:234)
... 4 more

Contributor

blueleader07 commented Jun 19, 2013

This is the un-obfuscated stack trace from the user:

java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:299)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:352)
at java.util.concurrent.FutureTask.setException(FutureTask.java:219)
at java.util.concurrent.FutureTask.run(FutureTask.java:239)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:856)
Caused by: java.lang.NullPointerException
at com.teamsite.android.calendar.task.GetCalendarsTask.java.lang.Void doInBackground(java.lang.Object[])(Unknown Source)
boolean getCalendars()
boolean validateSettings(java.lang.String,java.lang.String,java.lang.String)
void setAccountName(java.lang.String)
void setIgnoreTrustForSSL(boolean)
void setProgress(android.app.ProgressDialog)
at com.teamsite.android.calendar.task.GetCalendarsTask.java.lang.Object doInBackground(java.lang.Object[])(Unknown Source)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask.run(FutureTask.java:234)
... 4 more

@blueleader07

This comment has been minimized.

Show comment
Hide comment
@blueleader07

blueleader07 Jun 21, 2013

Contributor

This was caused by the EWS server returning HTML rather than XML.
The app was expecting XML and therefore crashed.
Logic has been added to handle this scenario and published as version 1.3!

FIXED!

Contributor

blueleader07 commented Jun 21, 2013

This was caused by the EWS server returning HTML rather than XML.
The app was expecting XML and therefore crashed.
Logic has been added to handle this scenario and published as version 1.3!

FIXED!

@ghost ghost assigned blueleader07 Jun 21, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment